News for hackers. Stuff that matters.
Re:Which Machines Do Computer Architects Admire? (2013) by pdimitar on Wednesday January 08, 2020 @04:20PM (#21995920)
I reached the same conclusion. We need a way to be able to explicitly say "this piece of code here is a standalone unit that is independent of everything else until we have to coalesce results of computation", or "this unit manages those other units and coalesces their results".

Erlang's OTP captures this pretty okay-ish with their concept of processes (preemptively scheduled green threads that get aggressively multiplexed on all CPU cores) but I feel we can go a little bit further than that and have some sort of shorter markers in the code, say `actor { ... }` or `supervises(a1, a2, a3) { ... }` or something.

There are no comments on this comment yet.