Phobos 3 Discussion Notes - 02-01-2024

ryuukk_ ryuukk.dev at gmail.com
Sat Feb 3 11:53:05 UTC 2024


On Saturday, 3 February 2024 at 03:49:54 UTC, Adam Wilson wrote:
>> - Phobos with betterC
>
> This is not in the cards. BetterC would seriously constrain the 
> capability of Phobos as we expect to support 
> TypeInfo/ModuleInfo, threading, Dynamic/Associative arrays, and 
> static module constructors/destructors.
>
>> Andrea


What typeinfo/moduleinfo has to do with a networking module in 
the STD for example?

Dynamic array/associative array can be made to work with 
-betterC, i mentioned in my reply above, minimal allocator API in 
`core.memory` make associative array able to change its 
allocator, and build APIs in phobos around allocators and people 
who use betterC will be able to consume phobos without people 
working on phobos having to know/care about betterC

If you care about simplicity and efficiency, obviously








More information about the Digitalmars-d mailing list