News for hackers. Stuff that matters.
Re:Cello – High Level C by eternityforest on Saturday March 05, 2022 @03:15AM (#30565515)
How does this perform on larger embedded systems where you have a fair amount of memory but no Rust toolchain with good support?

Could it possibly be useful there?

I suspect just using a tiny Lua/JS/Python would be better but maybe in some super niche case this could have a use. Probably not though.

Re:Cello – High Level C by auxym on Saturday March 05, 2022 @07:24AM (#30566901)
Nim compiles to C and therefore should be able to run on anything which has a C compiler available.

To my knowledge it's been demonstrated on AVR, ARM Cortex-M and ESP32.

It's macro system comes in handy for embedded, too, as you can precompute so much stuff at compile time.

Re:Cello – High Level C by eternityforest on Saturday March 05, 2022 @04:01PM (#30571827)
Oh yeah, I forgot about that awesome Nim feature. Kinda surprised Nim isn't 10x bigger than Zig and Go
Re:Cello – High Level C by anta40 on Saturday March 05, 2022 @08:48PM (#30574171)
Why comparing Zig with Nim, though?

I think Nim has quite nice standard library and production-ready. Zig, on the other side, is still highly experimental.