rui314

Stars and mentions

Last 30 days, Oct 4 – Nov 2

GitHub stars470
mentions24
03876114152Oct 4Oct 18Nov 2
UTC days · repositories rui314 owns5 repositories

Package downloads

Cumulative recorded downloads

crates.io—
01234Oct 4Oct 18Nov 2No observations in this range
Oct 4crates.io: 0/4 packages observed

Across 4 known packages in repositories rui314 owns. Cumulative totals include recorded downloads before the selected range. Missing observations leave gaps; totals may be incomplete.

Top repositories

rui314’s repositories ranked by new stars, as on trending.

Loading

Contributes to

Repositories outside rui314’s account where rui314 opened or reviewed pull requests in the past 365 days.

Who noticed rui314

Everyone who starred or forked rui314’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

24posts
Nov 31 post
  1. Rust Toolchain Migration: Supercharging Build Times with LLD on Windows Recently, driven by the need to slash compilation and linking times, I migrated the toolchain for my pet Rust project. Previously, the project relied on the battle-tested stable-x86_64-pc-windows-gnu toolchain using the legacy ld linker—a notorious bottleneck responsible for much of Rust's sluggish build reputation on Windows. While the speed payoff of switching to the lld linker was immediate, the transition exposed a labyrinth of subtle, platform-specific hurdles on Windows. Before diving into the migration details, let’s quickly break down the anatomy of how Rust compiles code. !Image description Under the Hood: The Rust Compilation Pipeline If you trace a Rust file from source text to binary, it moves through several sophisticated stages: AST (Abstract Syntax Tree): rustc parses the source code into an AST, where macros are expanded. HIR (High-Level Intermediate Representation): The AST translates into HIR. This is where Rust’s borrow checker flexes its muscles, enforcing memory safety and ownership rules. MIR (Mid-Level Intermediate Representation): The HIR simplifies into MIR, marking the end of rustc's proprietary heavy lifting. LLVM Optimization: The pipeline hands off to the LLVM infrastructure. MIR is translated into platform-agnostic bitcode, where LLVM applies State-Of-The-Art (SOTA) optimizations. (LLVM’s power is precisely why Apple, Google, and massive Linux/Windows ecosystems rely on it). Code Generation & Linking: LLVM generates machine code for specific target architectures, after which linkers bundle system and third-party libraries into the final executable. The Windows Toolchain Maze: GNU vs. GnuLLVM While Rust packages essential LLVM components out of the box, target-specific concerns—like operating system interfaces, C calling conventions, and ABIs—are bound to external packages. The GNU Target (stable-x86_64-pc-windows-gnu): Simply requires MinGW-W64-builds to complete the toolchain pipeline. The GnuLLVM Target (stable-x86_64-pc-windows-gnullvm): Requires standalone LLVM and llvm-mingw. Navigating llvm-mingw can be jarring due to the sheer volume of overlapping binaries. Essentially, stock LLVM builds provide target-agnostic components that aren't inherently tied to MSVC or GNU C conventions. llvm-mingw bridges this gap, translating raw machine code into standard MinGW-compatible formats that Windows can execute. Lessons Learned from the Trenches Taming Windows toolchains is famously painful. It's the primary reason many developers flee to environments like MSYS2 or Windows Subsystem for Linux (WSL). However, because my pet project is a GUI application, native Windows integration is a must, and WSL's graphical UI maturity still introduces friction for native desktop apps. The Golden Rule: Infrastructure upgrades like compiler toolchains should always be treated with extreme caution. Rigorous staging and testing are non-negotiable—never perform radical toolchain experiments blindly in production environments. Bonus: Alternative Paths to Speed If you want to tap into lld's blazing speed without undergoing a full toolchain migration, you can adopt it simply by changing some settings of your projects. Modern alternatives are pushing the boundaries of link-time performance even further. If you are feeling adventurous, check out these next-gen linkers built by hard-core pioneers: mold — A high-performance, modern linker designed to drastically reduce build times. wild — An experimental, incredibly fast linker written in Rust.

  2. Mold linker hits 3.0 with a complete Rust rewrite. A critical build tool choosing memory safety over C++ signals broader ecosystem shifts in systems software. github.com/rui314/mold/releases/tag/v3.0.0 #opensource #Linux

    1 like
  3. hey guys I made mold faster mold#1718 t.co

    18 likes · 1 repost · 473 views
  4. I did an analysis of where time is going in `mold` in my PR, which is close enough to the current state of `main` anyway mold#1696

    5 likes · 215 views
  5. Mold linker 3.0.0: now rewritten in Rust The Mold high-speed linker has released version 3.0.0, completely rewritten from C++ to Rust, superseding 2.42.1. This rewrite aims to make it a default linker in Linux distros, a significant step for core infrastructure.

    7 likes
  6. The author mentions using AI for doing the port.

    9 points
  7. 🦠 Mold: A high-performance drop-in replacement for existing Unix Linkers - Rewritten from C++ to Rust rui314/mold t.co

    34 likes · 6 reposts · 1,124 views
  8. @syrusakbary My plan is to eventually merge this into mold: rui314/mold-macho

    2 likes · 161 views
  9. Apparently the old mold version had a couple of plain C source files in the source tree (both vendored 3rd party libs but also in the 'regular' source code), so technically C/C++ is correct in this case ...and looks like the Rust version also has some (very minimal) C code left (looks like mostly varargs stuff, I guess Rust doesn't have a concept of varargs?), so it could be called a C/Rust project ;) github.com/rui314/mold/tree/main/c

  10. mold is one of the first things I install on all distros already, so this makes me even happier to use it github.com/rui314/mold/releases/tag/v3.0.0

Trending awards, every completed day and week
Gold
01st place finishes
Silver
22nd place finishes
Bronze
13rd place finishes
Awarded repositories
3Owned by rui314 now

Repositories

Ordered by gold, then silver, then bronze.

  1. 8ccBest: 2nd by stars, 560 stars010
  2. moldBest: 2nd by stars, 447 stars010
  3. chibiccBest: 3rd by stars, 565 stars001

Every award

Top-three finishes of these repositories in completed trending days and weeks, newest first.

  1. #2 by starsDaily trending
    447 stars
    mold
  2. #3 by starsDaily trending
    565 stars
    chibicc
  3. #2 by starsDaily trending
    560 stars
    8cc

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.