Login
You're viewing the ruby.social public feed.
  • Seancomplexmath@hachyderm.io
    Nov 23, 2026, 6:16 PM

    @neku42 You know, one thing with the D runtime that I wish people had cared more about is that it's actually three distinct libraries with well-defined interfaces between them--the compiler runtime, the garbage collector, and a small set of core standard library features like the thread implementation (because the GC needs to know about threads, etc). With the way it's set up, the selection of a garbage collector could be a link-time decision, and a compiler writer could drop in their own compiler runtime without having to fuss with threading or garbage collection at all, making for a clear separation of concerns for implementers. Initially, the runtime literally shipped as three separate libraries, but no one wanted to deal with it so I wound up bundling them into one as a packaging step. So like if you look at the LLVM D implementation it clones the entire standard library (last I checked) even though it doesn't need to.

    💬 0🔄 1⭐ 2