Completing C code with D style

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Nov 11 17:19:25 UTC 2021


On Thu, Nov 11, 2021 at 01:09:26AM +0000, forkit via Digitalmars-d-learn wrote:
> 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

😂


T

-- 
I am not young enough to know everything. -- Oscar Wilde


More information about the Digitalmars-d-learn mailing list