Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I'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.


And Rust developers drop down and manage memory directly when they need to and even inline assembly, sometimes.


Yes 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: