top | item 46842538

(no title)

atombender | 29 days ago

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.

discuss

order

DrewADesign|29 days ago

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.

stavros|29 days ago

This guru's comment probably started with "I'll bet" too.

piperswe|29 days ago

Mapped but unused memory is imaginary (at least, on modern UNIX systems). It's not actually using any physical RAM.

atombender|29 days ago

That is true, but I don't see other applications consuming ever-increasing amounts of virtual memory, so to me it suggests a bug.

junon|29 days ago

Well, depends. Not always zero but in a good implementation not more than a few bytes per allocation, at most (if not zero).

saagarjha|29 days ago

Swift does not really have a networking stack

codr7|28 days ago

I've been out of the feature factory loop for a little while, but something tells me reviewing PRs is more entertaining these days.