Hacker News new | ask | show | jobs
by chrisseaton 1488 days ago
> Half of this space is reserved for the kernel.

That’s an implementation detail - and what if your kernel is different, or you’re the one writing the kernel?

1 comments

Right, the languages which have these "static integer types" are going to be more predisposed to implementing an operating system kernel or writing bare metal code that doesn't sit on an operating system.

Linux is written in C (one of these languages) and likely parts of it will eventually be written in Rust (another of them). Python, which does not bother with this (in 3.x) isn't very well suited to writing such software, although Snek ("Snek is friend!" https://www.youtube.com/watch?v=w4sWZzYysvs&t=2401s) https://sneklang.org/ is somewhat suitable for small devices.