Top 4 Zig Compiler Projects
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
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...
-
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.
-
Project mention: Bog – Small, strongly typed, embeddable language | news.ycombinator.com | 2022-04-20
-
Project mention: Lola is a small programming language meant to be embedded into games | news.ycombinator.com | 2022-08-04
Zig Compiler related posts
Index
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 |
Are you hiring? Post a new remote job listing for free.