TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Anyone has built there own file file-format?

1 pointsby chinmaysover 5 years ago

4 comments

ktpsnsover 5 years ago
This question is really not specific.<p>In scientific and high performance computing, people are regularly inventing new file formats. Many of these decisions also follow paradigms such as &quot;We don&#x27;t like XML nor complexity, so let&#x27;s do as if it was 1980 and serialise these data as ASCII one datum per line&quot;.<p>Don&#x27;t forget that your viewpoint comes from your community. If you are a CAD person, you probably never use JSON. If you do data research, you probably never use XML. If you do hardware development, you probably open any file with a hex editor anyway just because data is usually some bitstream for you.
zzo38computerover 5 years ago
I have designed some file formats for some programs. But your question is not specific enough, I think.
mattbillensteinover 5 years ago
I generally use json - inter-operable with almost any language.<p>Use line-delimited json (jsonl) if you need to store lots of records in a single file -- gzip that file if size is important. foo.json.gz is a common data interchange format supported in data warehousing systems and the like.
fuzzfactorover 5 years ago
For scientific data acquisition I extended an extendable standard format and collect data to the files real-time while displaying the signal. It&#x27;s not as easy as it sounds.
评论 #21729358 未加载