Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, the Python implementation of Cap'n Proto loads schemas dynamically -- there is no code generator.

However, this is done through a C extension that calls into the C++ implementation. For browser-side Javascript, that's obviously problematic. (Emscripten isn't really the answer -- would be way too large a download.)



> Emscripten isn't really the answer -- would be way too large a download.

Could the emscripten result be slimmed-down?

(I fear the answer is probably “in theory, yes, in practice, it's >100KB”)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: