惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
B
Blog RSS Feed
L
LangChain Blog
Jina AI
Jina AI
爱范儿
爱范儿
C
Check Point Blog
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
月光博客
月光博客
GbyAI
GbyAI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Stack Overflow Blog
Stack Overflow Blog
V
V2EX
A
About on SuperTechFans
有赞技术团队
有赞技术团队
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题

HN's home page

Rainbow Query Language | Hacker News Exec into Node via Kubectl An AI native hedge fund The Seven-Action Documentation Model | Hacker News Package Manager for Kubectl Plugins Tongan Castaways | Hacker News Tech overlords plan for conscious AI to conquer the cosmos. What could go wrong? Data Breach Disclosure Lag Is Getting Worse How LLMs Work | Hacker News I Dropped PRDs for Shape Up Go Experiments Explained | Hacker News FCA's Palantir deal could expose UK financial data to Trump's US, critics fear WebXR BCI for Neural-Adaptive Avatar Control in Mixed Reality The first murder conviction via DNA analysis Tom Interviews Theo de Raadt of the OpenBSD Project (2019) [video] Show HN: Replace shell commands with bun shell typescript scripts Quay.io Is Down | Hacker News AI driven analysis of brokerage account fees in the UK Bill Gates Spent Years Crafting His Image. Now It's Cracking Using LLMs to secure source code Wi-Fi 8 in the Lab [video] The household battery revolution that could change energy bills and the world Is Python Becoming Pinyin? | Hacker News Livia – Executive Assistant | Hacker News FindMyPipe – Query Apple Find My from Linux for AI Agents Show HN: Agent skill for creating product launch videos with Remotion RecruitMyself – AI job search copilot for resumes and applications AI coding agents and the erosion of system understanding The 'Resting' Generation and South Korea's Youth Recession AMD Computex 2026: 10 Years of AM4, AM5 Support Through 2029
Show HN: bote - A fast, modern and low-memory approach to...
jankdc · 2026-06-19 · via HN's home page

Hi HN :)

Long time lurker here.

As the title states, I made a library to process and validate a massive JSON in Node.js where using JSON.parse() means saying hello to OOM.

It came from an unfortunate situation at work where we had no control over the data and can't change the format to something that's easy to stream. Therefore, processing it meant dealing with a high memory footprint in our pods, which I thought was a bit wasteful, since we only really needed some parts of the data and we didn't need to load the whole thing in memory. There are JSON streaming libraries available but it wasn't really to my taste (e.g. SAX-style, callbacks) and it doesn't flow how I like my code to look.

I left that job 6 months ago but the idea still lingered so after loads of mistakes with parsing, SIMD, binary encodings, FFI performance hits and general API design, I've finally arrived at something I'm proud of. I'll write a blog about the journey at some point since I think it's interesting.

It's at pre-1.0 at the moment and would really appreciate feedback. I've tried to really hard to minimize the API surface to make it simple. Please have a look.

Disclaimer:

I wrote this with the help of AI but made sure I was on the wheel before pushing code. Granted, there were times I just went LGTM like a Friday morning PR but those usually come back to bite you so I try not to.