Zig Language 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...
-
Project mention: Lola is a small programming language meant to be embedded into games | news.ycombinator.com | 2022-08-04
-
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.
Zig Language related posts
Index
Are you hiring? Post a new remote job listing for free.