Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jakear
on Aug 17, 2019
|
parent
|
context
|
favorite
| on:
Parsing JSON Is a Minefield (2018)
A problem we're finding with those is the massive runtime dependency you get trying to include protobuf in browser.
rapsey
on Aug 17, 2019
|
next
[–]
In that case json can be used as an addon. An optional input/output that a number of protobuff libraries support.
One should keep schema in protocol buffers and encourage its use for all but browsers.
izacus
on Aug 17, 2019
|
prev
[–]
The minimal parser seems to be 6.5kb, which seems significantly smaller than most of other JS dependencies apps use these days.
jakear
on Aug 17, 2019
|
parent
[–]
We make dependencies, so staying small is more important for us than for end-users.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: