The V Programming Language

Simple, fast, safe language created for developing Volt, soon available for everyone.

Open source release in June 2019. Early access since April 15.
Install V from source in 0.5 seconds
wget vlang.io/v.c && gcc -o v v.c
1.9k

Embedding V in existing applications?

Alex
Apr 15 · 3 min read
akovachev Jun 10 08:22
Hello,

I commend your efforts! I expect V lang to go far!

I'm searching for a simple yet efficient language that would allow embedding in existing apps as well as ability to do runtime compilation.
Another requirement I have is for compilation/execution to be deterministic across all platforms. By the sound of it, it wouldn't be a problem for V to interface with C/C++ code.

We're currently using LuaJIT, but that is a temporary solution.

Cheers!
medvednikov Jun 10 15:38
Hi,

Thanks!

Like the home page says, V can be called from any language that can call C.

Embedding it like Lua is not possible, because it's not an interpreted language. But I don't think there's much point, because V covers all the strong points of Lua: it's simple, small, and it supports hot code reloading, so you can tinker with your code while the program is running.
Log in via GitHub to comment



Powered by vtalk, open-source blogging/forum software written in V