News for hackers. Stuff that matters.
Re:Swift is a more convenient Rust by piperswe on Saturday January 31, 2026 @08:54PM (#46842883)
Mapped but unused memory is imaginary (at least, on modern UNIX systems). It's not actually using any physical RAM.
Re:Swift is a more convenient Rust by junon on Saturday January 31, 2026 @09:18PM (#46843003)
Well, depends. Not always zero but in a good implementation not more than a few bytes per allocation, at most (if not zero).
Re:Swift is a more convenient Rust by atombender on Sunday February 01, 2026 @08:32AM (#46846098)
That is true, but I don't see other applications consuming ever-increasing amounts of virtual memory, so to me it suggests a bug.