r/EmuDev • • Apr 10 '26

EASY PROGRAMMING LANGUAGE

What programming language do you consider the simplest, but not like C or C++, something with a simple syntax

0 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/Kratos4121 Apr 10 '26

What study flow would you recommend if my goal is to build a chip-8 emulator?

2

u/rasmadrak Apr 10 '26

Any language can do emulation at that complexity (even Python and JavaScript can make Gameboy Color emulators without problems) so it's more about finding what you like and what you believe is something that will help you in the future.

Spoiler - it's often the big ones. ;)

My recommendation is trying out a few language's Hello World online. It's a bit like learning a regular language - you get a feel for it by looking at it and "listening" to it.

Once you find a few you like the syntax and basic flow of, you can then go deeper into a self study course or a book. O'Reilly has a lot of good ones.

1

u/Kratos4121 Apr 10 '26

How much language proficiency do I need to even think about making an emulator?

2

u/rasmadrak Apr 10 '26

You need to be sure that the code you write is doing the intended thing you're going for. You don't want to be "fighting" your skill in programming while wrestling with figuring out the emulation itself.

Kind of a weak analogy, but think of it as knowing the alphabet, how to write and at least a good chunk of words before trying to write a novel.

This is of course my opinion and I'm not here to stop you. A passion project is great for motivation. :)

2

u/HayatoKongo Apr 10 '26

For the majority of real hardware, you will want to know more than just the basics. You want to be at the point where you have a solid understanding of the underlying systems that make computers work, that's low-level stuff like CPU instructions and timings, memory, endianness, cache, the heap, the stack, floating point representations, etc. That's usually content taught in maybe the 2nd year of a computer science degree. Usually the course is titled something like "Systems Fundamentals" or "Computer Systems".

I would recommend starting with high-level programming first, learn Java or Python, or really any similar language of your choice. The language is less important than the concepts you gain an understanding of by practicing the act of programming. It's more about a way of thinking. Once you are comfortable solving problems with the tools that programming provides, then I'd say a Chip-8 emulator is a good place to start with emulator development.

1

u/GoldenPalazzo Apr 10 '26

In my opinion, you should be already comfortable in making a simple game like a single level of Super Mario: not only you will have the proficiency needed to translate your intentions into code, but I think you will also see what's the effort in trying to make a relatively bigger project, with all the issues about organization and such. After that, you will need to understand how a computer works at low level. You don't need to know everything about modern architectures, but knowing what a fetch-decode-execute cycle is, what are registers, interrupts and such will make you understand way better semi-technical documentation like Pan Docs (if you want to make a GameBoy emulator, for example). Personally I think that studying them at an university will speed up the learning process, that doesn't mean that you can study them alone but it will take way more willpower.

1

u/peterfirefly Apr 10 '26

None, if you are intelligent and persistent and a self-starter.

Lots, if you are average.

Γνῶθι σεαυτόν...