News for hackers. Stuff that matters.
Re:How much memory is needed to run 1M Erlang processes? by hauleth on Sunday June 11, 2023 @02:44PM (#36284336)
Yes it is. Though until the last paragraph everything is done more or less to be an idiomatic approach to this task rather than "just optimisation". The VM flags part though is solely "optimizing for the benchmark, by cutting features that we would have needed in real-world scenarios". The "RemoteCall" code is pretty idiomatic approach to such problem.
Re:How much memory is needed to run 1M Erlang processes? by bsaul on Sunday June 11, 2023 @04:07PM (#36285079)
i have the feeling the very first optimization ( not using the VM real green thread, but something lighter that doesn't provide debugging tools) is also something you wouldn't like to have in the real world..
Re:How much memory is needed to run 1M Erlang processes? by hauleth on Sunday June 11, 2023 @05:55PM (#36286137)
It is using VM green thread, just more primitive one. Just to be more like other implementations (except anode) in original article that do bare minimum to run. Also, this isn't that unusual to use just `spawn/1` for simple and short "one-off" processes.