zld
zig
Our great sponsors
zld | zig | |
---|---|---|
10 | 816 | |
1,178 | 30,631 | |
- | 5.2% | |
4.9 | 10.0 | |
about 1 year ago | 5 days ago | |
C++ | Zig | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zld
-
Mold Linker v1.9.0 release
Well sold has a few extra features, namely macOS support, so I assume if you're a developer on a MacBook, and you want to link faster, you'd need to use sold. Although to be honest, I didn't see much difference between soldon macOS and zld.
- zld: A faster version of Apple's linker
- Chaging Cargo Linker in M1 macs
-
Any tips to improve the build time Rust under MacM1::Docker?
Have you tried zld (https://github.com/michaeleisel/zld) for linking?
-
Best central processing unit for compiling Rust in 2022
The default linker is single-threaded so, unless you're on a platform where you can use a fancier multi-threaded linker like mold or zld, single-core performance will dominate for the final linking step.
-
Improve build times for a medium-sized team working on one project?
- If it's not a release build that needs to be verified-good, consider using `mold` to link your builds and test binaries: https://github.com/rui314/mold --- it is much faster than lld or gold. For mac users there is https://github.com/michaeleisel/zld but mostly if you care about build times you need to get off macOS somehow.
-
Hacker News top posts: Jun 6, 2021
Zld: Drop-in, faster version of Apple's linker\ (0 comments)
- Zld: Drop-in, faster version of Apple's linker
-
Reducing Rust Incremental Compilation Times on macOS by 70%
There is also zld (https://github.com/michaeleisel/zld) which might get you a further speed up.
-
Mold: A Modern Linker
as an alternative linker for Rust as an example:
https://github.com/michaeleisel/zld#if-using-rust
zig
-
Memory-mapped IO registers in Zig. (2021)
There is an issue proposing this approach: https://github.com/ziglang/zig/issues/4284
- Zig Programming Language
- Zig Language 0.12 Release
-
Zig 0.12.0 Release Notes
https://github.com/ziglang/zig/issues/224
e.g.:
> > When debugging/prototyping, it's useful to comment out a line without having to refactor, e.g.
-
How to Write a PHP Extension with Zig?
When writing code in a scripting language, sometimes you need that extra bit of performance (or maybe an async feature from Zig).
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
NodeJS is by no means a slow runtime, it wouldn’t be so popular if it was. But compared to Bun, it’s slow. Bun was built from the ground up with speed in mind, using both JavascriptCore and Zig. The Bun team spent an enormous amount of time and energy trying to make Bun fast, including lots of profiling, benchmarking, and optimizations.
-
Bun 1.1
ntdll.dll!RtlUserThreadStart()
There are valid reasons to use APIs from NTDLL. Where I disagree with zig#1840 is the idea that it is always better to use NTDLL versions of API. Every other software ecosystem uses the standard Win32 APIs and diverging from that without a good reason seems like a good way to have unexpected behavior. One concrete example is most users and programmers expect Windows to redirect some file system paths when running on WOW64. But this is implemented in Kernel32, not ntdll.
https://github.com/ziglang/zig/issues/11894
- Zig, Rust, and Other Languages
-
Nanos – A Unikernel
Zig also has an IRC channel on libera (#zig) that is moderated by Andrew Kelley.[1]
[1] https://github.com/ziglang/zig/wiki/Community
- Ask HN: What Underrated Open Source Project Deserves More Recognition?
What are some alternatives?
mold - Mold: A Modern Linker 🦠
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
rust-analyzer - A Rust compiler front-end for IDEs
Odin - Odin Programming Language
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
Cargo - The Rust package manager
rust - Empowering everyone to build reliable and efficient software.
cachepot - cachepot is `sccache` with extra sec, which in turn is `ccache` with cloud storage
go - The Go programming language
city-roads - Visualization of all roads within any city
ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!