Hacker News

Newest AI papers, explained for everyone

Hacker News - Mon, 11/18/2024 - 2:10pm

Article URL: https://blog.telepat.io

Comments URL: https://news.ycombinator.com/item?id=42175796

Points: 1

# Comments: 0

Categories: Hacker News

Comparison of Operating Systems

Hacker News - Mon, 11/18/2024 - 2:10pm
Categories: Hacker News

Learn Japanese: A Detailed Guide

Hacker News - Mon, 11/18/2024 - 2:09pm
Categories: Hacker News

Ask HN: Why hasn't the JavaScript event loop model scaled horizontally?

Hacker News - Mon, 11/18/2024 - 1:58pm

Right now, JavaScript scales well with a single-threaded event loop. Certainly not as fast as something like Go for async tasks, but enough to power much of the web and be easy to write.

Why hasn't anyone abstracted the event loop model to scale across multiple machines or utilize modern processors? Perhaps with something more like an Actor model or Erlang's BEAM?

It seems like just getting the JavaScript concurrency model as an abstraction over multicore or multi-machine concurrency would be one of the easiest ways to achieve this. I realize that this is still technically difficult, but programming tends towards "just porting things to JavaScript." I would love to have something like Phoenix framework, just built with JavaScript/TypeScript, and I can scale a back end by bumping size of a machine or scaling horizontally.

Comments URL: https://news.ycombinator.com/item?id=42175678

Points: 1

# Comments: 0

Categories: Hacker News

Pages