Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 46 min 8 sec ago

Comparison of Operating Systems

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

Learn Japanese: A Detailed Guide

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

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

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

Reinforcement Learning Journal

Mon, 11/18/2024 - 1:10pm

Article URL: https://rlj.cs.umass.edu/

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

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Kamal Handbook, 2nd Edition

Mon, 11/18/2024 - 1:05pm

Hi fellow readers of HN,

I made a new edition of Kamal Handbook to address the big leap of changes from Kamal 2. A lot had to be rewritten and I made the book even a bit longer and better as much as I could.

Kamal is an imperative deployment tool. It's basically a successor to Capistrano, but for a container era. Kamal 2 is solving the main painpoints people had with version 1:

- auto SSL for single-server deployments - multiple apps on a single-server - unifying ENV management with 'kamal deploy' - faster deploys

I really believe that Kamal is now a better option than Docker Compose or Dokku, perhaps even than Kubernetes (use-case provided).

Compared to my previous HN announcement of the first edition mentioning 300 sales, I now crossed 1000+ sales on Gumroad.

I cut a new preview for SHOW HN again here: https://kamalmanual.com/handbook/first-deploy-preview.pdf

Josef

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

Points: 1

# Comments: 0

Categories: Hacker News

Pages