Zig Compiler

Open-source Zig projects categorized as Compiler Edit details

Top 4 Zig Compiler Projects

  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

    Project mention: Will Bun JavaScript Take Node's Crown | news.ycombinator.com | 2022-08-14

    It really isn't that much different though. After skimming through the source code of Zig, you can see that well over 90% of the code is OS independent.

    Not only that, it looks like they do have windows support and it's just failing atm. It also looks like they have cleanly separated all OS functionality from the logic. This is where it looks like the majority of the OS dependent code lives[0], and the implementation for this is 1000 lines of code. So clearly, it looks like it shouldn't take more than a few hours to get even a programming language up and running when porting it.

    Further, it looks like they're using the cpp stdlib to assist with some OS dependent functions[1]. They're clearly using at least:

    * std filesystem

    * std future

    * std iostream

    * std mutex

    * std thread

    * std atomic

    And more. So if you're being smart about things, which it looks like the developers most certainly are, then you don't need to reinvent 90% of the OS dependent code and can instead use the stdlib that already exists to automagically get that functionality.

    [0]: https://github.com/ziglang/zig/blob/master/src/stage1/os.hpp

    [1]: https://github.com/ziglang/zig/blob/a9c4dc84f487c4764c578743...

  • arocc

    A C compiler written in Zig.

    Project mention: Embedded C Coding Standard | reddit.com/r/C_Programming | 2022-06-22

    Bit field rules are underspecified or plain wrongly implemented, because in their edge cases clang and GCC differ in semantics. See https://github.com/Vexu/arocc/issues/178 This should be further restricted with static asserts as compiler semantics even changed with versions and doing this manually/doing code review is error prone.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • bog

    Small, strongly typed, embeddable language.

    Project mention: Bog – Small, strongly typed, embeddable language | news.ycombinator.com | 2022-04-20
  • LoLa

    LoLa is a small programming language meant to be embedded into games. (by MasterQ32)

    Project mention: Lola is a small programming language meant to be embedded into games | news.ycombinator.com | 2022-08-04
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-08-14.

Zig Compiler related posts


What are some of the best open-source Compiler projects in Zig? This list will help you:

Project Stars
1 zig 16,961
2 arocc 376
3 bog 169
4 LoLa 117
Find remote jobs at our new job board 99remotejobs.com. There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives