Phobos 2

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 2 19:16:16 PDT 2017


On Friday, 2 June 2017 at 20:37:05 UTC, H. S. Teoh wrote:
> Especially the bit about throwing away years of accumulated 
> programming work.

Our IRC discussion was more about simplifying the Phobos 
interface through breaking changes than actually just dropping 
and rewriting. Most the "phobos 2" would just be today's phobos 
with mistakes changed, autodecoding deprecated then removed, 
eager functions same deal (the discussion that started it was 
split vs splitter), static array interfaces removed (you'd have 
to explicitly slice at the call site instead of Phobos trying to 
two-layer ref them), etc.

So step one of this would be to copy existing code. Then cut the 
mistakes out.

The modified modules are just given a new package name (or 
something) to ease the transition.


More information about the Digitalmars-d mailing list