Completing C code with D style

forkit forkit at gmail.com
Thu Nov 11 01:09:26 UTC 2021


On Thursday, 11 November 2021 at 00:11:07 UTC, H. S. Teoh wrote:
> On Wed, Nov 10, 2021 at 11:39:40PM +0000, forkit via 
> Digitalmars-d-learn wrote: [...]
>> I still remember compiling code on my 286x86 ... talk about 
>> low memory..whoaaah.
>
> ...
> But if you're in a time-constrained inner loop, you do *not* 
> want to be allocating memory without a second thought, lest you 
> provoke the ire of the GC and get a stop-the-world pause in the 
> wrong moment.  E.g., when your radiotherapy dosage controller 
> is just about to shut off the radiation beam, and the extra 
> pause can mean death from overdose. :-P
> ..


Silly me.. if only I had used v2.098.0 ... I might still be alive.

https://dlang.org/changelog/2.098.0.html#forkgc





More information about the Digitalmars-d-learn mailing list