Also known as vlang, The V Programming Language, V programming language, V Language
General-purpose programming language inspired by Go, Kotlin, Oberon, Python, Rust, and Swift
Despite being at an early development stage, the V language is relatively stable, and doesn't change often. But there will be changes before 1.0. Most changes in the syntax are handled via vfmt automatically. The V core APIs (primarily the os module) will also have minor changes until they are stabilized in V 1.0. Of course, the APIs will grow after that, but without breaking existing code. Note: On Windows, run makev.bat instead of make in CMD, or ./makev.bat in PowerShell. Note: On Ubuntu/Debian, you may need to run sudo apt install git build-essential make first. Now try running ./v run examples/hello world.v (or v run examples/hello world.v in cmd shell). Trouble? Please see the notes above, and link to Installation Issues for help. On FreeBSD, V needs boehm-gc-threaded package preinstalled. After installing it, you can use the same script, like on Linux/macos: On OpenBSD (release 7.8), V needs boehm-gc and openssl-3.5 packages preinstalled. After installing them, use GNU make (installed with gmake package), to build V. This compiler is very fast, but does almost no optimizations. It is best for development builds. For production builds (using the -prod option to V), it's recommended to use clang, gcc, or Microsoft Visual C++. If you are doing development, you most likely already have one of those installed. You can pass a different directory there too, for example v symlink C: Users you bin . That will make V available everywhere, by adding it to your PATH. Please restart your shell/editor after that, so that it can pick up the new PATH variable. To bring IDE functions for the V programming languages to your editor, check out v-analyzer. It provides language server capabilities. In order to build Tetris or 2048 (or anything else using the sokol or gg graphics modules), you will need to install additional development libraries for your system. The net.http module, the net.websocket module, and the v install command may all use SSL. V comes with a version of mbedtls, which should work on all systems. If you find a need to use OpenSSL instead, you will need to make sure that it is installed on your system, then use the -d use openssl switch when you compile. On Windows, OpenSSL is simply hard to get working correctly. The instructions here may (or may not) help. V's sync module and channel implementation uses libatomic. It is most likely already installed on your system, but if not, you can install it, by doing the following: V is great for writing low-level software like drivers and kernels. Vinix is an OS/kernel that already runs bash, GCC, V, and nano. V thanks Fabrice Bellard for his original work on the TCC - Tiny C Compiler. Note the TCC website is old; the current TCC repository can be found here. V utilizes pre-built TCC binaries located at On Linux, make retries the portable thirdparty-linuxmusl- TCC bundle when the host-specific bundle does not run on the current system. To rebuild the bundled thirdparty/tcc in place from upstream TinyCC on the platforms that have an in-tree build script, run make latest tcc source . Pass TCC COMMIT= to pin a specific upstream revision.
Excerpt from the source-code README · 17,420 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).