Follow

@deavmi Very much yes! Zig works very well when we need to interoperate with C, like for Apache NuttX RTOS

@lupyuen @lupyuen C interop is always fun with whatever language you are doing, I must say.

I had a look at Zig and it definately looks cool. I'm currently quite the heavy D user although I really do have a sweet spot for C, there's a lot you can more easily do in C especially when it comes to things like shared memory and doing it all by hand.

Quite the `mmap()` and `clone()` enjoyer!


I am also working currently on a compiler, started it last year March, all from scratch (no LLVM toolchain at all), for my own purposes. Writing it in D has been nice especially because I could rapidly prototype due to it having a garbage collector (atleast by default). Howeve, the language I am working on will compile to C and will do manual memory management as at my core I prefer it.
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.