News for hackers. Stuff that matters.
Re:The Neat Programming Language by naasking on Tuesday December 26, 2023 @11:05AM (#38772926)
> It wasn't the norm until Go focused on it though

It's still not the norm, but the point is that those were available

> and "sub milliseconds" is not a high bar. Malloc is much much faster than that.

Malloc is not guaranteed to return in that time frame. The sub-millisecond latency of these GCs is a real-time guarantee.

Re:The Neat Programming Language by IshKebab on Tuesday December 26, 2023 @01:31PM (#38774459)
> Malloc is not guaranteed to return in that time frame

No but in practice it always does.

Re:The Neat Programming Language by naasking on Wednesday December 27, 2023 @09:16AM (#38782080)
It doesn't though, which is why malloc is rarely used in embedded and realtime systems.