On Tuesday, 22 May 2018 at 16:27:05 UTC, Eduard Staniloiu wrote:
Let the brainstorming begin!
I would like to see a dependency-less Phobos-like library that can be used by the DMD compiler, druntime, -betterC, and other runtime-less/phobos-less use cases. It would have no dependencies whatsoever.
There's a lot of useful stuff in Phobos that does not need to be dependent on other Phobos modules or Druntime. std.meta is the first that likely comes to mind, but then there's also traits, typecons, demangle, etc..
As a contrived illustration, take a look at the code in https://github.com/dlang/druntime/blob/master/src/core/internal/string.d Those same features are also in Phobos.
Such a library would make more D idioms available to the compilers, druntime, and those that are programming runtime-less applications like bare-metal, operating systems, microcontrollers, or libraries used from other languages.
I already started a project at https://github.com/JinShil/utiliD just a few days ago. It'd be great is someone else could do the work instead :-)
Mike
