3 ms·
> and the kernel is tailor-made A little note about this: Horizon/NX actually traces back to the Horizon OS on the Nintendo 3DS. The IPC marshalling was signif
by beefhash 8y ago
> and the kernel is tailor-made
A little note about this: Horizon/NX actually traces back to the Horizon OS on the Nintendo 3DS. The IPC marshalling was significantly more simple back then[1]. In all honesty, I'm not sure what made Nintendo thing the IPC marshalling on the NX was a good idea; to me it just looks like a hastily-designed mess (cf. "This one is packed even worse than A, they inserted the bit38-36 of the address on top of the counter field." on the [2] page linked by the parent comment). However, the NX incarnation was designed with "naturally" wrapping C++ methods in mind and it does a fairly decent job at that.
[1] https://www.3dbrew.org/wiki/IPC#Message_Structure https://www.3dbrew.org/wiki/IPC#Message_Structure
(Shoutouts to 3dbrew actually realizing that HTTPS is a thing that exists and maybe should be deployed.)