0

Are low-level languages hard to learn?

2nd Jul 2018, 6:21 PM
Jafor Samsung
Jafor Samsung - avatar
5 Réponses
+ 3
Depends how your brain works. Some people find assembly easier than C. Some people, like me, find C easier than C++. Some people, like me, find C++ easier than Python. It also depends on what you mean by "low-level". Traditionally, assembly was low-level and C et al were high-level languages, but colloquial use of "low-level" may include even C++. Finally, there's context. C is the easiest to learn IMO, but not always the easiest to use. Assembly is pretty much the same except it takes lines of code to do something simple. I read an ASM intro PDF just to learn what ticked beneath the hood of my code. I recall very little syntax and a few registers now, but I understand ASM (Note: CPU-dependant). Short answer: No. The higher you go (outside procedural programming), the tougher. But that's my brain's wiring. Try C and then ASM for yourself.
2nd Jul 2018, 6:37 PM
non
+ 2
nonzyro wow, i didn't even know about a lot of those. guess it's because i only did smaller projects and only needed the basics like moving, math commands, conditions, logical operations, push/pop and maybe a few others
4th Jul 2018, 12:55 PM
hinanawi
hinanawi - avatar
+ 1
asm is easy to learn as there is not many commands, but making something useful is very difficult for example. some languages have a complex syntax but are pretty easy to utilize once you get the hang of them. so really it just depends on personal preference
3rd Jul 2018, 11:49 AM
hinanawi
hinanawi - avatar
+ 1
Oh, there are many ASM commands, here's some intel x86: https://en.m.wikipedia.org/wiki/X86_instruction_listings The reason it's easy is simple syntax and lack of abstraction from what you're doing.
4th Jul 2018, 12:47 PM
non
+ 1
Yeah, there are a ton and we use a tiny percent. That's where compilers have us beat.
4th Jul 2018, 1:19 PM
non