3 ms·
> You want something more akin to a key–value database, where you can swap out key–value pairs without corrupting the entire file That is kinda my point, we al
by zokier 6y ago
> You want something more akin to a key–value database, where you can swap out key–value pairs without corrupting the entire file
That is kinda my point, we already have one perfectly good kv-database in the form of filesystem, so why not use that
- sergeykish 6y agoDistribution. Convention. We have a lot of container formats. Movie files incorporates video, audio streams, subtitles. MP3 files contains ID3, ID3v2 metadata. JPEG - Exif, PNG - metadata chunks, HTML - <script>, <style>, <meta>. ISO 9660 is a folder. ZIP is a folder with compression. DOCX is ZIP. These can be represented as folders and I would argue some users would like it a lot. We use modules as files in python and ruby, yet it is a problem and docker solves it. Zig specific - I do not think you advise to create library file for each function. As such it'd solve nothing - they'd have to patch libraries. And maybe they already have do that.