News for hackers. Stuff that matters.
Re:How is Ultrassembler so fast? by vlovich123 on Sunday August 31, 2025 @10:34PM (#45088913)
> Additionally, in C++, requesting that heap memory also requires a syscall every time the container geometrically changes size

That is not true - no allocator I know of (and certainly not the default glibc allocator) allocates memory in this way. It only does a syscall when it doesn’t have free userspace memory to hand out but it overallocates that memory and also reuses memory you’ve already freed.

Re:How is Ultrassembler so fast? by idiomat9000 on Monday September 01, 2025 @10:21AM (#45092882)
Wasn't there also over allocate for the first geometric expansion and mark the 2nd as for space for likely shortlived objects?