This compiles to C, which (I think) means it should be able to FFI to it fairly easily?
Question though; I'm assuming that if you're touching C, there's no extra protection added by V, right? The C will be just as unsafe as it was before, or do you add some kind of exception handling thing around it?
Looks like they just have a way to return errors if you use question mark at the end of function declaration. See "Option types" here https://vlang.io/docs
Strings are simple: 'hello'.cstr()
So are arrays: [1,2,3].carray()
But if you work with pointers, you have to be careful. Maybe I'll implement an unsafe block.