Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I dislike the command-line format of Hop; it seems to missing many features.

I agree 100%. I wrote most of it in like three hours; it's not a polished product.

> My own opinion for the general case is that I like to have concatenable format with separate compression (although this is not suitable for all applications). One way to allow additional features might be having an extensible set of fields, so you can include/exclude file modes, modifications times, numeric or named user IDs, IBM code pages, resource forks, cryptographic hashes, multi-volumes, etc. (I also designed a compression format with a optional key frame index; this way the same format supports both solid and non-solid compression, whichever way you want to do, and this can work independently from the archive format being used.)

I'm wary of slowing it down by adding lots of features. I think that, generally speaking, _more_ purpose-built binary formats should exist.

Engineers do this all the time with YAML files and JSON, but why not binary files?



> I'm wary of slowing it down by adding lots of features. I think that, generally speaking, _more_ purpose-built binary formats should exist.

It is a valid point, yes. However, my mention was meant to mean that unknown fields can be easily skipped.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: