3 ms·
Sorry, but I think you are turning small hurdles into roadblocks in your mind. It is certainly possible to store data structures directly inside files (I think
by amelius 4y ago
Sorry, but I think you are turning small hurdles into roadblocks in your mind.
It is certainly possible to store data structures directly inside files (I think MS Word did this to save documents), but indeed you have to think carefully about type safety but also data alignment, offsetting and such, and perhaps cryptographic signatures to make it secure when needed, which is what library/language designers need to think about to make it easier for programmers to use this stuff. Sure, it won't be adequate in all situations, but that's not what I'm asking for.