5 ms·
Most of the "this is assembly" is not what I'd consider assembly. Is compiled Lua bytecode "assembly"? If your answer is "no" (as is mine) then neither are java
by junon 6y ago
Most of the "this is assembly" is not what I'd consider assembly. Is compiled Lua bytecode "assembly"? If your answer is "no" (as is mine) then neither are java class files, C# IR, webassembly bytecode or most of what else this article calls "assembly".
- erk__ 6y agoThere is another fun one wich is Ada, there is a hardware implementation of it. So is it a assembly language? https://datamuseum.dk/wiki/Rational/R1000s400 https://datamuseum.dk/wiki/Rational/R1000s400
- GuB-42 6y agoIt doesn't look like a hardware implementation of ADA, more like a computer optimized for running ADA programs. That is, you still need a compiler, with optimization, register/stack allocation, etc... before you start outputting machine code that is run by the hardware. However all the tricky parts of ADA, the task model in particular, are implemented in hardware. So it doesn't make ADA an assembly language. Maybe FORTH and LISP could be considered assembly in some circumstances. I don't know enough about these and their machine implementation to be sure but it looks like there can be a 1:1 relationship between these languages and machine code.
- junon 6y agoNo, because processors don't run ada directly.
- hvdijk 6y agoIt's .NET IR, not C# IR, but I agree. If the bytecode is not executed directly by the CPU, if there's a separate translation layer to convert that to machine code, then a user-friendly presentation of the bytecode is not an assembly language.
- pjmlp 6y agoWell, there is always the option to just pick a FPGA language and write an hardware implementation for them. Most mainframes, like those from Xerox PARC, don't have any kind of Assembly, the first step of booting was to load the corresponding microcode execution engine.
- rtoway 6y agoIsn't x86 assembly not directly executed by the CPU? IIRC it's turned into microcode instructions. I could be wrong though
- zeckalpha 6y agoYes
- umanwizard 6y agoIt’s turned into uops... by the CPU. (And most instructions correspond to 1 or a few uops in a straightforward way).
- tux3 6y agoThe ASM (text) that you write is converted into machine code, and that is directly accepted and decoded by the hardware (which may turn it into Mops and uops internally, but that's an implementation detail!)