| ▲ | giancarlostoro 14 hours ago | |||||||||||||
Syntax aside, how does this compare to Nim? Nim does similar, I think Crystal does as well? Not entirely sure about Crystal tbh. I guess Nim and Vala, since I believe both transpile to C, so you really get "like C" output from both. | ||||||||||||||
| ▲ | archargelod 2 hours ago | parent | next [-] | |||||||||||||
From what I see, Zen-C aims to be "C with super-powers". It still uses C pointers for arrays and strings. It transpiles to single human-readable C file without symbol mangling. No safety. Not portable (yet?). Nim is a full, independent modern language that uses C as one of its backends. It has its own runtime, optional GC, Unicode strings, bounds checking, and a huge stdlib. You write high-level Nim code and it spits out optimized C you usually don't touch. Here’s a little comparison I put together from what I can find in the readme and code: | ||||||||||||||
| ▲ | bloovis 12 hours ago | parent | prev | next [-] | |||||||||||||
Crystal compiles directly to object code, using LLVM. It does provide the ability to interoperate with C code; as an example, I use this feature to call ncursesw functions from Crystal. | ||||||||||||||
| ▲ | jdc0589 13 hours ago | parent | prev | next [-] | |||||||||||||
man I haven't heard anything about Vala in ages. is it still actively developed/used? how is it? | ||||||||||||||
| ||||||||||||||
| ▲ | lgunsch 12 hours ago | parent | prev [-] | |||||||||||||
I was also going to mention this reminds me of Vala, which I haven't seen or heard from in 10+ years. | ||||||||||||||
| ||||||||||||||