A few questions

Yatheendra indra at yath.io
Tue Jun 30 03:45:58 UTC 2020


On Monday, 29 June 2020 at 18:38:45 UTC, Andrei Alexandrescu 
wrote:
>
> A nogc subset would also be nice, but more difficult to define.
Spelling that out was useful. I wasn't thinking of such subsets, 
whose definitions would need a big-picture view. Too ambitious.


> Any attempt to version std or carve subsets thereof would need 
> an early experiment that is relatively easy from a coding 
> standpoint. That way the work can focus on the scaffolding 
> aspects (does lookup work well? how do we do documentation and 
> testing? any incompatibility issues? etc) without getting also 
> mired in new bugs and other technical issues.

What would be a workable way to attempt this? Maybe Boost-like? 
An external d. package which judiciously private-imports std, 
core, etc. It might convince more contributors. I don't know 
about users; this shouldn't look like the OCaml situation (2 
external _replacements_ for its standard library), people who'd 
happily include Boost might be equally happy to import d.

Also, I know libmir is a highly-differentiated tangent, but would 
it hypothetically be what a reorganized Phobos could become? If 
not, it is useful to enumerate which aspects are undesirable in 
Phobos.


More information about the Digitalmars-d mailing list