Is there an affinity to use the ZIG programming language for BSD OS development as well as RUST?
I'm in the middle of gradually rewriting the system C code of my hobby OS to ZIG code. I'm very happy with the "results" and easy implementation of Zig compilation unit to C/C++ projects...
The purpose is to demonstrate that you can use zig to compile a nim-file or chicken-scheme-file to an executable.
Start by installing nim,zig,chicken-scheme:
pkg install nim
pkg install zig
pkg install chicken5
Create a file written in nim language named "hello.nim" with contents:
echo...
Zig seems like a near ideal combination of C++, D and Rust. Ziglang:
works around C
has many safety and checking features of Rust
syntax is C like and is simpler than C++ and Rust
made for portability
dependencies are simple: cmake, llvm12, ninja
MIT licensed
Hopefully lang/zig or something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.