跳到正文
数字商店
原文
John Carmack· @ID_AA_Carmack · X·· 2026-10-24AI 评分14
AI 导读

这看起来真的很简洁!自动分析、使用多个数据栈以及可调整大小的字段,让这件事从“很多工作可以这样做”变成了“基本上什么都能这样做”。 相对引用和内置的二进制结构校验还能实现数据结构的直接内存映射,以及网络数据的即时使用。“解析”文件和网络数据的耗时,常常比实际需要的慢 100 倍。

正文

That looks really neat! The automatic analysis and use of multiple data stacks and resizable fields takes it from "lots of work can be done this way" to "basically everything can be".

The relative references and built in binary structure validation also enable direct memory mapping of data structures and immediate use of network data. "Parsing" file and network data is often 100x slower than it needs to be.

来源:John Carmack · x.com