4 ms·
https://dlang.org/articles/safed.html https://dlang.org/articles/safed.html check out the safed subset of the D language
by efficax 1y ago
https://dlang.org/articles/safed.html https://dlang.org/articles/safed.html check out the safed subset of the D language
- fithisux 1y agoI second that
- hyperbrainer 1y agoUnfortunately, it seems to use a GC for the safety, which makes it unsuitable for a variety of tasks in the systems programming domain. Seems to me like an alternative to Go more than Rust or C or Zig
- skavi 1y agoD has a “BetterC” subset that depends only on a C runtime. Presumably there is some overlap with the “SafeD” subset. Curious if there are any D users here who try to stay within that intersection?
- ksec 1y ago>it seems to use a GC for the safety, which makes it unsuitable for a variety of tasks in the systems programming domain. That depends. It is really a Hard NO for GC? Crystal is low level enough with a GC and people have written a complete OS with it. On my mobile now so I can't provide link. But it was featured on HN a while ago.
- rurban 1y agoOn the contrary GC is very suitable to systems programming. The bigger problem is guaranteeing concurrency safety, which you can only provide with nonblocking IO. Everybody loves blocks though, so that's far away.