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

Oh. There was a comment to your comment saying that kids learning assembly was easy and — I guess? — implying that adults-learning-assembly is hard. I teach adults assembly on an irregular basis. Adults-learning-assembly is hard because adults are rational animals who (correctly) assume I'm an idiot for insisting on assembly. Once I explain the long-term benefits for our exceedingly specific use case, they pick up assembly in a few hours. Assembly isn't hard. Assembly is annoying because it takes absolutely gobsmacking amounts of assembly to do anything.


Assembly is simple because each instruction is very simple.

Also, assembly is complex because each instruction is very simple.


Large Scale Assembly puts a huge premium on planning and design. If you try to just bang things out, you'll live in a world of pain.


Remember, simple is not the same easy


See also: go.


Well.

Don't try to write "good" go and it becomes easy too.

I would rather see clearly defined, readable, documented code that isnt optimal... than good code lacking any of those traits.

And good code often isnt clearly defined, it often isn't reader friendly and it often lacks documentation (this bit is fixable but ends up needing a lot more of it).

Bad code that works isnt bad.


Do you have anything public on how you get people writing assembly in a few hours?


I guess because there is nowadays a misconception that it is harder than it actually is in practice.

Exactly, plus one gets to understand what JIT and AOT toolchains are actually generating.


> it takes absolutely gobsmacking amounts of assembly to do anything.

"ever built something big in LEGO? Yeah? Yeah."




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

Search: