← Back to context

Comment by jitl

11 hours ago

I don’t think vlang compiles to Go

Vlang has a Go to V translation project (Go2V)[1]. Usually vlang compiles to C (possibly aiming for a smaller and safer subset). This was a project focus[2] years before particular competitors, thus another hidden point, from which some of the drama springs from.

Additionally, vlang has other backends (ability to compile to other languages), such as JavaScript, WASM, native (in development), etc... There were contributors proposing having Pascal (Free Pascal variant) and Go as backend options too. There have already been discussions and experiments around creating V2Go libraries. Various developers appear to be waiting for the language to become a bit mature.

[1] https://github.com/vlang/go2v

[2] https://github.com/vlang/v/discussions/7849