Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces
by Spivak on Wednesday June 21, 2023 @08:58AM
(#36417873)
And dbus as well on Linux. I think that that style is much better than everything is a file. Everything is a typed object.
Re:Linux Namespaces Are a Poor Man's Plan 9 Namespaces
by winter_blue on Thursday June 22, 2023 @02:48PM
(#36436905)
> Everything is a typed object.
That's really good. The fact that the file interface just gives you a string of bytes, with no concept of structure or type safety in the interface itself is a major flow of it. Type safety is immensely valuable.
> Or, (b) come up with an alternative universal (or flexible) object interaction interface that’s much more flexible than UniversalInterface.
That’s, basically, what COM/Corba/… are. There, UniversalInterface has an additional call “If you are a Foo, give me your Foo interface”, with Foo as an argument to that call.