On a sunny day (Tue, 11 Aug 2020 14:00:18 +0100) it happened Martin Brown wrote in :
I agree, funny you mention Z80, got an email from somebody a few month ago they are using my dz80 disassembler..
Some webcam software I wrote is used for what you just described.. About 0) I programmed a lot of PICs, in asm, close to the hardware. In a very small code space you get near zero boot time, near zero power consumption and very high speed. Try real time video processing on one of those :
So the hardware it runs on is extremely important! The java way where it is not, today I had to work myself through 2 bank sites and it always gets your adrenaline going so slow and weird are the logins, is my browser still good enough? So and to run the latest browser you need to update the OS and the OS wants better hardware...
As to compiler warnings in gcc I always use -Wall but when porting code from x86 to ARM found gcc gives mysterious warnings, one I have not been able to resolve, googled for that warning, others had it too, finally left it that way, For the rest most I have written does a clean compile, unlike the endless warning listings I have seen from others.. Compilers are not perfect, I like asm because there is no misunderstanding about what I want to do. And really, asm is NOT harder but in fact much simpler than C++. C++ is, in my view, a crime against humanity. To look at computing as objects is basically wrong. It gets worse with operator overloading and does not stop there. And indeed the compiler writers hardly agree on what is what. C is simple, you can define structures and call those objects if you are so inclined. you can specify the bit width and basically everything, Anyways am getting carried away, Would it not be nice if those newbie programmers started with some embedded asm, just to know what is happening under the hood so to speak.