C is not as simple as it seems
C is not as simple as it seems
Posted Sep 26, 2024 9:32 UTC (Thu) by joib (subscriber, #8541)In reply to: C is not as simple as it seems by NYKevin
Parent article: Linus and Dirk on succession, Rust, and more
Just look at how convoluted it gets when they try to retrofit something like pointer provenance.
Of course for architectures with segmented memory, Harvard architectures, etc. you might have several of these big arrays representing the system memory, there you need some implementation-defined logic how comparing pointers to different segments would work. If you want a language with a more abstract view of the machine, choose another language designed with that in mind from the beginning. Like Rust?
