Is Programming in Assembly or C Tough for Beginners on Older Hardware?
Asked by
orchard pruning
I've been considering developing a small game for my Sega Megadrive, but I'm aware that I'll need to do some low-level programming due to its limitations. High-level languages like Python seem unsuitable for this task. Are Assembly or C good choices for a beginner wanting to work on 1980s hardware, or would it be better to learn a higher-level language first? Is starting on such old hardware a wise decision for someone who's just starting out?
Answers
Honestly, 1980s hardware is perfect for learning Assembly and C. Their simplicity allows you to grasp the fundamental concepts easily. Once you dive into Assembly, you'll naturally get the hang of C, especially with those pointers. Just choose a platform like the 6502 or 68000, and you'll learn a lot!
Reply to this answer
It really depends on how you look at it. Low-level languages can be tough since they're missing a lot of the conveniences that come with high-level languages like lists or automatic memory management. However, they do offer a streamlined understanding of the core concepts of programming. C, for instance, is small and straightforward, which can be a huge plus for focused learning!
Reply to this answer
I started programming in Assembly on the old 8086 chip back in the late '80s and then shifted to C. Trust me, if you get comfortable with Assembly, C will be much easier to grasp, especially when it comes to understanding pointers and references. It's a solid path to take for sure!
Reply to this answer
If you're keen on learning Assembly, I'd suggest starting with programs like Pico-8 to get comfortable with the concepts. Transitioning to 16-bit 68000 Assembly for the Sega Megadrive should feel seamless after that. However, C is perfectly capable on the Megadrive, and you'll find that it opens up more opportunities for you in the long run!
Reply to this answer
While some folks find Assembly and C easy, debugging these languages can be quite the challenge. They may be simple in terms of structure, but the bugs can be elusive and tricky. I suggest starting with some Assembly knowledge and then digging into C, too. You'll get a solid grasp of programming through these languages!
Reply to this answer
Definitely, people learned programming before high-level languages were common, using languages like C, Assembly, and even Pascal. The key here is to figure out what compilers are available for your Sega Megadrive and do some research. It might be a bit challenging, but it's absolutely doable!
fOrmal objection: Yeah, true, and thanks for the input! I guess it really comes down to what tools I can find for the Megadrive. I just hope my limited coding experience won't hold me back too much with any higher-level versions.
Reply to this answer
Add your answer
Answers are reviewed before publication.
midi.pitch.bend: That's awesome to hear! I might start with some basic code in a higher-level language and then shift into Assembly once I get a feel for it.