4 ms·
Why do you use pointers and a high level language like C when you could just write assembly and load and unload all your instructions and data into registers di
by empath75 2y ago
Why do you use pointers and a high level language like C when you could just write assembly and load and unload all your instructions and data into registers directly. Why do you need functions? You could just use nothing but JMP instructions. There's a whole lot of stuff that C handles for you that is completely unnecessary if you really understood assembly and paid attention to what you're doing.
- bsenftner 2y agoI'm from the era that when I was taught Assembly, half way through the class we'd written vi (the editor), and when finishing that one semester we had a working C compiler. When I write C, I drop into Assembly often, and tend to consider C a macro language over Assembly. It's not, but when you really understand, it is.
- empath75 2y agoAnd Rust developers drop down and manage memory directly when they need to and even inline assembly, sometimes.
- nottorp 2y agoYes we know, all the world's problems can be solved with a rewrite in Rust. Andre Malraux was right: "The 21st century will be religious or it will not be". He just got the definition of religion wrong.