logoalt Hacker News

malispertoday at 11:07 AM1 replyview on HN

Rust actually made the change pretty simple. The main changes are:

  - Use thread local variables
  - Move everything from shared memory to process memory
  - Use threads instead of processes
I've started to see meaningful benefits by changing the parallel algorithms to use a shared memory space. For example parallel hash joins have to copy tuples through shared memory to pass them between workers. That's just not something I have to do.

Replies

Apaectoday at 12:44 PM

Did you use an LLM to reply to these comments too?