Sure it is, someone has to write compiler backends and OS bootloaders, even if all instructions would be exposed as intrinsics.
Assembly Language Programming: Still Relevant Today (2015)
51–60 of 100 posts
Re: Assembly Language Programming: Still Relevant Today (2015)
#52This is like being an architect and noticing that bricks and cement are still relevant... Of course they are!
Re: Assembly Language Programming: Still Relevant Today (2015)
#53Not sure why HN is saying it is obvious that assembly is relevant because compilers... The article's intent is around a programmer writing assembly. I'm sure there are niches but I can see web developers getting away without writing assembly in their professional career.
Re: Assembly Language Programming: Still Relevant Today (2015)
#54Excerpt: "Jeff Laughton (Dr Jefyll on the 6502.org forum) says, "I recall hanging out with a programmer pal o' mine and a younger fella who was in college. The young fella was complaining, 'We have to take assembly language,' and Len corrected him immediately, saying, 'You get to take assembly language!'"
What's great is that learning assembly is like taking the first step to understanding the bridge between software and hardware.
I remember a taking class that started out as confusing as hell. The first few exercises seemed really mystical and just so brittle. You'd have to be a wizard to ever get this, one thinks. But by the end of the class, we made an asteroids-like game, complete with RNG based on input timing (the time between game execution and when the user clicked start). That was really an enlightening moment.
Re: Assembly Language Programming: Still Relevant Today (2015)
#55As recently as a year ago I used built in assembler in Delphi to perform some low level timing. It was not for just super-duper performance though. Surprisingly it was the most straightforward and simple way. Meanwhile my firmware for 3-Phase AC motor torque and speed control for really low power micro controller was doing fine with plain C without any assembly.
What do you do for a living?
Some products I own and some are made to order. Some I did on my own and for some I was a leader of big team
Re: Assembly Language Programming: Still Relevant Today (2015)
#56Not sure why HN is saying it is obvious that assembly is relevant because compilers... The article's intent is around a programmer writing assembly. I'm sure there are niches but I can see web developers getting away without writing assembly in their professional career.
Might see that flip in the coming years, if you consider web assembly (wasm) to be assembly. I do.
Re: Assembly Language Programming: Still Relevant Today (2015)
#57Not sure why HN is saying it is obvious that assembly is relevant because compilers... The article's intent is around a programmer writing assembly. I'm sure there are niches but I can see web developers getting away without writing assembly in their professional career.
Might see that flip in the coming years, if you consider web assembly (wasm) to be assembly. I do.
Re: Assembly Language Programming: Still Relevant Today (2015)
#58"...self-modifying code, [is] sometimes appropriate to solve certain problems that have no other solution, or for improving efficiency, as in double-indirect addressing." I have read that self-modifying code on the x86 architecture is pretty dangerous at the assembly level. More broadly, this kind of comes back to all the issues in the "C is not a low level language" thread. Some level of assembler certainly gives th…
(I manage a team thag writes self modifying code for a living.)
Re: Assembly Language Programming: Still Relevant Today (2015)
#59Earlier quoted context omitted.
I don't know much about x86, but on other cpus/architectures (PowerPC, MIPS, and possibly others) one might still need to fiddle with the instruction cache.
On modern IA32 and AMD64 architectures it involves the instruction cache in the cache protocol, so it's all done for you.
Doing this on every write (especially considering multiple possible virtual to physical mappings) is very expensive in terms of hardware - it's why some architectures (RISC-V for example) have explicit instructions to trigger these things
Re: Assembly Language Programming: Still Relevant Today (2015)
#60Not sure why HN is saying it is obvious that assembly is relevant because compilers... The article's intent is around a programmer writing assembly. I'm sure there are niches but I can see web developers getting away without writing assembly in their professional career.
Might see that flip in the coming years, if you consider web assembly (wasm) to be assembly. I do.