News for hackers. Stuff that matters.
Re:Swift is a more convenient Rust by atombender on Saturday January 31, 2026 @07:31PM (#46842414)
Having my app consume 300GB of virtual memory after running for a week is not ideal.
Re:Swift is a more convenient Rust by piperswe on Saturday January 31, 2026 @07:49PM (#46842523)
Is it actually resident or is it just mapped but unused?
Re:Swift is a more convenient Rust by atombender on Saturday January 31, 2026 @07:52PM (#46842538)
It does not count under private memory, so I assume mapped but unused. The last time I asked Claude, it said confidently it was a bug in Swift's networking stack, which I doubt.
Re:Swift is a more convenient Rust by DrewADesign on Saturday January 31, 2026 @08:37PM (#46842796)
That’s the great thing about indiscriminately scraping the internet for knowledge.

I’ll bet Claude was channeling some Reddit guru dripping with swagger born from knowing their understanding of coding is far more advanced than most big-shots in the field— especially impressive because they only wandered into /r/LearnProgramming for the first time several months prior.

Re:Swift is a more convenient Rust by stavros on Saturday January 31, 2026 @09:37PM (#46843099)
This guru's comment probably started with "I'll bet" too.
Re:Swift is a more convenient Rust by DrewADesign on Saturday January 31, 2026 @09:43PM (#46843142)
I see what you did there.
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.
Re:Swift is a more convenient Rust by saagarjha on Sunday February 01, 2026 @04:29AM (#46844802)
Swift does not really have a networking stack
Re:Swift is a more convenient Rust by codr7 on Sunday February 01, 2026 @02:16PM (#46848521)
I've been out of the feature factory loop for a little while, but something tells me reviewing PRs is more entertaining these days.