News for hackers. Stuff that matters.
Re:Erlang/OTP 25.0 Release by the_duke on Wednesday May 18, 2022 @01:56PM (#31425680)
Not really, because UI components inherently need tight integration for event propagation, layouting, drawing... Sure, you could render individual components in their own processes and have one process accumulate a render tree , but I don't see much sense in that.

The lack of GC also is a problem, so you might have to do each redraw in a fresh process or something like that to avoid accumulating too much memory.

Processes would be good for all sideline functionality like API/db requests and expensive computations.

There are no comments on this comment yet.