3 ms·
i agree with this, but find the complexity of writing assembly with modern processors instruction sets requires quite specialized knowledge.
by gpapilion 8y ago
i agree with this, but find the complexity of writing assembly with modern processors instruction sets requires quite specialized knowledge.
- pjmlp 8y agoIt is, but someone needs to write compiler backends.
- elcomet 8y agoIt is quite scary to think that less and less people know how to write good assembly. So in a few years (decades?) we will have to rely on backends, with almost no one knowing how they really work, or how to write another one.
- reitanqild 8y agoLuckily it seems working on language design and compiler stuff is stuff is considered cool, almost as cool as game programming so I'm not too worried yet.
- pjmlp 8y agoI am not so negative, thankfully any good CS degree has enough compiler design lectures and assignments. And using sites like Godbolt is becoming trendy.
- stevekemp 8y agoI had fun recently generating Intel assembly for mathematical expressions: https://github.com/skx/math-compiler/ https://github.com/skx/math-compiler/ Mostly the project was to write something that compiled, from start to finish, but it was a nice refresher on assembly which I've otherwise not touched seriously for 20+ years.
- htfy96 8y agoThat's true, but not difficult as many people may think. In most cases you only need to remember most-used ~20 instructions and leave the remaining to reference. Sure it requires other domain knowledge, but it has almost nothing to do with asm itself.