TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 chinmays超过 5 年前

4 条评论

ktpsns超过 5 年前
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.
zzo38computer超过 5 年前
I have designed some file formats for some programs. But your question is not specific enough, I think.
mattbillenstein超过 5 年前
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.
fuzzfactor超过 5 年前
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 未加载