Add the NASM assembler as a dependency to a Zig project's build.
Also build ndisasm alongside NASM if you need to disassemble machine code.
Track an unmodified upstream NASM source packaged with a Zig build configuration.
| allyourcodebase/nasm | atasoya/carbonara | al3rez/zehn | |
|---|---|---|---|
| Stars | 18 | 19 | 15 |
| Language | Zig | Zig | Zig |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing Zig project set up to consume it as a package dependency.
This repository packages NASM, the Netwide Assembler, so it can be built and used through the Zig build system. NASM itself is a well known assembler for x86 and x86-64 machine code, and this project does not change what NASM does, it just makes it easy to pull into a Zig based project as a dependency. By default, building this package gives you the nasm command line tool. There is also an option to enable ndisasm, a companion disassembler tool that comes bundled with NASM, if you need it. The README notes that an earlier version of this repository worked differently: it forked NASM's source code and replaced its build system entirely with Zig's. That approach has been dropped in favor of pulling in the original, unmodified NASM source and only adding a Zig build configuration around it, keeping the actual NASM code clean and up to date with upstream. The old approach is preserved in a separate branch for anyone who needs to reference it, and the README points to the project's issue tracker for more background on why the change was made. Beyond that, the README is minimal. It does not describe build commands or usage examples beyond noting it is a Zig package, since the expectation is that users already familiar with Zig's package manager will add it as a dependency in their own project. The project is released under the MIT License.
A Zig package that lets you pull the NASM x86 assembler into your Zig project as a build dependency.
Mainly Zig. The stack also includes Zig, NASM.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.