5 ms·
Isn't it garbage-collected? Seems more like Go than C. Nim and D also I think are not particularly C-like unless you use some custom compiler settings. And Ha
by nerdponx 3y ago
Isn't it garbage-collected? Seems more like Go than C.
Nim and D also I think are not particularly C-like unless you use some custom compiler settings.
And Haskell belongs nowhere near this list. Or is Gambit Scheme also "C-like"?
- frfl 3y agoI should not have included Haskell, more than a stretch.
- j-james 3y agoNim is particularly C-like. The automatic memory management is optional and exposes destructors, it exposes pointers and is quite usable on embedded systems (see: Futhark, Ratel), there are a wide variety of design decisions made to ease interop with C... I do not know about D.
- frfl 3y agoD has something called "Better C" [1], that's why I mentioned it. [1]: https://dlang.org/spec/betterc.html https://dlang.org/spec/betterc.html