HACKER Q&A
📣 hnthrow10282910

Readings to more deeply understand JavaScript?


I’m looking for recommended readings to more deeply understand JavaScript. In particular, things like Cloudflare Workers, their internals, build systems, etc.

I’ve been coding in JS for years, but would like to dive a bit deeper into the ecosystem around it.


  👤 e1g Accepted Answer ✓
For JS in general: anything from https://2ality.com - articles, books, walk-throughs, etc. Axel is thorough and systemically reconstructs complex topics from core building blocks.

For Cloudflare Workers specifically: first, learn regular Web Workers, then read everything from kentonv who's the tech lead for CF Workers, and a user here. He's written many (disjointed) pieces on Workers both here on HN and on the CF community board. Additionally, Cloudflare Developers Discord (https://discord.com/invite/cloudflaredev) has a very active channel for Workers with people discussing implementation details and edge cases.


👤 alexdowad
If you want to know JS deeply, I think reading the EcmaScript language specification is a very good step. I've read through it before; it's quite long but not overly difficult reading.

Studying the source code for a JS implementation is also a good step. QuickJS is a good one.


👤 Raed667
Build things, get stuck, read the docs, build more things, repeat.

👤 majortennis
anything by kyle simpson