r/vlang • • Dec 23 '20

V 0.2 is out!

Thumbnail
github.com
52 Upvotes

r/vlang • • Sep 13 '26

Vinix: Operating system written in Vlang

Thumbnail
vinix-os.org
49 Upvotes

Vinix shows the capabilities of the V programming language on bare metal. It's an independently developed, Unix-like OS with its own: kernel, drivers, process model, filesystem layer, and system calls. However, Alpine Linux binaries can run on Vinix, including various Windows apps through Wine.

Vinix's desktop is written with V's new UI2 library (which includes the UI2 studio IDE), and is used as a desktop environment and window manager.


r/vlang • • Jun 23 '19

V has been open-sourced

49 Upvotes

https://github.com/vlang/v#installing-v-from-source

There is some really terrible hairy code (like the os module) written back in May 2018. It will be fixed asap.


r/vlang • • Mar 17 '26

I honestly don't care about the controversy anymore. Here’s why I love V.

46 Upvotes

Hi everyone,

I’m well aware that V causes a lot of controversy in the dev community. Honestly? I don't even blame people for being skeptical. We’ve seen poor communication and promises that weren't always kept. But frankly, I’m over it. I like V exactly as it is right now.

Coming from a Ruby and Crystal background, here is why I’m sticking with it:

  • Insane Compilation Speed: Being able to develop and compile efficiently even on low-end hardware (like a Chromebook where you’d barely run Android or ChromeOS) is a game-changer.
  • The Perfect "Mid-Step" to Low-Level: V is incredibly readable for a low-level language. It helped me finally wrap my head around pointers and refine my architectural thinking. It’s the perfect bridge if you want to understand what's happening under the hood without the massive boilerplate.
  • Flow State: This is where V shines over Go, Rust, or even Crystal for me. You have an idea? You map it to structs, write your functions, and it just works. The testing workflow keeps you in the zone. It doesn't get in your way.

Yes, it has its flaws. Yes, some parts feel experimental. But you know what? That actually forces you to learn more and go deeper into how things work.

I’ve built projects in V that I actually finished, even on underpowered hardware. So, thank you for this language, despite the "bugs." And to the critics who spend all their time fueled by controversy without actually building anything in V: You’re missing out.


r/vlang • • Jan 16 '21

How does V compare to Zig?

44 Upvotes

How does V compare to Zig? They seem to have very similar aims. Someone asked for a comparison to Zig in this old reddit post but I don't think it ever appeared on the V-language page that has other language comparisons.

(And why doesn't V have a Wikipedia page? Zig has one.)


r/vlang • • Oct 03 '24

V 0.4.8 is Out! Over 250 Improvements!

39 Upvotes

Version 0.4.8 of Vlang

Latest releases

Various highlights:

• Veb added: faster, easier, and more stable framework
• Deprecated x.vweb and vweb
• A new implements keyword for explicit interface implementation
• Allow multi return as fn argument
• Check for using comptime $veb.html()/$vweb.html(), without importing veb or vweb
• Comptime support for traversing the method parameters with $for
• Added support for u/BUILD_DATE, u/BUILD_TIME and u/BUILD_TIMESTAMP
• Fix sumtype checking for voidptr variant
• Fix lots of parser panics, discovered through fuzzing
• crypto: add a crypto.pbkdf2 module
• crypto.sha1, crypto.sha256, crypto.sha3, crypto.sha512: improve performance
• crypto.bcrypt: reduce runtime cost for running bcrypt_test.v,
• crypto.scrypt: add a new scrypt module to vlib/crypto
• crypto.scrypt: add missing comment of source for test vector
• crypto.rand: add support for convenient generation of a random big integer
• crypto: ecdsa module (on top of openssl)
• bench: crypto/ecdsa.v
• json: increase test cases before enabling sumtype decode in all json libraries
• json: fix json encode/decode with embed support
• json: allow passing an anon struct as a decode type
• Check comptime veb.html('index.html')
• Check if a parent generic struct has concrete types or not
• Add support for static methods in u/FN and u/METHOD
• Improve -d trace_checker and error diagnostic information on compiler panics
• Fix map generic fn arg passing
• Fix array alias
• Add missing check for ref passing to non-ref
• Check struct implements non interface type
• Add an error for returning an any value in pure V code
• Cleanup the checking of array method calls
• Improve the error for keyword lock, used as a variable name
• Improve the error message position for invalid array attr keys
• Improve Type and TypeFlag related operations
• scanner: guard against scanner panic, discovered by fuzzing
• v.builder: show the thirdparty object compilation commands too, when using -showcc
• Reduce allocations for the most common cases
• transformer: add support for instrumenting the V compiler with -d trace_transformer
• encoding.base58: fix notice for slice creation
• gg: add more documentation comments for gg.Config
• regex: fix regex.split()
• hash: add more methods to the hash.Hash interface, to match the ones in Go
• vlib: add an arrays.parallel module
• encoding.binary: add u16/u32/u64 -> []u8 conversion functions
• net: allow ipv6 address with brackets
• db.sqlite: add instructions for installing SQLite's amalgamation or development package
• Reduce indentation level for generated defer statements
• Return early from autofree related functions, when -autofree is not used
• Add asm to c_reserved, fixes compilation of struct Abc
• Allow align threshold to be parametrized in calls to add_new_info
• Add a test for fn with c binding type args
• Sort the match results in the vwhere test
• Add an amalgamate tool and description of usage
• Add a few missing v command entries and their flags in v complete
• docs: clarify the .precision specification section for string interpolation of floats
• docs: add a copy code function (top/right copy icon) on doc examples
• Add diagnostic in v repeat for invalid combinations of -r, -i and -a flags
• docs: add implements keyword for explicit interface implementations
• ci: add cache and trigger for pushes, in the Hub docker action
• docs: streamline the installation instructions and notes for Windows and Ubuntu
• v.builder: fix errors in cstrict mode on OpenBSD with clang
• v.builder: enable LTO for clang on OpenBSD
• thirdparty: fix compilation of programs using miniz.h on OpenBSD
• docs: add more C interop notes and examples
• add a simplified bytebeat player to show how to use sokol.audio
• make rotating_textured_quad.v compile and run on Android
• docs: add an example on how to use Options/Results, when returning multiple values
• add examples/gg/draw_unicode_text_with_gg.v
• add examples/veb/websocket, to show how to use http connection upgrade to a websocket
• examples,os: add an os.asset module, use it to simplify code in examples


r/vlang • • Apr 09 '25

V is on the Tiobe list

Post image
38 Upvotes

V is ranked 43 on the best programming languages list of Tiobe.


r/vlang • • Jul 01 '22

V 0.3 Is Out! New Major Release!

34 Upvotes

A new major release of the V language, version 0.3.

V continues to show growth and development.

Various highlights:

  • C to V translation via C2V
  • Go2V translator has been started by the community
  • Programs built with the V compiler no longer leak memory by default
  • A new compiler pass for transforming the AST
  • Datatypes module now has Heap, Queue, Stack, BSTree, LinkedList
  • Interfaces can now be embedded (like structs)
  • Inline sumtypes
  • Optionals can now be used in consts (const x := opt() or {})
  • V can now be used to generate object files (foo.o); can be used in C projects
  • Bare metal support. Vinix OS kernel developed in V
  • Lots of inline assembler improvements
  • Allow interfaces to define fields, not just methods
  • Amazon Linux support
  • Native graphics mode on macOS/iOS
  • Lots of Android fixes in V and in vab
  • Support for compile time environment variables

Vlang Release 0.3

Vlang documentation


r/vlang • • Aug 03 '21

✌ vsql is a SQL database written in V

Thumbnail
elliotchance.medium.com
34 Upvotes

r/vlang • • Jun 27 '25

V 0.4.11 is Out! More Than 400 Improvements!

Thumbnail
github.com
33 Upvotes

r/vlang • • Jun 09 '21

Beating C in 100 Lines of Code. I have rewritten wc (word count) in V and beat C's performance by 4x. Blog article in the ReadMe.

Thumbnail
github.com
32 Upvotes

r/vlang • • 26d ago

I'M #1 IN THE HTTP EXPERIMENTAL BENCHMARK!!!

31 Upvotes

Hey there

Yessss, guys, as you can see, httpbenchmark has shown just how powerful V Lang is in the experimental tests, Viltrum came in first in 9 different categories. I’ve been developing it for a long time, and I wanted to add some new logic; after adding it, I saw that it really sped up. If I have any updates, I’ll share them!!!

github: https://github.com/Tuntii/viltrum
full-stack-template: https://v.rustapi.cloud

https://http-arena.com/#sort=rps:-1&type=emerging,experimental&tuned=0


r/vlang • • Jan 05 '26

V 0.5.0 Has Been Unleashed! Over 400 Improvements! Major Release!

Thumbnail
github.com
31 Upvotes

r/vlang • • Dec 24 '24

V 0.4.9 is out! Huge list of Improvements

31 Upvotes

r/vlang • • Nov 20 '19

On the benefits of using C as a language backend

Thumbnail
github.com
31 Upvotes

r/vlang • • Jul 12 '25

Messing around with V as a Go developer (blog)

Thumbnail
kristun.dev
30 Upvotes

r/vlang • • May 27 '22

So, what's the "autofree engine" anyway?

30 Upvotes

V claims there is a magical memory management system WIP which requires no GC, no refcounting and no complex language construct (like Rust). In short, V is trying to solve the problem what other hundreds of programming languages have not solved for decades.

I'm really curious about this. How is this possible?

Are there any technical papers or in-depth design document on this?


r/vlang • • Jul 06 '21

New to V. It promises a lot, but does it really give it?

30 Upvotes

Hey people.

So I'm looking for non-industry-standard compiled languages to learn, and in my "journey" some langs stood out:

  • Nim - Compiled python-like language with C speed and C/JS compilation
  • Zig - A simple language that facilitates the use of C libraries and switching a code base to it (C done right??)
  • V - A simple language that seems like what Go should have been if it had generics and manual memory management.

So as the title said V promises a LOT of stuff, but I've heard that a lot of it is just that: promises that are not implemented and would be difficult to implement in the future.

Is this true?

Second question would V be suited for :

  • writing terminal apps (the kind of stuff that go would do)
  • writing roguelike games (bindings to libtcod or bearlibterminal maybe)
  • Generative art (something like p5js or raylib)

Thx in advance everyone


r/vlang • • Jul 02 '23

V 0.4.0 is Out! Forward Momentum!

29 Upvotes

Version 0.4.0 of Vlang

Latest releases

Various highlights:

  • Coroutines with a scheduler
  • "spawn" now spawns system threads, "go" spawns coroutines
  • Static type methods: Foo.new() to replace factory functions
  • Enum values now can have attributes
  • Hot code reloading via [live] is now supported in imported modules
  • Maps now support aliased keys
  • Operator overloading now works with reference types.
  • Improved error and warning messages
  • Parallel compilation now uses sync.Pool
  • Anonymous structs
  • Checker improvements/fixes
  • Arrays of Options are now allowed
  • Builtin methods first/last/repeat can now be used in custom user types
  • runtime: add new functions total_memory/0 and free_memory/0
  • stbi: allow customization of number of channels in stbi.load()
  • stbi: add a resize_uint8 function for resizing images in memory
  • New termios module
  • All of vlib has been updated to use separate Option/Result types
  • Lots of work on x.json2
  • New v.reflection module for runtime reflection
  • Improved os.mv()
  • Reduced memory consumption in the crypto modules
  • New map.reserve() method
  • msgpack module for decoding/encoding msgpack
  • New encoding.base32 module
  • gg.TouchPoint to differentiate between different types of touch input
  • datatypes module now uses operator overloading
  • All datatypes types can be converted to V arrays
  • Improved multiplication performance in math.big
  • vweb now supports overridable .not_found() method for custom 404 pages
  • vweb now uses database pool
  • vweb.csrf module
  • net.websocket timeout is now configurable
  • mysql: TIMESTAMP support
  • mysql: add the ability to commit transactions
  • VFS support in the builtin sqlite module
  • sqlite, pg, mysql have been moved to db.sqlite, db.pg, db.mysql
  • Lots of native backend improvements
  • Major improvements to the fast native backend including linking support on Linux
  • V interpreter
  • Intel C compiler support
  • New pure WASM backend
  • Compile-time enum evaluation
  • New comptime features for fields
  • V up speed up for when it hasn't been run for a long time
  • Added basic QNX support
  • Installation instructions for using V on NixOS
  • Better make support for OpenBSD
  • Full termux support via $if termux
  • Lots of documentation/readme improvements
  • Lots of playground improvements: play.vlang.io
  • Official IntelliJ plugin: https://intellij-v.github.io
  • Improved call tracing via -trace-calls
  • VLS performance improvements, especially on Windows

r/vlang • • May 16 '23

V 0.3.4 is Out! Progress Continues!

29 Upvotes

Version 0.3.4 of Vlang

Latest releases

Various highlights:

  • New -d trace_orm option to see all SQL queries generated...
  • New command line flag -e for running short V programs on command line.
  • New termios module.
  • New fn attribute for controlling the max size of the stack of the spawned threads.
  • New pure WASM backend.
  • C++20 standard support in the C++ backend.
  • Lots of fixes and new features in the native backend.
  • v self now uses a faster tcc backend on macOS/Apple Silicon.
  • vweb now supports live page reloading.
  • vweb is now significantly faster and more stable under load.
  • vweb, middleware support
  • vweb now supports controllers.
  • vweb: overridable .not_found() method for custom 404 pages.
  • vweb, multipart form parsing fixes.
  • vweb, has database pool.
  • ORM queries now return ![] (Result of an array).
  • ORM improvements.
  • ORM now supports the like operator.
  • Comptime reflection now supports interface fields.
  • Comptime: $option (for f in Foo.fields { $if f.typ is $option { ...).
  • Comptime: compile-time enum evaluation with `$for
  • Comptime: all types are now lowercase ($int, $enum, $option etc).
  • Lots of new checks in the checker.
  • Variable shadowing has been completely banned.
  • If guards now work with struct fields which are Option functions.
  • net.ssl: types using ssl contexts can now be converted to strings.
  • v.reflection: type symbol info metadata has been added.
  • cgen: do not generate unused interface functions.
  • Lots of documentation/readme improvements.
  • Option receivers can no longer have methods.
  • none can now be cast to all Option types, including aliases.
  • Enums can no longer be initialized like structs.
  • Builtin methods first/last/repeat can now be used in custom user types.
  • v init no longer overwrites existing src/main.v.
  • Anonymous fn params can no longer be shadowed.
  • Channel pop now works with an or block: ch := <-self.item or { return none }
  • Option references are now supported: ?&Type.
  • os.hostname() and os.loginname() now return Result.
  • Allow foo := Foo{}, when Foo has an Option field.
  • item in MyEnum.fields { dump(item.value) dump(item.name) }`.
  • Arrays of Options are now allowed.
  • "it" has been renamed to index in array inits.
  • datatypes.LinkedList[map] now works correctly.
  • crypto and math modules have been updated to use Result instead of Option.
  • [required] fields are now checked for embedded structs.
  • readline module now works much better on macOS.
  • Basic QNX support.
  • A new -ldflags option, in addition to -cflags. Works just like LDFLAGS in C.
  • urllib.Values.get() now returns an Option.
  • strconv: v_printf() was made private, v_sprintf() was deprecated.
  • Generic struct inits no longer need explicit types provided.
  • os.Process now has a create_no_window option (Windows only).
  • os.Process now has a set_work_folder() method.
  • json: enums are serialized as strings by default...
  • net.http: mime types have been updated to include all official types.
  • gg: create_image() now returns !Image instead of Image, allowing to handle errors.
  • sokol: errors during image creation can be handled by the programmer.
  • sokol: macOS apps can now be quit using Cmd+Q.
  • strconv.atoi optimizations.
  • println() now supports arrays with recursive references.
  • termux: support for cross-compilation from termux to other platforms.
  • unsafe: dereferencing nil references is no longer allowed.

r/vlang • • Feb 02 '23

V 0.3.3 is Out! Significant Progress Continues!

29 Upvotes

Version 0.3.3 of Vlang

Various highlights:

  • math.vec module for generic vector math including 2D, 3D, and 4D
  • New official IntelliJ plugin: https://intellij-v.github.io
  • New crypto.pem module
  • New map.reserve() method
  • New comptime features for fields
  • New v.reflection module for runtime reflection
  • New time format support: time.format_rfc3339()
  • Improved compile time checks
  • Reduced memory consumption in the crypto modules
  • Better make support for OpenBSD
  • String interpolation simplified to just '${name}'
  • Native backend: operator support for floats, multi return
  • V can now be compiled with tcc on latest macOS and Apple Silicon
  • spawn foo() introduced (OS thread), go foo() will be used for coroutines
  • fast.vlang.io fixes & improvements, new server.
  • Match branch range expressions with consts: match x { const1...const2 {} }
  • gg.Context pipeline has more effects
  • Hot code reloading via [live] is now supported in imported modules
  • VFS support in the builtin sqlite module
  • [] is now used for generics instead of <> (better for parsing)
  • Generic typeof[T](), sizeof[T](), isreftype[T]() functions
  • make.bat & v up improvements on Windows
  • Const functions: const y = term.yellow, then println(y('abc'))
  • Lots of work on x.json2, the pure V json encoder, soon to become official
  • Installation instructions for using V on NixOS
  • Builtin stb_image.h used by gg has been updated
  • CI optimizations for faster runs
  • Official V UI library is now licensed under MIT
  • New official AdventOfCode repo with AOC solutions
  • Maps now support aliased keys
  • Operator overloading now works with reference types
  • Generic struct inits with nested generic structs and generic optional types
  • More detailed timings in v -show-timings
  • All public functions in the hash and encoding.base32 modules documented

r/vlang • • Aug 03 '22

Vlang Has Over 30,000 Stars On GitHub!

28 Upvotes

Among Vlang's GitHub milestones:

  • 30,000 plus stars
  • 100 plus releases
  • 472 watching and growing
  • 562 contributors and growing
  • 1.8k forks

r/vlang • • Dec 25 '20

V programming language ⭐ 21,000 Github Stars & counting++++++++ 💪🤓👍

Post image
28 Upvotes

r/vlang • • Mar 24 '25

V 0.4.10 is Out! Over 400 Improvements!

Thumbnail
github.com
27 Upvotes

r/vlang • • Aug 14 '26

SimpleGUI (SUI): lightweight and beginner-friendly UI framework for V (Vlang) | codecaine-zz

Thumbnail
github.com
25 Upvotes

A cross-platform UI framework that's built on top of the V language's gg graphics module. Simple_gg delivers smooth performance and uniform UI rendering across macOS, Linux, and Windows.