from Hacker News

Ask HN: Readings to more deeply understand JavaScript?

by hnthrow10282910 on 11/20/22, 3:55 PM with 5 comments

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.

  • by e1g on 11/20/22, 9:01 PM

    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.

  • by alexdowad on 11/20/22, 7:02 PM

    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.

  • by Raed667 on 11/20/22, 5:08 PM

    Build things, get stuck, read the docs, build more things, repeat.
  • by majortennis on 11/20/22, 10:40 PM

    anything by kyle simpson