Libbbf: Bound Book Format, A high-performance container for comics and manga
21–30 of 66 posts
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#22The aspect of integrity checking speed in a saturated context (N workers, regardless if its multiple workers per file, or a worker per file), CRC32(C) seems to be nearly twice as fast https://btrfs.readthedocs.io/en/latest/Checksumming.html
ZIP can also support arbitrary metadata.
I think this could have all been backported to ZIP files themselves
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#23https://www.reddit.com/r/selfhosted/comments/1qi64pr/i_got_i...
"I got into an argument on Discord about how inefficient CBR/CBZ is, so I wrote a new file format. It's 100x faster than CBZ."
It has some charts, notes and comments
Here's the old.reddit link: https://old.reddit.com/r/selfhosted/comments/1qi64pr/i_got_i...
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#24Honest question, something I don't understand, if you use DirectStorage to move images directly to the GPU (I assume into the VRAM) where the decoding take place? directly on the GPU? Can GPU decode PNG? it is very unfriendly format for GPU as far as I know
So the whole DirectStorage thing is just a nothingburger. The author glosses over the fact that decoding images on GPU is not possible (or at least very impractical).
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#25Earlier quoted context omitted.
Zip also has per-asset checksums, contrary to the comparison table. And what's the point of aligning the files to be "DirectStorage-ready" if they're going to be JPEGs, a format that, as far as I know, DirectStorage doesn't understand? And the author says it's a problem that "Metadata isn't native to CBZ, you have to use a ComicInfo.xml file.", but... that's not a problem at all? The whole thing makes no sense.
It makes no sense because it's some degree of AI slop: https://reddit.com/r/selfhosted/comments/1qi64pr/i_got_into_... Note that he doesn't quite say, when asked pointblank how much AI he used in his erroneous microbenchmarking, that he didn't use AI: https://reddit.com/r/selfhosted/comments/1qi64pr/i_got_into_... Which explains all of it. Kudos to /u/teraflop, for having infinitely more patience with this than I wou…
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#26> Footer indexed So, like ZIP? > Uses XXH3 for integrity checks I don’t think XXH3 is suitable for that purpose. It’s not cryptographically secure and designed mostly for stuff like hash tables (e.g. relatively small data).
Neither is CRC32. I'm pretty sure xxhash is a straight upgrade compared to CRC32.
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#27I use CBZ to archive both physical and digital comic books so I was interested in the idea of an improved container format, but the claimed improvements here don't make sense. --- For example they make a big deal about each archive entry being aligned to a 4 KiB boundary "allowing for DirectStorage transfers directly from disk to GPU memory", but the pages within a CBZ are going to be encoded (JPEG/PNG/etc) rather th…
Do LLMs perform de/serialization by casting C structs to char-pointers? I would've expected that to have been trained out of them. (Which is to say: lots of it is clearly LLM-generated, but at least some of the code might be human.)
Anyway, I hope that the person who published this can take all the responses constructively. I know I'd feel awful if I was getting so much negative feedback.
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#28Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#29A multi-resolution image format would make more sense than optimizing the archive format. There would also be room for additional features like multi-language support, searchable text, … that the current "jpg in a zip" doesn't handle (though one might end up reinventing DJVU here).
Re: Libbbf: Bound Book Format, A high-performance container for comics and manga
#30Earlier quoted context omitted.
It makes no sense because it's some degree of AI slop: https://reddit.com/r/selfhosted/comments/1qi64pr/i_got_into_... Note that he doesn't quite say, when asked pointblank how much AI he used in his erroneous microbenchmarking, that he didn't use AI: https://reddit.com/r/selfhosted/comments/1qi64pr/i_got_into_... Which explains all of it. Kudos to /u/teraflop, for having infinitely more patience with this than I wou…
That whole subreddit has unfortunately become inundated with AI slop. It used to be a decent resource to learn about what services people were self hosting. But now, many posts are variations of, “I’ve made this huge complicated app in an afternoon please install it on your server”. I’ve even seen a vibe-coded password manager posted there. Reputable alternatives to the software posted there exist a a huge amount of…
https://old.reddit.com/r/selfhosted/comments/1qfp2t0/mod_ann...