D with minimal runtime

Walter Bright newshound2 at digitalmars.com
Mon Jun 15 10:07:10 UTC 2020


On 6/15/2020 3:01 AM, IGotD- wrote:
> I'm looking for a minimal druntime too. Right now it is all or nothing for 
> druntime and it expect a full rich OS. There have been talks to partion druntime 
> better so that you can incremental support, for example leave networking out if 
> you want to. Also right now for all operating systems, druntime depends on clib 
> itself. Nim has a compiler switch -os:any which means that the runtime will only 
> depend on clib which makes it very portable. That would have been nice in 
> druntime too.

Since druntime is a library, only the functions actually referenced are pulled 
out of the library when linking.


More information about the Digitalmars-d mailing list