jonomango / hv

Lightweight Intel VT-x Hypervisor.
MIT License
409 stars 87 forks source link

Vlang #2

Closed ddkwork closed 2 years ago

ddkwork commented 2 years ago

Can you translate this project to vlang?or rust or golang

jonomango commented 2 years ago

Probably not. I don't think that it's a good idea to translate this project to golang (or even possible for that matter) since from what I've heard, golang is a pretty high-level language that includes a garbage collector. Not very ideal for systems programming. I've never even heard about vlang before, so I can't really comment on that. Translating to rust is much more viable (there are a few hypervisors written in rust already, such as rustyvisor) but I'm personally not a huge fan of the language so I won't be doing that either.

I'm open to helping out if you plan on doing it yourself, but I don't really see the purpose of translating the entire project to another language. Hypercalls can already be executed from pretty much any language that lets you emit assembly, so if you just wanted to use the hypervisor in your language of choice, it shouldn't be too difficult.