Comment on Sometimes I want to call malloc, just as a treat
Ephera@lemmy.ml 11 months ago
Nevermind using such frivolous things as a file system.
Comment on Sometimes I want to call malloc, just as a treat
Ephera@lemmy.ml 11 months ago
Nevermind using such frivolous things as a file system.
bus_factor@lemmy.world 11 months ago
Using a file system is much less bad than dynamically allocating memory, at least as long as you keep a predefined set of files.
troyunrau@lemmy.ca 11 months ago
I hate to alarm you but… What is a file system except dynamically allocated memory. ;)
Redkey@programming.dev 11 months ago
It’s a persistent dynamic memory allocation that’s accessed by multiple processes! :)
bort@feddit.de 11 months ago
multiple processes?!
Image
sunbeam60@lemmy.one 11 months ago
And indeed, with memory mapped files the distinction almost disappears completely.
kevincox@lemmy.ml 11 months ago
…with predefined sizes located in predefined regions of storage.
bus_factor@lemmy.world 11 months ago
Yeah, that’s what I was implying, just didn’t want to write a whole novel about it.