2 ms·
What does D offer over OCaml or any other ML-family language? I never really got what its selling point was at the time - "compile-time reflection" sounds like
by lmm 6y ago
What does D offer over OCaml or any other ML-family language? I never really got what its selling point was at the time - "compile-time reflection" sounds like the worst of both worlds (but I guess it means something akin to typeclass derivation?), and the idea that it could kinda-sorta work without GC was never really explained clearly enough.
- voldacar 6y agoD shouldn't really be compared to ML. D is really just a reimagined C++, free of a lot of C++'s absurdity and incoherence
- lmm 6y agoBut I'm not looking for "a reimagined C++". I'm looking for "a programming language". What is the question for which "a reimagined C++" is the answer? (Maybe a language for use in environments where GC is not acceptable, but D fails to make a convincing case that it is such a language).
- giancarlostoro 6y agoD lets you do away with the GC and is working on a borrow checker type system like in Rust.
- lmm 6y ago> D lets you do away with the GC But you can't use the standard library if so, right? Or rather you can use some parts of the standard library but not others, and some third-party libraries but not others? It was never clearly explained what does and doesn't require GC. > and is working on a borrow checker type system like in Rust. But it only started work on that after Rust became established. So why wouldn't I just use Rust, which has a borrow checker I can use today?