Comment by hyperbrainer
1 day ago
Unfortunately, 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
1 day ago
Unfortunately, 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
D 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?
On 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.
>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.