Hacker News new | ask | show | jobs
by zeveb 3520 days ago
> As far as the OS is concerned, data should be bytes.

If the OS knows the type of those bytes, it can do things like implement global garbage collection, intelligent caching, intelligent snapshotting &c. It can also enforce invariants across all user code.

1 comments

To me this means you have an application, not an OS--or perhaps an application that also happens to be an OS. (Emacs comes to mind...)
Well, I think that OSes could do a lot more (and kernels a lot less … but that's a different story). Why _shouldn't_ an operating _system_ do an awful lot to ensure user safety, resource utilisation &c.?