The Future of D Runtime

Adam Wilson flyboynw at gmail.com
Sun Jun 9 03:10:26 UTC 2024


On Friday, 7 June 2024 at 01:23:03 UTC, Walter Bright wrote:
> Is relying on the C runtime library really a problem? It's 
> probably the most debugged library in history, and it's small 
> and lightweight.

For example, let's say you want to do some asynchronous I/O. 
Forget the CRT, it just doesn't do that. So off you go to the 
system API's anyways. Or kludges like Photon. (Don't get me 
wrong, Photon is a very cool piece of work, but the nature of 
it's implementation means that it suffers from the inherent 
limitations and drawbacks of fibers, and does so in a highly 
obfuscated way.)

The point is more that if we want to do useful things in the 
modern world that exists beyond the CRT, then we have to work 
around it, and if we have to work around it anyways, why are we 
using it at all?

If you go with the System API's the world is your oyster. Yes, 
there is more work upfront, but the number of capabilities we 
would be able to enable is immense.


More information about the Digitalmars-d mailing list