shish / rosettaboy

A gameboy emulator in several different languages
MIT License
469 stars 22 forks source link

V implementation #106

Open u80204 opened 1 year ago

u80204 commented 1 year ago

Hi Shish,

Could you consider including an implementation in V for the emulator?

shish commented 1 year ago

I have no idea what that is - if you'd like to submit one, I'd happily support and accept; if you'd like me to write one, having some advice with the basics (what is this language / how do I build it / how do I link it to SDL / how do I debug it / etc?) would be a huge help :)

u80204 commented 1 year ago

Aah, I'm not the right guy who can help you with V right now. Hopefully in a couple of weeks when I also become more familiar with it.

V is a programming language with a Go-like syntax:

https://github.com/vlang/v

From their website: "If you know Go, you already know ≈80% of V."

The places where V and Go differ are mostly under the hood so they don't affect end users.

The easiest solution should be a port of the Go implementation.

A quick Google search told me they've got an official SDL package:

https://github.com/vlang/sdl

(I also wanted to say I love your website, by the way.)