Comment by gf000

20 hours ago

> you put your display code, input-handling code, compositor code, session-handling code, and window-management code all in the same process

That's an implementation detail. You can absolutely separate one out from the other and do IPC - it just doesn't make much sense to do so for most of these.

The only one where I see it making sense is the window manager, which can simply be an extension/plugin either in a scripting language or in wasm or whatever.