Vox browser now has a WebGL shader compiler written in V.
It has replaced ANGLE with a direct Metal WebGL backend on macOS.
vox-browser.org
V (programming language)
V, also known as vlang, is an in-development statically typed, compiled programming language created by Alexander Medvednikov in early 2019. It was inspired by Go, and other programming languages including Oberon, Swift, and Rust. It is free and open-source software released under the MIT License, and currently in beta. More on Wikipedia
-
The V Programming Language
@v_language
-
The V Programming Language
@v_language
Atari Jaguar emulator in V:
vjag.vercel.app -
The V Programming Language
@v_language
Caddy in V:
github.com/trufae/vaddy
Uses a lot less RAM and CPU than Caddy. -
The V Programming Language
@v_language
Over the last 7 months, V has been rewritten from scratch.
It was a messy period, with a "move fast, break often" philosophy.
Finally, the macOS master CI is green for the first time in 7 months, and it's going to stay green from now on.
Linux and others are coming soon. -
The V Programming Language
@v_language
Vinix, a new OS/kernel built from scratch, now runs on PowerPC!
It took the contributor only an hour:
> I wasn't expecting it to get a shell that fast, now it's doing the graphics mode, pci, network, usb and sound
vinix-os.org
github.com/vlang/vinix/pull/273 -
The V Programming Language
@v_language
Vox, a new browser written in V, is open source now!
github.com/vox-browser/vox
vox-browser.org
The V Programming Language
@v_language
Vox, a new browser in V, can now run chatgpt.com! It loads 10% faster than Chrome.
Hacker News, Reddit, Wikipedia, BBC, CNN, The Verge, Engadget, Stack Overflow, and Slashdot have also been tested.
A test macOS build is coming in a couple of hours!
@vox_browser -
The V Programming Language
@v_language
Vox, a new browser written in V, can now run GitHub, a heavy React app!
Its rendering matches Chrome's, pixel for pixel.
vox-browser.org
The V Programming Language
@v_language
Vox, a new browser in V, can now run chatgpt.com! It loads 10% faster than Chrome.
Hacker News, Reddit, Wikipedia, BBC, CNN, The Verge, Engadget, Stack Overflow, and Slashdot have also been tested.
A test macOS build is coming in a couple of hours!
@vox_browser -
The V Programming Language
@v_language
Vox, a new browser in V, can now run chatgpt.com! It loads 10% faster than Chrome.
Hacker News, Reddit, Wikipedia, BBC, CNN, The Verge, Engadget, Stack Overflow, and Slashdot have also been tested.
A test macOS build is coming in a couple of hours!
@vox_browser
The V Programming Language
@v_language
macOS build is out!
github.com/vox-browser/vox/releases/download/0.1.0/Vox-0.… -
The V Programming Language
@v_language
A minimal, fast, native GitHub client built with V + ui2.
Shows PR diff stats, review status, and a merge button directly in the PR list, so you don't have to open each PR.
Also includes a button to restart CI jobs, which GitHub's UI lacks.
github.com/vlang/ghui
The V Programming Language
@v_language
All this in a 1 MB binary!
-
The V Programming Language
@v_language
Vendetta, a fast and minimal video player in pure V.
It will be Vinix's default player.
vendetta.divio.city -
The V Programming Language
@v_language
Vox browser running the V website.
Open-source release tomorrow.
- Pixel-perfect rendering identical to Chrome
- Full uBlock Origin built in
- 1 million lines of code
- Compiles in 1.5 seconds on M5 Max -
The V Programming Language
@v_language
V now has 128 bit ints!
i128 and u128.
Arithmetic, bitwise operations, maps, generics, and formatting.
>>> n := u128(1) << 100
>>> println(n)
1267650600228229401496703205376 -
The V Programming Language
@v_language
Vinix, a new OS/kernel built from scratch, can now run Android apps!
vinix-os.org
The goal: full Android runtime, minus the ads.
As Android grows more bloated and closed, Vinix aims to offer a truly open alternative.
Here's Google Maps running on Vinix: -
The V Programming Language
@v_language
Viltrum is #1 in the HTTP experimental benchmark!
github.com/Tuntii/viltrum
v.rustapi.cloud
http-arena.com -
The V Programming Language
@v_language
Vinix, a new OS/kernel, now runs the unchanged iOS version of PPSSPP and plays the God of War PSP demo.
A PSP game inside an iOS app on an operating system written from scratch.
Still experimental: software rendering, sound disabled.
vinix-os.org -
The V Programming Language
@v_language
Vinix, a new OS/kernel, is perfect for low end hardware.
vinix-os.org
Here's Vinix running on an Intel Atom n450 netbook with a Windows XP theme.
It runs well, RAM usage is small, no lags. -
The V Programming Language
@v_language
Vinix's ISO size has gone down from 1 GB to just 100 MB!
This was achieved by removing Firefox, X11, debug info, and many other packages that can be easily installed.
An yes, Vinix doesn't need X11 to run, it has its own WS.
vinix-os.org
blog.vinix-os.org/post/42/vinix-iso-shrinks-from-1-gb-to-… -
The V Programming Language
@v_language
Any Emacs fans here? Vinix, a new OS/kernel, now runs Emacs.
vinix-os.org -
The V Programming Language
@v_language
LangChain is now part of the V ecosystem!
Introducing LangChainV, developed by @ulisesjcf.
Build AI-powered applications in V with agents, chains, RAG, tools, and more!
github.com/ulises-jeremias/langchainv -
The V Programming Language
@v_language
When installing Vinix, a new OS/kernel built from scratch, you can quickly and easily install the most popular software.
vinix-os.org -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, now runs the Zed editor!
vinix-os.org -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, will feature a wide variety of themes to suit all tastes.
Many people requested a Windows 7 Aero them, so we implemented one!
What do you think?
vinix-os.org
The V Programming Language
@v_language
Many people requested a Windows 7 Aero *theme :)
-
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch in V, now boots on Intel laptops!
Running on a ThinkPad E470.
What already works:
Sleep on lid close
Battery percentage
Keyboard
Touchpad
vinix-os.org
Download the latest ISOs here:
github.com/vlang/vinix/releases -
The V Programming Language
@v_language
Vinix, a new OS/kernel, got a 1.0 roadmap:
github.com/vlang/vinix/blob/master/roadmap.md
Lots of exciting features are already implemented.
vinix-os.org -
The V Programming Language
@v_language
Since V compiles to WASM, you can run V entirely in your browser!
A WASM playground:
vlang.github.io/wasm-playground -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, now runs a N64 emulator!
vinix-os.org
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, now runs a PS1 emulator!
vinix-os.org -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, now runs a PS1 emulator!
vinix-os.org -
The V Programming Language
@v_language
V map size dropped from 144 to just 8 bytes!
Interfaces dropped from 32 to 16 bytes.
Options dropped from 80 to 16 bytes.
A detailed blog post explaining how we achieved this is coming soon. -
The V Programming Language
@v_language
Another project in V:
HorneroOS, an Arch-based Hyprland desktop for the Agentic Era, focused on deep customization, themes, layouts and polished UX. Its core tooling is written in V.
Built by @ulisesjcf
horneroos.com
github.com/HorneroOS/hornero -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, now runs Dota 2, a 60 GB game!
vinix-os.org
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, can now run Android apps without emulation.
vinix-os.org
Here's Roblox: -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch, can now run Android apps without emulation.
vinix-os.org
Here's Roblox:
The V Programming Language
@v_language
Dota 2 too now! Pog
-
The V Programming Language
@v_language
Vinix now runs Minecraft, DOOM, DOOM 3, Gothic II.
It will soon run Roblox, Counter Strike 2, and Dota 2!
Not bad for a kernel/OS that was written from scratch so recently.
vinix-os.org -
The V Programming Language
@v_language
A detailed blog post on how we made Docker and QEMU run on Vinix, a new kernel/OS written from scratch in V:
blog.vinix-os.org/post/27/docker-and-qemu-now-run-on-vinix
vinix-os.org -
The V Programming Language
@v_language
V now has a race detector that works just like Go's and passes the entire Go race detector test suite!
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language
@v_language
V now has recover() to recover from panics.
Works just like in Go:
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language
@v_language
Vinix desktop has been optimized even further and now uses only 30 MB of RAM!
vinix-os.org -
The V Programming Language
@v_language
Vinix can now run Steam!
The OS will be great for gaming, especially on Macs.
vinix-os.org -
The V Programming Language
@v_language
We got Docker running on Vinix, now QEMU too.
Vinix running on Vinix in QEMU:
vinix-os.org -
The V Programming Language
@v_language
Mustela SSG Demo: 1.3MB High-Speed V Engine with Parallel Pipeline
> In this video, I demonstrate how the 1.3MB Mustela binary integrates with Vite and JS libraries to build and develop a documentation site directly on ChromeOS Flex.
www.youtube.com/watch?v=jJHkLPb4rk8 -
The V Programming Language
@v_language
Which package management system should Vinix use?
We're using pkg right now. -
The V Programming Language
@v_language
Vinix runs Docker now!
vinix-os.org
The V Programming Language
@v_language
Vinix now has audio and SDL support!
Running DOOM with sound on Vinix:
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
Vinix now has audio and SDL support!
Running DOOM with sound on Vinix:
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
Vinix now runs DOOM!
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language reposted
okTurtles Foundation (@okTurtles@crib.social)
@okTurtles
okTurtles is proud to be a sponsor of @v_language.
We are thrilled to see their Vinix initiative.
The V Programming Language
@v_language
There's been a lot of interest in Vinix.
It's great that people still care about performance and low resource usage.
If you'd like to help get Vinix 1.0 out sooner, with GPU drivers for M1–M5 Macs and broader hardware support, please consider sponsoring
github.com/sponsors/medvednikov
The V Programming Language
@v_language
Vinix apps launch instantly. The speed of the Vinix desktop is insane.
The desktop environment, window manager, and window server are written from scratch in V and V UI2.
vinix-os.org -
The V Programming Language
@v_language
The V website is now available in the Internet's most popular 7 languages:
vlang.io -
The V Programming Language
@v_language
V's official website has been redesigned!
And it's in pure V now!
vlang.io -
The V Programming Language
@v_language
V UI2 IDE has been improved and is now using native widgets on macOS and Windows:
github.com/vlang/ui2
The V Programming Language
@v_language
V's official UI framework has been relaunched as UI2!
github.com/vlang/ui2
It uses native widgets on Windows (Win32) and macOS (AppKit), while Linux uses custom rendering to avoid heavy GTK/Qt dependencies.
It even comes with a Delphi/Lazarus-style WYSIWYG IDE: -
The V Programming Language
@v_language
Several people pointed out that it wasn't Minecraft in the screenshot.
Indeed, it was Minetest.
Well, here's Vinix running official Minecraft, Java edition:
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
V's official UI framework has been relaunched as UI2!
github.com/vlang/ui2
It uses native widgets on Windows (Win32) and macOS (AppKit), while Linux uses custom rendering to avoid heavy GTK/Qt dependencies.
It even comes with a Delphi/Lazarus-style WYSIWYG IDE: -
The V Programming Language
@v_language
There's been a lot of interest in Vinix.
It's great that people still care about performance and low resource usage.
If you'd like to help get Vinix 1.0 out sooner, with GPU drivers for M1–M5 Macs and broader hardware support, please consider sponsoring
github.com/sponsors/medvednikov
The V Programming Language
@v_language
Vinix apps launch instantly. The speed of the Vinix desktop is insane.
The desktop environment, window manager, and window server are written from scratch in V and V UI2.
vinix-os.org -
The V Programming Language
@v_language
Vinix apps launch instantly. The speed of the Vinix desktop is insane.
The desktop environment, window manager, and window server are written from scratch in V and V UI2.
vinix-os.org -
The V Programming Language
@v_language
`int` is now `i64` on 64 bit systems, `i32` on 32 bit systems, like in Go.
Therefore V arrays no longer have a size limit of 2 billion elements :) -
The V Programming Language
@v_language
Chromium now runs on Vinix! This has been the toughest one to support so far.
Vinix is a new OS/kernel written from scratch in V.
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
The new compiler is now the default on all operating systems!
v -old-compiler will be available for a year.
The V Programming Language
@v_language
The new compiler is now the default on Linux too!
Windows later this week.
The V Programming Language
@v_language
The new compiler is now the default on macOS!
Linux later this week.
The V Programming Language
@v_language
V's new compiler is 2.7x faster at compiling V1 than V1 :)
-
The V Programming Language
@v_language
Yesterday: Blender.
Today: GIMP :)
Running on a completely new kernel/OS in V.
vinix-os.org
The V Programming Language
@v_language
Blender now runs on Vinix, a new OS written in V:
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
Blender now runs on Vinix, a new OS written in V:
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
MS Office running on Vinix, a new OS written in V:
vinix-os.org
There's a lot happening under the hood:
- An x64 app running on ARM64 hardware (Vinix translates between architectures)
- A Windows app running through WINE
- WINE itself is an Alpine Linux binary -
The V Programming Language
@v_language
Sublime Text now runs on Vinix.
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
Wayland/Hyprland running on Vinix, a new OS written from scratch in V.
vinix-os.org
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
There will be a lot of posts about Vinix in the coming days :)
vinix-os.org
Here's Vinix running Minetest via Xorg/MESA/OpenGL:
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
-
The V Programming Language
@v_language
Vinix, an OS in pure V, now has a desktop environment written in V + ui2:
The V Programming Language
@v_language
GitHub repo: github.com/vlang/vinix
The V Programming Language
@v_language
Official website: vinix-os.org
-
The V Programming Language
@v_language
Homebrew.v, a V-translated fork of Homebrew.
220k LOC of logic translated. Fully compatible and passes all tests.
Up to 3.6× faster, with up to 9.3× less RAM usage.
github.com/vlang/homebrew.v -
The V Programming Language
@v_language
VLS (V language server) has been migrated to the new backend as well!
The V Programming Language
@v_language
V's code formatter vfmt has also been migrated to the new backend.
The V Programming Language
@v_language
The new compiler is now the default on Linux too!
Windows later this week.
The V Programming Language
@v_language
The new compiler is now the default on macOS!
Linux later this week.
The V Programming Language
@v_language
V's new compiler is 2.7x faster at compiling V1 than V1 :)
-
The V Programming Language
@v_language
MongrelDB-V, a pure V client for MongrelDB, embedded+server database with SQL, vector search, full-text search, and AI-native retrieval.
No external dependencies - built on the standard library net.http. The API mirrors the MongrelDB PHP and Go clients.
github.com/visorcraft/MongrelDB-V -
The V Programming Language
@v_language
V's code formatter vfmt has also been migrated to the new backend.
The V Programming Language
@v_language
The new compiler is now the default on Linux too!
Windows later this week.
The V Programming Language
@v_language
The new compiler is now the default on macOS!
Linux later this week.
The V Programming Language
@v_language
V's new compiler is 2.7x faster at compiling V1 than V1 :)
-
The V Programming Language
@v_language
The new compiler is now the default on Linux too!
Windows later this week.
The V Programming Language
@v_language
The new compiler is now the default on macOS!
Linux later this week.
The V Programming Language
@v_language
V's new compiler is 2.7x faster at compiling V1 than V1 :)
-
The V Programming Language
@v_language
🚀 Ulises Jeremias migrated agent-toolkit's canonical CLI from Python to V.
The goal: make the binary native, fast, portable, and easy to distribute.
Linux startup:
`--version` 43ms → 4.7ms
inventory 164ms → 8.6ms
doctor 735ms → 5.6ms
github.com/ulises-jeremias/agent-toolkit -
The V Programming Language
@v_language
The new compiler is now the default on macOS!
Linux later this week.
The V Programming Language
@v_language
V's new compiler is 2.7x faster at compiling V1 than V1 :)
-
The V Programming Language
@v_language
V's new compiler is 2.7x faster at compiling V1 than V1 :)
-
The V Programming Language
@v_language
Recently, 12 new V bugs were reported on GitHub. None of them could be reproduced with the new compiler. It simply doesn't have these bugs.
That means the new architecture is more robust and better designed.
The new compiler is becoming the default on macOS this week. -
The V Programming Language reposted
Swastik Baranwal ⇌
@Delta2315
After six years, I finally completed implementing the monkey 🐒 language in @v_language
It is a programming language from @thorstenball's book "Writing an Interpreter in Go"
You can learn more about it from monkeylang.org
My implementation: github.com/Delta456/monkey_v -
The V Programming Language
@v_language
V has always offered flexible memory management.
The default is GC, which works well for 90%+ of use cases.
You can also use manual memory management with -gc none, just like in C.
Now, with the -ownership flag, V also supports Rust's ownership model!
More details soon ;) -
The V Programming Language reposted
Anton Zhiyanov
@ohmypy
The V language tried an interesting experiment: what if you start with Go and add all the features the Go team left out to keep things simple?
Enums, sum types, unions, pattern matching, attributes, access modifiers, operator overloading, named and default parameters — V has them all.
There's even a built-in ORM! 🫠 -
The V Programming Language
@v_language
"Is V still fast?" webpage has been updated.
fast.vlang.io -
The V Programming Language
@v_language
V's new compiler went from passing 81% of tests to 100%!
All tests now pass, and every example compiles.
The new compiler will soon become the default on macOS, with other operating systems to follow.
The old compiler will remain available for one year via v -old-compiler. -
The V Programming Language
@v_language
vfmt now handles this big change and automatically migrates your code from json to json2. You don't need to do anything.
The V Programming Language
@v_language
V's experimental pure V x.json2 module is now stable and has been moved to json2.
It's replaced the old cJSON based json module. -
The V Programming Language
@v_language
One week later, V's new compiler test passage went from 50% to 81%!
We're very close!
The V Programming Language
@v_language
One week later, V's new compiler test passage went from 33% to 50%!
The V Programming Language
@v_language
V's new compiler can now compile not only itself, but also:
- V's current compiler: 250k LOC
- veb apps
- 2D graphics apps using the gg lib
- 3D graphics apps using the Viper lib
Most importantly, one third of the 3 350 tests now pass! -
The V Programming Language
@v_language
V's experimental pure V x.json2 module is now stable and has been moved to json2.
It's replaced the old cJSON based json module. -
The V Programming Language
@v_language
V 0.5.2 is out! It's our biggest release yet.
1400+ items in the changelog:
github.com/vlang/v/releases -
The V Programming Language
@v_language
V's new fasthttp module now supports Windows!
fasthttp runs on Linux using epoll, on BSDs using kqueue, and on Windows using IOCP. -
The V Programming Language
@v_language
One week later, V's new compiler test passage went from 33% to 50%!
The V Programming Language
@v_language
V's new compiler can now compile not only itself, but also:
- V's current compiler: 250k LOC
- veb apps
- 2D graphics apps using the gg lib
- 3D graphics apps using the Viper lib
Most importantly, one third of the 3 350 tests now pass! -
The V Programming Language
@v_language
Open-source Minecraft: Bedrock Edition in V:
github.com/bedrock-v -
The V Programming Language
@v_language
V's new compiler can now compile not only itself, but also:
- V's current compiler: 250k LOC
- veb apps
- 2D graphics apps using the gg lib
- 3D graphics apps using the Viper lib
Most importantly, one third of the 3 350 tests now pass! -
The V Programming Language
@v_language
V's compiler no longer emits any #include's in generated C code.
This makes the generated C more portable and faster to compile.
It's also an important step toward making V fully independent of C compilers, as V's native ARM64/AMD64 backends become production ready. -
The V Programming Language
@v_language
V’s new compiler has been migrated to a flat AST!
Along with other memory optimizations, this reduced RAM usage for self-hosting from ~6 GB to 400 MB: a 15× decrease! -
The V Programming Language
@v_language
Veb, V's web framework, is now multithreaded 🚀
We replaced the old single-threaded picoev event loop with a brand new fasthttp backend:
• one worker thread per CPU core
• epoll on Linux, kqueue on macOS/BSD
• zero lock contention
• zero-copy sendfile() for static files -
The V Programming Language
@v_language
`v install module` now exits with an error if the existing module directory is a git repository that has uncommitted changes (staged, unstaged, or untracked) or local commits not pushed to any remote.
That was implemented after `v install` wiped all local unpushed changes :) -
The V Programming Language
@v_language
V's stdlib now has crypto.hkdf:
github.com/vlang/v/pull/27315 -
The V Programming Language
@v_language
V's new and improved compiler backend can now not only compile itself, but also web apps like gitly.org, 3 times faster than current V.
The plan is to make it the default by the end of the summer, but it will have to pass all the thousands of tests first. -
The V Programming Language
@v_language
V's builtin Postgres driver (which is also used in V ORM) is now thread safe, like in Go.
You no longer have to use connection pools.
MySQL, sqlite, MSSQL drivers are getting this soon too. -
The V Programming Language
@v_language
You can now build iOS apps in V!
There are new vlib modules `ios` and `macos`:
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language
@v_language
Should the compiler warn about unused function parameters?
(see the screenshot in the first reply)
The V Programming Language
@v_language
-
The V Programming Language
@v_language
V has a flexible memory management system.
You can disable the default GC and manage memory manually, or use arenas.
A great use case for arenas is web apps. Allocate everything for a request in one arena, then free it all at once when the request finishes:
v -prealloc veb_app -
The V Programming Language
@v_language
Panic backtraces are now a lot nicer.
They show full file paths with line numbers and method names, so you can jump straight from a crash to the exact code that caused it.
Don't forget to use `v -g` for such backtraces. -
The V Programming Language
@v_language
Mustela, an ultra-fast static site generator in V:
codeberg.org/mustela/web
mustela.vercel.app
9,000+ pages/second. Zero-copy architecture.
"Building Mustela in V was a breeze. The performance I'm getting without a complex GC is exactly why I chose the language." -
The V Programming Language
@v_language
You can run `v git-fmt-hook install` in your repo, and `v fmt` will be run on all your V files on every commit.
-
The V Programming Language
@v_language
Why can't compilers fix such simple errors?
It knows the var must be declared as mutable, and it's a very common error, so why not just fix it?
We're considering implementing v -autofix foo.v for this. It'd be very useful when used in VS Code, for example.
Should we add this? -
The V Programming Language
@v_language
The V repo now has 830k lines of code!
Of those, 225k lines are tests.
V still compiles itself in 0.6 seconds on M5! -
The V Programming Language reposted
Laurent Cheylus
@lcheylus
Big Improvement of the YAML module for V Language @v_language: improve Performance and add Tests Suite to raise Conformance - Work by David Legrand @davlgd #vlang github.com/vlang/v/pull/27021
-
The V Programming Language
@v_language
V now has <50 open bugs!
10k+ bugs have been fixed.
(We don't have a stale issue bot, each of those bugs has actually been fixed.)
We're out of bugs, please report more :) -
The V Programming Language
@v_language
V now supports operator overloading for []
-
The V Programming Language
@v_language
V's new compiler now has incremental compilation enabled by default!
For now, it works at the module level. For example, if you’re working on V and modify the scanner module, only that module will be recompiled to produce the binary.
You can try V2 with
v -v2 file.v -
The V Programming Language
@v_language
Veb, V's builtin web framework, now supports SSL natively!
-
The V Programming Language
@v_language
V now has its own GC in pure V!
v -gc vgc .
Right now It's significantly slower than the default Boehm GC, but it's a good start.
The performance will be improved.
Having a GC in pure V is much better than relying on a C library. -
The V Programming Language
@v_language
We've migrated most of our CI from YAML to VSH.
Now everything is `v run macos_ci.vsh <task_name>`.
This is easier to maintain, run locally, makes it possible to use other CI providers, and most importantly no more YAML! :D -
The V Programming Language
@v_language
There's now a benchmark for the new SoA structs:
github.com/vlang/v/blob/master/bench/bench_soa_structs.v
It shows up to a 25% speedup. -
The V Programming Language
@v_language
Should V support `?!Type` ?
(Option + Result types) -
The V Programming Language
@v_language
V now has SoA structs (Struct of Arrays memory layout) via the @[soa] attribute:
-
The V Programming Language
@v_language
midvi, a cross-platform MIDI library for V, supporting both MIDI 1.0 and MIDI 2.0 (UMP):
github.com/Krotki/midvi
Backends are loaded at runtime. No compile-time C headers or static linking required. -
The V Programming Language
@v_language
For those wondering how fast V's new self-hosted ARM64 backend is, it currently takes 0.5 seconds to compile V.
We'll optimize it and bring that number down to around 0.3 seconds.
The V Programming Language
@v_language
Great news!
V's new arm64 backend is now self hosted as well!
It means that for the first time ever you don't need a C compiler to compile V.
amd64 later this month. -
The V Programming Language
@v_language
VLS now has inlay hints (can be disabled with a setting):
-
The V Programming Language
@v_language
Great news!
V's new arm64 backend is now self hosted as well!
It means that for the first time ever you don't need a C compiler to compile V.
amd64 later this month. -
The V Programming Language
@v_language
V: First Impressions - More batteries included than I expected
by @bradcypert
www.youtube.com/watch?v=IuE6Bo1klK0 -
The V Programming Language
@v_language
V 0.5.1 is out!
github.com/vlang/v/releases/tag/0.5.1 -
The V Programming Language
@v_language
V's builtin ORM now has aggregate function support:
github.com/vlang/v/pull/26697 -
The V Programming Language
@v_language
Viper Engine: 1214 meshes, 7 million triangles at 310 FPS!
Release in March.
www.youtube.com/watch?v=z9d35wLKx-Q -
The V Programming Language
@v_language
qpTorrent, a 1.2kloc GUI/CLI torrent client in V + GUI:
github.com/qptorrent/qptorrent
The code is very simple, so if you wanted to learn how p2p torrents work, dive in! -
The V Programming Language
@v_language
V's immediate mode UI is very efficient.
With 5K widgets, it only takes a few milliseconds to build new layouts.
v install gui -
The V Programming Language
@v_language
V now has native atomic operations in pure V, without depending on an external C library:
github.com/vlang/v/pull/26529 -
The V Programming Language
@v_language
V's new backend is now self hosted (can compile itself)!
Only one of the 4 new backends is self hosted so far: Clean C. It does direct V AST => C translation, like old V's main backend.
SSA C, SSA arm64, and SSA amd64 will be self hosted soon as well.
The V Programming Language
@v_language
V now has SSA, SSA => x64/arm64 backends, a linker built in V and a code signer.
As the result, a 2000 line test program is compiled in 8ms!
It's work in progress, self hosting is not possible yet. But once it is, it's going to be awesome! -
The V Programming Language
@v_language
V GUI, V's official immediate mode UI library now supports animations:
github.com/vlang/gui -
The V Programming Language
@v_language
V now has SSA, SSA => x64/arm64 backends, a linker built in V and a code signer.
As the result, a 2000 line test program is compiled in 8ms!
It's work in progress, self hosting is not possible yet. But once it is, it's going to be awesome! -
The V Programming Language reposted
David Legrand ☁️ 🤘
@davlgd
Over the Christmas break, I came across Gitmal—a neat Go tool that turns a local Git repo into a static site with theme support: github.com/antonmedv/gitmal
Curious how it worked under the hood, I decided to reimplement it in @v_language, with help from Claude Opus 4.5 to get a solid, idiomatic version up quickly.
The result is GitVal: a ~500 KB native binary that stays lean by delegating syntax highlighting to the Chroma CLI, instead of embedding the full library (which pushes the Go version over 10 MB). github.com/davlgd/gitval
Thread 🧵 -
The V Programming Language
@v_language
JSON-RPC 2.0 client+server implementation is now part of V's stdlib:
github.com/vlang/v/tree/master/vlib/net/jsonrpc -
The V Programming Language
@v_language
JSON-RPC 2.0 client+server implementation in pure V:
github.com/Te4nick/jsonrpcv
Should it be added to V's stdlib? -
The V Programming Language
@v_language
V 0.5 is out! A major release.
400 fixes in the changelog.
3700 (!) fixes since V 0.4.
Happy new year!
github.com/vlang/v/releases/tag/0.5 -
The V Programming Language
@v_language
VSL v0.1.51 released!
Major milestone: VSL now has 100% pure V BLAS and LAPACK implementations as the default!
- Zero deps (no C libs needed)
- High perf (competitive with C backends)
- Cross-platform
- Production ready
- Benchmarks and enhanced docs
github.com/vlang/vsl/releases/tag/v0.1.51 -
The V Programming Language
@v_language
rdmon: A lightweight OSINT tool for monitoring RustDesk peer online/offline status changes.
Written in V and released under the MIT license.
github.com/fleximus/rdmon #osint #monitoring #rustdesk #v #vlang -
The V Programming Language reposted
viper_engine
@viper_engine
Viper, an upcoming 3D game engine in V already supports:
- mesh rendering
- skeletal animation
- textures
- hot code reloading
This example compiles in 0.3 seconds and runs at 120 fps with 70 animated meshes: -
The V Programming Language
@v_language
V's main repo now has 21 000 commits!
-
The V Programming Language
@v_language
A symmetric cipher written in V.
Inspired by the ideas of quantum cryptography and combines classical cryptographic methods with elements of post-quantum protection. Provides reliable data protection from modern attacks and partly from future threats:
github.com/evpix/quantum_cipher -
The V Programming Language
@v_language
A game made entirely in V has been released on Steam!
It weights 3MB and runs on Linux and Windows natively.
Taking computer redstone to the next level with 24bit color screens, keyboard inputs, powerful tools like copy pasting, saving blueprints.
store.steampowered.com/app/4146690/Not_Gates/ -
The V Programming Language
@v_language
V compiles itself in 0.39s on Apple's latest M5 CPU.
-
The V Programming Language reposted
David Legrand ☁️ 🤘
@davlgd
The @v_language native web server (veb) now includes Markdown files content negotiation according to llms.txt proposal, built-in github.com/vlang/v/blob/master/vlib/veb/README.md
-
The V Programming Language
@v_language
V now has scoped defers by default! A feature that has been requested by many.
Old function scope defers are available via `defer(fn) {}` syntax.
docs.vlang.io/statements-&-expressions.html -
The V Programming Language reposted
Anwar
@anwar_nairi
It is absurd how fast and reactive the @v_language core team fixes complicated bugs
Not only V is my favorite programming language, it has one of the most genuine maintainers I've seen in a long time
So excited for the upcoming future! -
The V Programming Language
@v_language
V now has an integer overflow check!
github.com/vlang/v/pull/25442
We decided not to make it default for performance reasons, but it can be easily enabled via `v -check-overflow .` or a module attribute. -
The V Programming Language reposted
Felix Ehlers
@FelixEhlers
Happy to announce the realease of my new cli tool pfjson that converts BSD Packet Filter (pf.conf) to JSON and vice versa. I hope it's useful - if you have the time to test, let me have your feedback. github.com/fleximus/pfjson #pfjson #pf #firewall #freebsd #openbsd #opnsense #foss
-
The V Programming Language
@v_language
V 0.4.12 is out!
The changelog has 350+ items.
70% faster json encoder, VLS mode, hundreds of fixes and improvements.
github.com/vlang/v/releases/tag/0.4.12 -
The V Programming Language
@v_language
V's math.big module now has Knuth's division.
Now, dividing a number with 366k digits by one half its length is over 100+ times faster.
github.com/vlang/v/pull/25242 -
The V Programming Language
@v_language
A thorough review of V by Kris Tun:
kristun.dev/posts/my-foray-into-vlang
"I like V a lot. The abstraction over the syntax is so nice that made me enjoy writing the syntax as a whole."
"V has come a lot further than when I tried it in 2023. I’ll be actively using it from now on." -
The V Programming Language
@v_language
V now has comptime match:
-
The V Programming Language
@v_language
The new V language server in pure V has been released!
github.com/vlang/vls
Current features:
- Go to definition
- Autocomplete for functions and params, struct fields and methods
- Instant errors as you type
More to come soon:
- Refactoring
- Folding
- Hover for docs -
The V Programming Language
@v_language
Magnetar, a high-performance BitTorrent parsing and manipulation library written in V.
It provides zero-dependency, memory-safe operations for working with torrent files, bencode data, and magnet links.
github.com/watzon/magnetar -
The V Programming Language
@v_language
V supports both GC and manual memory management.
The entire standard library uses manual memory management, allowing it to be used in both GC and manually managed applications.
We don't have separate versions of stdlib. -
The V Programming Language reposted
MACHO Δ
@0xTMK
github.com/Macho0x/quantamania-v
I've created a @v_language trading indicators/signals/quant repo
I will keep updating it over time -
The V Programming Language
@v_language
For each documentation change, V's CI verifies that the code compiles and is formatted:
-
The V Programming Language
@v_language
The V project has recently reached 20 000 commits!
(That's with a clean linear git history: no merge commits) -
The V Programming Language
@v_language
V 0.4.11 is out!
400+ items in the changelog!
github.com/vlang/v/releases/tag/0.4.11 -
The V Programming Language
@v_language
V now has OpenBSD CI!
In addition to FreeBSD, Linux, Windows, macOS.
Laurent Cheylus
@lcheylus
New CI for build/tests on OpenBSD added in V language repository - cc @v_language #openbsd #vlang github.com/vlang/v/pull/24732
-
The V Programming Language
@v_language
V now has an official immediate mode UI framework!
github.com/vlang/gui
v install gui
Developed and maintained by Mike Ward. -
The V Programming Language
@v_language
The new VLS now also supports instant error highlighting:
-
The V Programming Language reposted
David Legrand ☁️ 🤘
@davlgd
🚀 We work on 3 new runtimes on @clever_cloud : Linux, Static and... V (@v_language). Want to test? Let me know!
Want to know more ? ▶️github.com/CleverCloud/Community/discussions/66
😍 Thanks to the teams across @clever_cloud for the mutual efforts to ease how we provide new runtimes to customers! -
The V Programming Language
@v_language
Both of our previous language server attempts have been bad. Unstable and taking up lots of resources.
A new, pure V language server is coming this week.
It's very stable and uses <50MB of RAM.
No more Tree Sitter and Rust dependencies. It's in pure V! -
The V Programming Language
@v_language
V package has been added to Alpine Linux:
pkgs.alpinelinux.org/package/edge/testing/x86_64/vlang -
The V Programming Language reposted
Anwar
@anwar_nairi
While Go has a good foundation for simplicity and performance, I feel on some critical points like type safety, generics and error handling, @v_language just got it even more right
-
The V Programming Language
@v_language
A fake data generation library built in
@v_language
It helps you generate semi-realistic fake data.
Primarily use is within your test files:
❌ text := "foo"
✅ text := fake.text()
github.com/khalyomede/faker -
The V Programming Language
@v_language
V now supports 3 more architectures:
- loongarch64
- riscv32
- s390x (IBM Z) -
The V Programming Language
@v_language
V's new compile time tracker tracks scanner, parser, checker, gen stages with nice graphs.
fast2.vlang.io
On this particular graph the recent cgen optimizations are clearly seen: -
The V Programming Language
@v_language
V is a statically compiled language, yet it reads much like a dynamic one.
The compiler is smart: it understands context and doesn't require users to provide unnecessary type info.
For example, if a function is expected to return `[]string`, you can simply write `return []`: -
The V Programming Language
@v_language
V has always been about simplicity and readability, which is why we've avoided macros.
However, some kind of code generation is needed. Perhaps Go-style generation?
What do you think? -
The V Programming Language
@v_language
V is now on TIOBE index! #43
-
The V Programming Language
@v_language
The vlang/v repo has 137k loc of tests!
-
The V Programming Language
@v_language
Someone generated our mascot using the hyped style :)
-
The V Programming Language
@v_language
An ultra fast HTTP server in V.
510k rps:
github.com/enghitalo/vanilla_http_server
We're most likely going to integrate it into vlib. -
The V Programming Language
@v_language
V 0.4.10 is out!
400+ items in the changelog:
github.com/vlang/v/releases/tag/0.4.10 -
The V Programming Language
@v_language
The V repo just got a new example: Sokoban!
github.com/vlang/v/tree/master/examples/sokoban -
The V Programming Language reposted
David Legrand ☁️ 🤘
@davlgd
Vous l'attendiez, il est là : le SDK de @clever_cloud en @v_language 🤓 github.com/davlgd/cleVer/
-
The V Programming Language
@v_language
You can now define anonymous structs without struct type definitions.
Previously you had to do it like in Go:
a := struct {
name string
age int
}{
name: "Foo"
age: t()
} -
The V Programming Language
@v_language
winmd: generating V code from Windows API metadata files
A lot of the ergonomics that V provides with sumtypes, enum matching, compile time, attributes, interfaces and option/result types are added on top by this generator.
github.com/revosw/winmd.v -
The V Programming Language
@v_language
Vinix, a new OS/kernel written from scratch in V, can now run GTK3!
github.com/vlang/vinix -
The V Programming Language
@v_language
V's native backend, which generates machine code directly, can now compile Fibonacci!
The goal is to bring it fully on par with our C backend so it can compile the V compiler.
Then V will be self-hosted, eliminating its dependency on a C compiler. -
The V Programming Language reposted
Jacob
@ismyhc
Tried @grok to see if it could write some @v_language. Only had to fix a few things. Grok 3 is super fast too!
Check this out @elonmusk @xai -
The V Programming Language
@v_language
V has a -show-depgraph flag that generates an image with a ModGraph of the program:
-
The V Programming Language
@v_language
First glimpse of the upcoming official SDL3 module for V:
-
The V Programming Language
@v_language
A Bluesky desktop client written in V:
github.com/mike-ward/Kite -
The V Programming Language
@v_language
V can be installed and run through a cPanel terminal on a shared hosting account without any issues:
-
The V Programming Language
@v_language
musi, a small interpreted language written in V:
github.com/EmmaTheMartian/musi -
The V Programming Language
@v_language
YACC parser written from scratch in V:
github.com/elliotchance/vyacc -
The V Programming Language
@v_language
V supports limited operator overloading for + - / *
Should it also support it for indexing? []
my_custom_map[index] = foo -
The V Programming Language
@v_language
V's hot code reloading now works on Windows.
Previously it only worked on Linux and macOS. -
The V Programming Language
@v_language
V 0.4.9 is out! Almost 400 items in the changelog:
github.com/vlang/v/releases/tag/0.4.9 -
The V Programming Language reposted
Anwar
@anwar_nairi
Read my latest blog post on @ThePracticalDev about Mantis - the new type safe web framework written in @v_language
dev.to/anwar_nairi/mantis-a-web-framework-written-in-v-39e9 -
The V Programming Language
@v_language
V is very fast, but it used to be true only for debug builds.
V's optimized compilation speed is now 12 times faster on a 14 core cpu!
2.1s vs 14s
Basically if you have an N core cpu, v -prod will be ~N times faster!
(for now it needs a parallel-cc flag, only Linux and macOS)
The V Programming Language
@v_language
A typo: 2.1s vs 24s
-
The V Programming Language
@v_language
AoC day 13 in V:
github.com/vlang/adventofcode/blob/main/2024/13/drakeerv.v -
The V Programming Language
@v_language
A V module that provides support for xAI API:
github.com/ismyhc/vxai -
The V Programming Language reposted
Jacob
@ismyhc
I gotta say @v_language is such a joy to write. It's quite amazing how quickly you can prototype and write cool little programs. Ive almost written entirely a v-lang module for @xai api. Will post once its finished.
-
The V Programming Language
@v_language
AoC Day 7 in V by Alex The Dev:
www.youtube.com/watch?v=HmUcYFoV1eM -
The V Programming Language
@v_language
As promised, we just decreased the amount of generated code significantly.
Unused functions are no longer generated by the compiler.
For example, hello world size has been decreased by 60%.
Our slowest sanitized CI times went from 160/207 minutes to 89/147 minutes:
The V Programming Language
@v_language
The size of the binaries generated by V is slowly but steadily growing.
Hello world is now 124 KB on macOS, for example.
We're aware of this, and this is not acceptable of course.
V 0.6 will reduce binary sizes and C output significantly. -
The V Programming Language
@v_language
AoC day 4 in V:
github.com/vlang/adventofcode/blob/main/2024/04/leodev.v -
The V Programming Language
@v_language
AoC day 3 solution in V:
github.com/vlang/adventofcode/blob/main/2024/03/leodev.v
Do you want daily solutions posted here? -
The V Programming Language
@v_language
Clockwork, a language-agnostic build tool in V. Efficient, easy, and extensible:
github.com/EmmaTheMartian/clockwork -
The V Programming Language
@v_language
AoC has started!
Our official repo with solutions in V:
github.com/vlang/adventofcode -
The V Programming Language
@v_language
A new review from a happy developer:
-
The V Programming Language
@v_language
On Apple's latest M4 Mac Mini (base configuration) V compiles itself in 0.35 seconds.
An unoptimized build of V compiles itself in 0.75 seconds: -
The V Programming Language
@v_language
Fixed size arrays now have the same methods as dynamic arrays:
- contains()
- sorted() & sort()
- reverse()
- index() -
The V Programming Language
@v_language
Puzzla Vibes, a nice game with relaxing music written in V, can now be played in the browser. It runs via WASM:
blackgrain.itch.io/puzzle-vibes -
The V Programming Language
@v_language
V can cross compile to Linux, but web apps failed to cross compile due to the OpenSSL dependency (a non-V dependency).
It has been fixed, and from now on you can easily deploy your web apps to Linux from macOS and Windows: -
The V Programming Language
@v_language
A new video on our YouTube channel:
V 0.4.8 compiling itself in 0.48s on MacBook Air M3
www.youtube.com/watch?v=vV-mzTDUpAI -
The V Programming Language
@v_language
Go devs are used to calling `type` fields `typ` since `type` is a reserved keyword.
It used to be like that in V too, until today.
Now we can use keywords in enums, fields, and function names.
No more `product.typ`, `mutex.@lock`, `@select()`.
product.type
mutex.lock
select() -
The V Programming Language
@v_language
V is so good at running on old hardware and operating systems, it even runs on Windows XP!
-
The V Programming Language
@v_language
V 0.4.8 is out!
250+ items in the changelog:
github.com/vlang/v/releases/tag/0.4.8 -
The V Programming Language
@v_language
Due to many requests, V is getting a new way to handle memory: explicit memory allocation and custom allocators.
It's mostly needed by developers working on low level applications.
It'll be fully optional, enabled with a compiler flag.
GC is going to remain the default. -
The V Programming Language
@v_language
Translating @ID_AA_Carmack's 1993 DOOM from C to V, building the V version in under a second, and running it:
Source code:
github.com/vlang/doom
Full video:
www.youtube.com/watch?v=6oXrz3oRoEg -
The V Programming Language
@v_language
Should V have grouping of consts?
pub const (
a = 1
b = 2
)
vs
pub const a = 1
pub const b = 2 -
The V Programming Language
@v_language
V recently removed `const` grouping to enforce the one way philosophy and make grepping for consts easier.
But many people think that grouped consts look much nicer.
Which way do you prefer? (The next tweet has the poll.) -
The V Programming Language
@v_language
V now has an io.BufferedWriter:
github.com/vlang/v/pull/22265
modules.vlang.io/io.html -
The V Programming Language
@v_language
Continuing to make compiler errors more useful.
If the args in the called function are wrong, the compiler now prints what's expected and what's provided.
Previously it just said "wrong number of args". Not very useful.
Contact us if you find a bad error message. We'll fix it! -
The V Programming Language
@v_language
The size of the binaries generated by V is slowly but steadily growing.
Hello world is now 124 KB on macOS, for example.
We're aware of this, and this is not acceptable of course.
V 0.6 will reduce binary sizes and C output significantly. -
The V Programming Language
@v_language
V's new builtin web framework veb delivers 55k req/s for "hello world".
For comparison, on the same machine Express delivers 14k rps, Ruby Puma - 24k rps. -
The V Programming Language reposted
Mehmet Hakan Satman
@mhsatman
Calculating the numerical integration of standard normal distribution from -1.96 to 1.96 (which is nearly %95) via Riemann Sums takes 48.80 millis in my computer, that's insane!
Now I am daily `v up` and watching the changes! Thank you for your efforts in doing V. -
The V Programming Language
@v_language
Optional explicit interface implementations have been added to V.
It only took 12 minutes to implement, that's how simple the V compiler is!
This now results in an error `CustomError` doesn't implement method `print_error` of interface `MyError`: -
The V Programming Language
@v_language
Optional explicit interface implementations have been suggested many times:
`struct PathError implements IError { ... }`
Here's a very good write-up with the benefits:
github.com/vlang/v/issues/22020
Do you think V should support them? (Interfaces would still be implicit by default). -
The V Programming Language
@v_language
An upcoming official 3D game engine in V now has skeletal animation!
The engine also supports hot code reloading, meaning you can work on your game without quitting it and recompiling it. -
The V Programming Language
@v_language
SDL Language Bindings list now includes V on SDL's official website:
libsdl.org/languages.php -
The V Programming Language
@v_language
V has very nice error messages, and we are constantly improving them.
After a recent fix you now a get a nice error about sum type variants that don't have a field you're trying to access, so that you know which types you have to update: -
The V Programming Language
@v_language
Shy, a 2D game engine in V:
github.com/Larpon/shy
Puzzle Vibes is one of the games written in it: blackgrain.itch.io/puzzle-vibes -
The V Programming Language
@v_language
vfmt now indents values in struct initialization, resulting in two nice columns, like gofmt:
-
The V Programming Language
@v_language
A blazing-fast DuckDB wrapper built with the V language, making it easier to leverage its power in your projects:
github.com/rodabt/vduckdb -
The V Programming Language
@v_language
V's standard library has a `math.vec` module for vector operations.
Very useful for programming games and other graphics:
modules.vlang.io/math.vec.html -
The V Programming Language reposted
Hazem Elomda
@hamzaemadm
Get Started with V: From Variables and Classes to Your First Web App medevel.com/get-started-with-v/
@v_language #programming #opensource -
The V Programming Language
@v_language
V 0.4.7 is out!
github.com/vlang/v/releases/tag/0.4.7 -
The V Programming Language
@v_language
A simple osu! standard simulator:
github.com/xjunko/kurarin -
The V Programming Language
@v_language
V got a new corporate sponsor: Huly, an open-source all-in-one replacement of Linear, Jira, Slack, and Notion.
huly.io
Your company can become a corporate sponsor via Patreon or GitHub:
www.patreon.com/vlang
github.com/sponsors/medvednikov -
The V Programming Language
@v_language
V has a new cool Matrix example that shows off the `term` and `term.termios` modules:
github.com/vlang/v/blob/master/examples/vmatrix.v -
The V Programming Language
@v_language
V now has a new example, interactive DOOM-style pixelated fire via the gg module:
github.com/vlang/v/blob/master/examples/gg/fire.v -
The V Programming Language
@v_language
Maze solver in V + gg (V's builtin graphics library)
github.com/TahaHachana/v-maze-solver
www.youtube.com/watch?v=Qu2xPuRzvDc -
The V Programming Language
@v_language
Vlang now has over 90 exercises on Exercism!
exercism.org/tracks/vlang -
The V Programming Language
@v_language
vPaint
Simple Image Viewer & Editor written in the V Programming Language:
pisaiah.github.io/vpaint -
The V Programming Language reposted
Julián Cortés
@__pity_
I'm reading the @v_language documentation and it looks like really nice! Similar to go, but with much better error handling. I'll try it soon.
-
The V Programming Language
@v_language
Derefencing: prefix or postfix?
-
The V Programming Language
@v_language
V compiles itself in 0.33 seconds on an Apple M3 MacBook Air!
An optimized build of V (built with v -prod) is 21% faster at compiling itself on the Apple M3 compared to the M2 (0.33s vs 0.42s).
An unoptimized build of V is a whopping 42% faster on the M3 (0.58s vs. 0.99s): -
The V Programming Language
@v_language
V just got &&= and ||=, which we initially forgot about for some reason :)
-
The V Programming Language
@v_language
A DataFrame library in V, inspired by Python's Pandas.
Uses the powerful DuckDB database as a backend:
github.com/rodabt/vframes -
The V Programming Language
@v_language
V has comptime conditional functions for improved performance.
It allows you to call functions if and only if a certain comptime var is defined (can be set with v -d flag).
For example, V's malloc has a V playground check, but it's only generated when building the playground. -
The V Programming Language
@v_language
The first public interview with Alexander Medvednikov, the creator of the V programming language.
The interview is mostly about V.
The video has English subtitles.
www.youtube.com/watch?v=xMGNlUZQ-6w -
The V Programming Language
@v_language
V can now cross compile to FreeBSD, in addition to Linux and Windows!
v -gc none -os freebsd examples/news_fetcher.v -
The V Programming Language
@v_language
V is a simple language, and we always need to keep the balance between features and simplicity.
We've avoided the complexity of an extra `power` operator in V: `math.pow(2, 3)` instead of `2 ^ 3`.
But it's been a somewhat frequently requested feature.
Should V have a power op? -
The V Programming Language
@v_language
Vinix, an OS/kernel written in pure V, booting on real hardware in a second and running the C++ compiler!
github.com/vlang/vinix
vinix-os.org -
The V Programming Language
@v_language
V 0.4.6 is out!
312 items in the changelog:
github.com/vlang/v/releases/tag/0.4.6 -
The V Programming Language
@v_language
A new section has been added to vlang.io home page: "What developers say about V".
Right now it has 14 positive reviews from different developers with various levels of experience: -
The V Programming Language reposted
-
The V Programming Language
@v_language
V's official documentation has been a single docs .md file on GitHub. It got to 8k lines (!) so we decided to launch a separate website:
docs.vlang.io
The docs are automatically generated and updated from that file.
As always it's light and fast :) Simple HTML, no JS -
The V Programming Language
@v_language
Experimental `x.vweb` module is now stable, it has been renamed to `veb`.
It replaces the old `vweb` module.
The new web framework is about 4 times faster in terms of requests per second, more stable, and simpler to use:
modules.vlang.io/veb.html -
The V Programming Language
@v_language
You can now run a simple HTTP server with a one liner in V (just like with Python):
v -e 'import net.http.file; file.serve()'
index.html is used as the home page: -
The V Programming Language
@v_language
Vinix, an OS/kernel written in pure V, can now run Solitaire!
github.com/vlang/vinix -
The V Programming Language reposted
Geoffrey Wilson
@suprjinx
play.vlang.io @v_language has a sweet playground -- nice UI, and executes very quickly!
-
The V Programming Language
@v_language
And here are common tasks in V vs C++:
github.com/vlang/v/wiki/V-for-CPP-developers -
The V Programming Language
@v_language
V is very similar to Go, but many common tasks are easier and less verbose:
(1/2)
The V Programming Language
@v_language
-
The V Programming Language
@v_language
We don't often do breaking changes, despite being in beta.
Today a minor breaking change was introduced: Time.unix is now Time.unix().
This fixes several issues with the Time struct:
github.com/vlang/v/pull/21293 -
The V Programming Language
@v_language
Notes on V by Dr. Jonathan Denning, a Computer Science professor at Taylor University, Indiana:
gfx.cse.taylor.edu/courses/cos350/notes/vlang.md.html -
The V Programming Language reposted
-
The V Programming Language
@v_language
V's language server repo:
github.com/vlang/v-analyzer
Which name do you prefer: VLS or v-analyzer? -
The V Programming Language
@v_language
V's builtin C translation is very powerful.
vtcc is the Tiny C Compiler translated to V via `v translate`:
github.com/felipensp/vtcc
It works great and can even be used to bootstrap V! -
The V Programming Language
@v_language
V 0.4.5 is out!
310 items in the changelog:
github.com/vlang/v/releases/tag/0.4.5 -
The V Programming Language
@v_language
ORM inserts are now expressions and return the ID of the inserted object:
-
The V Programming Language
@v_language
V's builtin json module is stable and fast, and has been very efficient at (de)serializing JSON.
However it uses a C dependency cJSON, so it's not a pure V module.
Fortunately json2, a pure V alternative, just got about twice as fast!
It will soon replace the old json module. -
The V Programming Language
@v_language
The V coreutils has crossed the 50% threshold!
This repository contains programs equivalent to GNU coreutils, written in V:
github.com/vlang/coreutils -
The V Programming Language reposted
bstnbuck
@bstnbuck
V's crypto library is growing again. New additions are ChaCha20, Poly1305 and ChaCha20-Poly1305. Thanks to the @v_language contributors!
An overview of implemented and (by me) planned crypto algorithms, protocols, etc. I have created V-crypto.
github.com/bstnbuck/V-crypto -
The V Programming Language
@v_language
Using Godot with V:
github.com/jcweaver997/vgdextension -
The V Programming Language
@v_language
Vweb is getting a major upgrade!
It's now much faster, simpler, more stable and predictable.
Hacks like [vweb_global] are no longer needed, global (app) and request contexts are now separate:
github.com/vlang/v/blob/master/vlib/x/vweb/README.md -
The V Programming Language
@v_language
An experimental register-based Virtual Machine for V:
github.com/felipensp/vvm -
The V Programming Language
@v_language
A new book on V is out!
It's called "Randomness Revisited using the V Programming Language" and it's an expansion of the author's MSc thesis at BIT Mesra.
There's a 20% discount available if you use the code special20.
novapublishers.com/shop/randomness-revisited-using-the-v-…
The V Programming Language
@v_language
This book is especially good if you want to learn about PRNGs and how V can be used for non-trivial software development like scientific benchmarking.
The V Programming Language
@v_language
-
The V Programming Language
@v_language
V 0.4.4 is out!
The changelog has 177 items:
github.com/vlang/v/releases/tag/0.4.4 -
The V Programming Language
@v_language
V is the fastest in a 20 language N-queens/matrix multiplication benchmark, which has recently reached a Hacker News front page:
github.com/attractivechaos/plb2 -
The V Programming Language
@v_language
A CSS parser in V:
github.com/Casper64/css -
The V Programming Language
@v_language
A positive comment from a newcomer. It highlights the things V improves upon Go:
-
The V Programming Language
@v_language
Advent of Code 2023 in V:
github.com/vlang/adventofcode
#adventofcode -
The V Programming Language
@v_language
const () grouping has been removed from the language.
vfmt will automatically turn const () groups into a simple `const name = val` list.
Several reasons:
- Much easier code search (can now simply grep for "const name")
- One way philosophy
- A smaller language & compiler -
The V Programming Language
@v_language
A proof of concept build of the Vox browser has been released:
vox.sx
Similar to Ladybird, it's a new independent browser built from scratch in V.
It's at an early stage, but it can already handle simple sites like HN with 4x less RAM and 20x faster rendering:
The V Programming Language
@v_language
If you're interested in contributing, join our Discord to join the development:
discord.gg/vlang -
The V Programming Language
@v_language
A game boy emulator in V!
Very clean code and structure:
github.com/lemoncmd/gamevoy -
The V Programming Language
@v_language
Joe's work on the new parallel parser & checker has been merged into vlib/v2.
Now we can start working on the IR, SSA, and all the backends.
It will become the default compiler by V 0.5.
Right now V compiles itself in 0.45s on M2. Once the compiler is parallel, it'll be ~0.1s! -
The V Programming Language
@v_language
Lilly, a VIM-Like editor for your terminal built using V's term.ui:
github.com/tauraamui/lilly -
The V Programming Language
@v_language
Allocations in vweb have been reduced by 85%!
A simple hello world web app with routing now does 98 allocations instead of 656 before.
This also increased the number of requests/s by 10%.
The goal is to reduce it even further and only do a couple of allocations per request. -
The V Programming Language
@v_language
Time based One Time Password (totp) module in V:
github.com/OdaiGH/vtotp -
The V Programming Language
@v_language
It's now possible to download both Apple Silicon and Intel macOS builds from the V's website or from GitHub Releases:
-
The V Programming Language
@v_language
V 0.4.3 is out!
40 days of development. The changelog has 116 items:
github.com/vlang/v/releases/tag/0.4.3 -
The V Programming Language
@v_language
V now has a Wikipedia page!
en.wikipedia.org/wiki/V_(programming_language) -
The V Programming Language
@v_language
V now has an XML parser in its standard library:
modules.vlang.io/encoding.xml.html -
The V Programming Language
@v_language
A demo of the V debugger, which has just been released for Ved.
VS Code support is coming soon as well. -
The V Programming Language reposted
Swastik Baranwal ⇌
@Delta2315
I am officially joining @catppuccintheme organisation🎨 as a maintainer for @v_language support 👨💻
Thanks to @RealGoudham for reviewing my port and smooth process! -
The V Programming Language
@v_language
V's WASM backend now supports inline assembly:
github.com/vlang/v/pull/19686 -
The V Programming Language reposted
Lenain
@lenaing
cheepy, a Super Mario Kart Leaderboard progress tracker: gitlab.com/lenaing/cheepy/ Built in #vlang with #vweb ! (vlang.io ,@v_language ) #supermariokart #smk
-
The V Programming Language
@v_language
Great news about vsl.plot: we've completely transitioned away from Python and rewritten the entire library in pure V! This is a significant step forward for VSL!
It's now a pure V plotting library and has more examples:
github.com/vlang/vsl/tree/main/examples -
The V Programming Language
@v_language
Read Fast, Write Fast, Run Faster: How To Maintain And Iterate With V - SYNCS 2023.
A talk at the University of Sydney:
www.youtube.com/watch?v=pchEsYwA74Q -
The V Programming Language
@v_language
V's coroutines now work with V's GC!
This is a huge milestone. We can now migrate things like vweb to coroutines.
It also means that the last big missing feature has been implemented.
Now it's about minor features and bug fixes until 1.0. -
The V Programming Language
@v_language
V is trending on GitHub again!
github.com/trending -
The V Programming Language
@v_language
V no longer supports inline /**/ comments.
This made the parser a lot simpler and faster.
This is no longer allowed:
`foo('bar', /* 123 */ arg)`
Multiline /**/ comments still work fine.
Do you often use inline comments? -
The V Programming Language
@v_language
We're working on vweb 2.0, which will be much faster and simpler (no more confusing [vweb_global]).
We're considering changing the name of the web framework to `veb`. Now is a good time.
Which one do you prefer?
If neither, post suggestions (has to be short, it's a mod name). -
The V Programming Language
@v_language
V 0.4.2 is out!
27 days of development. The changelog has 108 items:
github.com/vlang/v/releases/tag/0.4.2 -
The V Programming Language
@v_language
V is fully compatible with Apple's latest macOS Sonoma, which has just been released.
It runs great on it, no changes were required. -
The V Programming Language reposted
Tobias Neitzel
@qtc_de
Standing on the shoulders of giants like silverf0x and @tiraniddo I created rpv - a @v_language library for analyzing Windows RPC servers - and rpv-web as a browser based frontend. Very similar to #rpcview but also different 😉
github.com/qtc-de/rpv
github.com/qtc-de/rpv-web -
The V Programming Language
@v_language
V now has lambdas!
github.com/vlang/v/commit/f93d257d295a2917c4ef39816b34937… -
The V Programming Language reposted
David Legrand ☁️ 🤘
@davlgd
I know @FlorentinDUBOIS was waiting for this one : compile a website as a binary with @v_language vweb server, hosted on @clever_cloud 😬🔥 You only need few minutes and some commands! #anythingonclevercloud
-
The V Programming Language
@v_language
A new French article on V with an interesting conclusion (translated):
linuxfr.org/news/a-la-decouverte-du-langage-v -
The V Programming Language
@v_language
ascii_img, a V library to convert images into ascii (or unicode) text:
github.com/islonely/ascii_img -
The V Programming Language
@v_language
V 0.4.1 is out!
2 months of development. The changelog has 150 items:
github.com/vlang/v/releases/tag/0.4.1 -
The V Programming Language
@v_language
V now has a pure `sorted()` method, which sorts an array and returns the result, without modifying the original array.
`array.sort()` still exists and modifies the receiver. -
The V Programming Language
@v_language
V is now UB free!
Previously the website used to say that overflowing could result in UB, but that was fixed today.
No more undefined behavior. -
The V Programming Language
@v_language
Puzzle Vibes, a nice open-source jigsaw puzzle game written in V:
blackgrain.itch.io/puzzle-vibes -
The V Programming Language
@v_language
The V stream was #2 in Twitch's Software Development category yesterday.
Follow us on twitch to watch the streams:
twitch.tv/v_language -
The V Programming Language reposted
Swastik Baranwal ⇌
@Delta2315
Today I gave a lightning talk 🎤 on @v_language at PyDelhi 🐍 Conference Day 2
-
The V Programming Language
@v_language
Free Veasel mugs that two V sponsors from Chile and the U.S. just got for free.
GitHub sponsors get various Veasel merch for free depending on the tier:
sponsor.vlang.io -
The V Programming Language
@v_language
After some optimizations and cleanups in the repo, prebuilt V packages got ~15% smaller:
github.com/vlang/v/commit/595200f7dcb831dafa2cf3706f89121… -
The V Programming Language
@v_language
Ved, a fast and light editor written in V, now has autocomplete for V!
github.com/vlang/ved -
The V Programming Language
@v_language
V is trending on GitHub again!
github.com/trending -
The V Programming Language
@v_language
vapd is a tiny Napster main server written in V.
It is part of the Vapster project.
gitlab.com/vapster/vapd -
The V Programming Language reposted
Lenain
@lenaing
Juste received my Veasel hoodie ! Isn't she a cutie ? 😊👀
#vlang @v_language -
The V Programming Language
@v_language
It's impressive how stable and performant the V's builtin web framework is.
100.0% uptime on all web services written with vweb: -
The V Programming Language
@v_language
Vaunt, a CMS/static site generator
github.com/Casper64/vaunt
It's now possible to use it solely as a static site generator and not only as a CMS!
Also:
- Dynamic routes (":" in the name)
- Auth for admin panel
- Serve, include, import & edit markdown files
- Lots of bug fixes -
The V Programming Language reposted
MapleLeaf 🍁
@heyImMapleLeaf
out of all newer languages I've tried, ignoring editor experience and ecosystem, I liked @v_language the most. Kotlin and Go are close followups
-
The V Programming Language reposted
Larpon
@develpon
I have just released a small puzzle game written in @v_language #v #vlang as free and open source software.
It's based on a #gamedev foundation I've been working on for some time.
You can find the game here:
github.com/Larpon/puzzle_vibes -
The V Programming Language
@v_language
Joe's first stream of working on the new parallel type checker is on YouTube:
www.youtube.com/watch?v=Sl7J0rE8FWk -
The V Programming Language
@v_language
The V compiler tries to be as helpful as possible when there's something wrong.
Many people using vweb, the built in web framework, forget to make actions return vweb.Result. The compiler now detects that: -
The V Programming Language reposted
Ayodeji
@trulyao
this is just awesome
I wish the Go compiler would be as smart as this instead of giving me some crazy stack trace, and suggest what to do instead. -
The V Programming Language
@v_language
The V WebAssembly Compiler Backend, Rewritten
l-m.dev/cs/the_v_webassembly_compiler_backend_rewrite -
The V Programming Language
@v_language
V's WASM backend has been re-written by its maintainer.
It's now in pure V and no longer depends on Binaryen.
(Binaryen is now used only for -prod builds.)
github.com/vlang/v/pull/18120 -
The V Programming Language
@v_language
ripgrep now supports V:
github.com/BurntSushi/ripgrep/commit/792451e3315e86fc66b1… -
The V Programming Language
@v_language
V doesn't have lambdas, only special syntax for filter/map and sort().
It has been decided to introduce lambdas with the following syntax:
arr.sort(|a, b| a > b)
It will be done by V 0.5. -
The V Programming Language
@v_language
VLS (V Language Server) has been notoriously buggy.
V-analyzer, an alternative written from scratch by the author of the amazing IntelliJ-V plugin, is now available.
It's 23k lines of V, and it runs great. Give it a try in your VS Code or Neovim or any LS compatible editor!
▼-analyzer
@v_analyzer
After two months of development, we are ready to introduce a new v-analyzer for @v_language 🎉
v-analyzer is a language server that provides IDE capabilities to editors like VS Code or Neovim!
Learn more about v-analyzer in blog post: blog.vosca.dev/meet-v-analyzer/ -
The V Programming Language reposted
Dy 🪷
@evowizz
I made a small CLI tool for myself using @v_language, and while I can't say what it's for, I can say this: The previous version was made with Kotlin (as a .jar). In my tests, I calculated that the new version (using V) is approximately 95% faster than the old one. 👀
-
The V Programming Language
@v_language
V 0.4 is out!
2160 commits pushed to master, 1205 bugs closed since V 0.3.
4 165 files changed, 329 174 insertions(+), 42 434 deletions(-).
V 0.4 changelog is combined from 0.3.1-0.3.5 releases.
The changelog is huge! It has 370 items:
github.com/vlang/v/discussions/18730 -
The V Programming Language
@v_language
V 0.3.5 is out!
The full changelog:
github.com/vlang/v/blob/master/CHANGELOG.md -
The V Programming Language
@v_language
Running tests in the upcoming VSCode/VLS is super nice:
-
The V Programming Language
@v_language
Static type methods have been implemented!
github.com/vlang/v/blob/master/doc/docs.md
Which syntax do you prefer: Foo. new() or Foo::new()?
`.` is simpler, a new token isn't required.
`::` complicates things a bit, but makes it easier to distinguish between `foo.method()` and `Foo::new()`. -
The V Programming Language
@v_language
The new VLS (released in early July) has realtime errors!
-
The V Programming Language
@v_language
A stylistically minimal, privacy respecting, linear blogging system, written in V with zero JS:
github.com/l1mey112/me.l-m.dev -
The V Programming Language
@v_language
How often do you write long `match`es to convert your enums to strings?
In V it just works.
(And if you want an integer value, not a string, just cast it with `int()` first.) -
The V Programming Language
@v_language
A lot of opposition to `::`. V doesn't really need to use `::` for a distinction, since types are always uppercase, and variables/functions are always lowercase.
If we decide to do static methods, we'll go with `foo.new()`
Knowing this, let's re-run the poll: -
The V Programming Language
@v_language
A lot of developers in the V community would like V to have static type methods: `foo.new()` or `Foo::new()`.
It will also allow stuff like `MyEnum.from_string('label')`.
Right now V works like Go and only has simple functions `new_foo()`.
What do you think? -
The V Programming Language
@v_language
Coroutines, V's last big missing feature is here!
It's an early stage: only Linux & macOS for now, no GC support, and needs a use-coroutines flag, but it works great already!
Pretty stable, supports IO and networking operations.
Once it's more polished, we'll do a 0.4 release. -
The V Programming Language
@v_language
It's great to come across such positive experiences from V users:
-
The V Programming Language
@v_language
VLS (V language server) has been notoriously buggy and crashing a lot.
It's being re-written from scratch with great success by Petr, the author of @intellij_v.
A public beta release is planned soon! -
The V Programming Language
@v_language
A presentation from DebConf 2022:
"An introduction to V"
www.youtube.com/watch?v=ZO3vlwqvTrc -
The V Programming Language
@v_language
VPM (V's package manager) has been re-written and launched!
vpm.vlang.io
It happened live on streams, all vods are available on youtube:
www.youtube.com/c/vlang/videos -
The V Programming Language
@v_language
Json2V: convert JSON to a struct in V.
github.com/ldedev/Json2V -
The V Programming Language
@v_language
Vweb, V's builtin web framework, now has a secure CSRF protection via the double submit cookie pattern, with the cookie being the hmac of a secret value and the random token:
github.com/vlang/v/pull/18220 -
The V Programming Language
@v_language
An upcoming WASM backend re-write is:
- Written in pure V (no more dependency on binaryen) - Twice as fast compared to the binaryen implementation -
The V Programming Language
@v_language
Volt, the app V was created for, is finally getting released for a public beta test on May 20, 2023!
It will be available for all three operating systems.
Here's a cool demo to show off the performance of this IM client: scrolling through 5000 Discord messages in 1 second! -
The V Programming Language
@v_language
The latest 0.3.4 changelog has all changes separated into categories.
Do you think that should be done for all releases from now on?
(poll in the next tweet)
The V Programming Language
@v_language
Changelog categories:
-
The V Programming Language
@v_language
V 0.3.4 is out!
The changelog is huge, it has 72 items 😲
Go here for the full changelog:
github.com/vlang/v/releases/tag/0.3.4 -
The V Programming Language
@v_language
IntelliJ V plugin is becoming more and more popular!
Not surprising, it works really well, and it's the best plugin available at the moment:
intellij-v.github.io
We're working on making V for VSCode/VLS just as good. -
The V Programming Language
@v_language
V ORM (V's builtin ORM) now supports `LIKE`!
github.com/vlang/v/pull/18020 -
The V Programming Language
@v_language
GitHub Copilot can now generate automatic PR summaries in V's repos:
-
The V Programming Language
@v_language
A CouchDB client for V:
github.com/brys0/couchdb-v -
The V Programming Language
@v_language
Vaunt: a CMS built with V and Vweb along with a visual block editor in Vue.
It can be used to generate static sites:
github.com/Casper64/vaunt -
The V Programming Language
@v_language
V now has a new wasm module with a pure V implementation of the wasm bytecode module format!
It provides a builder to generate wasm modules in memory, enabling users to create functions, opcodes, and use the entire wasm specification without relying on large deps like binaryen. -
The V Programming Language reposted
ylluminate
@ylluminate
Whisker - the awesome {{ #mustache }} descended templating language for logic-less templates by @hungrybluedev for #vlang / @v_language: github.com/hungrybluedev/whisker
-
The V Programming Language
@v_language
A simple x64 Assembler written in V
github.com/v420v/vas -
The V Programming Language
@v_language
Vweb, V's official web framework, just got a lot more efficient.
It now has a worker pool, which allows a controlled number of threads to be utilized for the http server:
github.com/vlang/v/pull/17298 -
The V Programming Language reposted
bexli
@itsBexli
More of a mascot than a logo, but I love @v_language's little guy
-
The V Programming Language
@v_language
Vweb, V's official web framework, now supports middleware!
github.com/vlang/v/pull/17730 -
The V Programming Language
@v_language
New stream VOD:
Migrating VPM to V ORM. Simplifying the structure, adding some basic missing logic.
www.youtube.com/watch?v=zOcLEiYO7gI -
The V Programming Language
@v_language
Progress bars in your terminal with V:
github.com/tobealive/bartender -
The V Programming Language
@v_language
The VOD of the first coding stream.
Implementing mandatory `map[i] or {}` for references and Ved editor fixes for the stream (changing font/dark mode):
www.youtube.com/watch?v=agkiVQGkIm8 -
The V Programming Language
@v_language
V's comptime reflection now supports maps:
-
The V Programming Language
@v_language
V now allows to write short V programs on the command line with the `-e` flag, just like Perl.
Piping works as well: -
The V Programming Language
@v_language
5 short videos that demonstrate recent autocomplete improvements in IntelliJ V:
-
The V Programming Language
@v_language
A very insightful and technical article about V's new native WASM backend by its author:
l-m.dev/cs/the_v_webassembly_compiler_backend -
The V Programming Language
@v_language
A new video on V's official YouTube channel: a small presentation of V's features at IBM.
www.youtube.com/watch?v=_dIAcNp9bJs -
The V Programming Language
@v_language
A big release of the popular and beloved IntelliJ V plugin is out!
intellij-v.github.io -
The V Programming Language reposted
Karl Heinz Marbaise
@khmarbaise
@v_language Now the language gets interesting with @intellijidea @IntelliJSupport and makes it easier to test that.... and play a bit with v-lang.
-
The V Programming Language
@v_language
A new release of vsql, a single-file/PostgreSQL-server compatible, transactional, SQL-compliant database written in pure V:
github.com/elliotchance/vsql/releases
New features:
- Catalogs
- SET SCHEMA support
- SEQUENCEs -
The V Programming Language
@v_language
The native WebAssembly backend by l-m has been merged into V's main repository!
It's now available in latest V: -
The V Programming Language
@v_language
V's compiler just got much faster on macOS. It's now as fast as it has been on Linux and Windows, since the same faster backend is now used on all three.
Compiling V itself now takes 0.5s compared to 3.3s it used to take before:
The V Programming Language
@v_language
M2 users are reporting even faster times. 0.37 seconds to build V!
-
The V Programming Language
@v_language
V is trending on GitHub again!
github.com/trending -
The V Programming Language
@v_language
V's Option type is now a first-class type, meaning it can be used in function params, assignments (`x := ?int(none)`), unwrapping expressions (`println(var?) `) and more:
github.com/vlang/v/pull/17017 -
The V Programming Language
@v_language
Anthony GG @anthdm tries V out and ends up enjoying it:
www.youtube.com/watch?v=puy77WfM1Tg -
The V Programming Language
@v_language
V programs can be compiled to WASM via Emscripten, but a native WASM backend is being developed by l-m:
github.com/l1mey112/v/tree/wasmbackend
And it can already run Mandelbrot in the browser! -
The V Programming Language
@v_language
An installer creator written in pure V by Mehmet Ali:
github.com/malisipi/VInstall -
The V Programming Language
@v_language
It's possible to build APK apps in V right on your Android device via VAB + Termux!
www.youtube.com/watch?v=7aUh39w_-2Q -
The V Programming Language
@v_language
Some @exercism_io exercises are very simple in V :)
-
The V Programming Language
@v_language
V is available on Exercism now.
Learn V by solving exercises.
exercism.org/tracks/vlang -
The V Programming Language
@v_language
V 0.3.3 is out!
github.com/vlang/v/releases/tag/0.3.3 -
The V Programming Language
@v_language
Do you prefer having language documentation on GitHub (like we do for V right now) or a separate documentation website (like Rust docs)?
-
The V Programming Language
@v_language
A cool demo of the power of C2V: a V wrapper for binaryen, an optimizer and compiler/toolchain library for WebAssembly.
Translated with C2V.
github.com/l1mey112/binaryen-v -
The V Programming Language
@v_language
V UI, the official cross-platform UI library, is now licensed under MIT.
That means it can now be freely used in commercial/closed source projects.
Originally the goal was to finance its development by using a dual license, like Qt. Now it's going to be financed by donations.
The V Programming Language
@v_language
-
The V Programming Language reposted
Larpon
@develpon
@v_language syntax highlighting for editors based on @kdecommunity's SyntaxHighlighting framework (Kate, KWrite etc.) is now officially a part of KDE 🥳
invent.kde.org/frameworks/syntax-highlighting/-/merge_req… -
The V Programming Language
@v_language
A new major release of the V playground is out!
v0.1:
- Simple autocompletion
- Ability to run multiple threads via `spawn`
- Ability to run programs as tests
- New examples
- Improved highlighting
- Bug fixes and minor improvements
- Resizable terminal
play.vlang.io -
The V Programming Language
@v_language
The long-awaited IntelliJ plugin for V is out!
It has code completion, on-the-fly analysis, syntax highlighting, code generation, quick documentation on hover, and more. -
The V Programming Language reposted
ylluminate
@ylluminate
Wow, great work @ulisesjcf with getting such an impressive VSL implementation of Matmul into kostya benchmarks for @v_language: github.com/kostya/benchmarks/commit/10d9db6d806853a678606…
Really exciting to be able to use V for such broad ML and scientific applications in the near term! -
The V Programming Language
@v_language
V officially supports Apple's latest macOS 13 Ventura.
It runs great on it! -
The V Programming Language
@v_language
V has moved up to the 4th place on github.com/kostya/benchmarks:
-
The V Programming Language reposted
Petr
@petr_makhneff
JetBrains IDEs have a great test runner, and now the @v_language plugin uses it to provide nice output as well as handy features like jumping to a failed test
-
The V Programming Language
@v_language
The V ecosystem is growing and our official scientific computing library (VSL) now provides different examples on how to use ML algorithms and combine them with the plot library to see the results. You can check out the examples in the VSL repo to find out more about it:
The V Programming Language
@v_language
-
The V Programming Language reposted
Petr
@petr_makhneff
Rendering documentation directly in the IDE allows comments to be shown in a more readable form than they are as comments in the source code. This feature is available in many @jetbrains IDEs and is now available in the @v_language plugin.
-
The V Programming Language
@v_language
An official repository for solutions to Advent of Code, written in V:
github.com/vlang/adventofcode -
The V Programming Language
@v_language
V just got 10 times faster on macOS! (on par with Linux and Windows now, non-prod builds only)
We'll be publishing an out of schedule early release and a demo video early next week. -
The V Programming Language reposted
Swastik Baranwal ⇌
@Delta2315
A week ago, I implemented support for const ident for match ranges in @v_language (1\n)
-
The V Programming Language
@v_language
V doesn't have a formal Language Specification yet, but there's now a BNF grammar used in the upcoming JetBrains plugin.
It will also be used for the formal spec.
github.com/i582/vlang-idea/blob/main/src/main/kotlin/org/… -
The V Programming Language reposted
Petr
@petr_makhneff
Duck typing is a convenient concept that is used in the @v_language. The plugin for JetBrains IDEs makes working with it even more convenient, because right in the editor you can see which structures implement an interface and which interfaces a structure implements.
-
The V Programming Language
@v_language
Like Scala and Go, V recently switched to using [] for generics.
Using <> resulted in parsing issues that couldn't be resolved without type information.
Old code will keep working, vfmt automatically takes care of the change.
You can read about the benefits of using [] here: -
The V Programming Language
@v_language
A very basic text-only browser in 500 lines of V:
github.com/SheatNoisette/femtobrowser -
The V Programming Language
@v_language
A very important PR has just been merged:
github.com/vlang/v/pull/16392
V structs can finally have optional fields! -
The V Programming Language
@v_language
After trying out "{foo}" for string interpolation, we went back to "${foo}".
Too many issues when generating code (C, HTML etc), complicates the parser and the tooling too much.
Should we still have "$foo" for simple variables like in Kotlin, or just "${foo}"? -
The V Programming Language reposted
ALEX FRANCO
@alexfrancow
New blog post about @v_language, I hope you enjoy it.
🗒️ Encrypting the C# Shellcode Runner with V and Caesar cipher.
alexfrancow.github.io/app-development/OffensiVe-Security-… -
The V Programming Language
@v_language
V 0.3.2 is out!
github.com/vlang/v/releases/tag/0.3.2 -
The V Programming Language
@v_language
V enums are represented by the i32 type. If you want to use a custom integer type, you can now use `as`:
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language reposted
Petr
@petr_makhneff
@v_language has a nice little sql right in the language syntax, plugin knows features of this syntax and will help you write a query easily and quickly
-
The V Programming Language
@v_language
A V web app running on Android via Termux:
-
The V Programming Language
@v_language
V's online playground is back!
It's now open source (written in V of course), has syntax highlighting, dark mode, code caching.
play.vlang.io
Source code:
github.com/vlang/playground -
The V Programming Language reposted
Tobias Neitzel
@qtc_de
If you are looking for a smaller spare time project I can really recommend the PE packer tutorial by Jérémy Beaume:
bidouillesecurity.com/tutorial-writing-a-pe-packer-part-1/
Well structured and easy to follow. My packer/loader is written in @v_language and works like a charm 😎 -
The V Programming Language reposted
Petr
@petr_makhneff
The beauty of @jetbrains like experience soon available for @v_language
-
The V Programming Language
@v_language
V's compiler is fast, but doing optimized builds used to be unacceptably slow.
For example, building V itself takes 0.4 seconds, but an optimized build with -prod took a whopping 44 seconds on the same machine!
Luckily with the recent parallelization it's now 9 times faster:
The V Programming Language
@v_language
The benefits of using the full potential of modern CPUs :)
We're working hard on making the parallelization flag on by default. -
The V Programming Language
@v_language
V has a builtin command line documentation tool, which also just got syntax highlighting.
For example, `v doc strings` returns: -
The V Programming Language
@v_language
A demo of Gitly is live:
gitly.org/alex/v
You can check out the speed and minimalism of an upcoming open-source development platform written in V.
A public beta launch is planned for this October. -
The V Programming Language
@v_language
V 0.3.1 is out!
This release has been focused on bug fixes, but it also has a couple of big features: -
The V Programming Language
@v_language
Over the last year there was only one day without commits to V's git repository:
-
The V Programming Language
@v_language
V has an official tensor library: VTL.
github.com/vlang/vtl
It provides:
· An n-dimensional Tensor data structure
· Sophisticated reduction, elementwise, and accumulation ops
· Data Structures that can easily be passed to C
· Powerful linear algebra routines backed by VSL -
The V Programming Language
@v_language
VTik: Tik Tok video downloader written in V.
github.com/Sharqo78/VTik -
The V Programming Language
@v_language
Lots of people using V or coming back to V are saying how much more stable it has become.
V is now officially out of alpha and into beta! -
The V Programming Language
@v_language
V's fast native backend now supports linking!
-
The V Programming Language
@v_language
Creating a compiler in V:
- basic dead code elimination
- static type checking
- compile time stack sim/verification
and more
blog.l-m.dev/posts/compiler-part-4/ -
The V Programming Language
@v_language
Simple grid pathfinding using A* in V:
www.youtube.com/watch?v=ZDLLecWZyeM
www.youtube.com/watch?v=f63WGUufQQQ -
The V Programming Language
@v_language
V reached 30k GitHub stars in 3 years.
-
The V Programming Language
@v_language
V has reached 30k stars on GitHub today!
-
The V Programming Language
@v_language
V has 3461 fixed bugs and 478 open bugs.
That's a great ratio: only 12% of all bugs are open.
We're planning to decrease this number to 5% by the time of the 0.4 release. -
The V Programming Language
@v_language
V now has anonymous structs!
-
The V Programming Language
@v_language
You can sponsor the development of V via GitHub Sponsors:
github.com/sponsors/medvednikov
And as of today, sponsors get free Veasel merch: mugs, pillows, backpacks, hoodies! -
The V Programming Language
@v_language
V can now find code in the `src/` directory.
This allows making V modules and repos much cleaner.
For example, V UI used to have dozens of V files in the top level directory. Now it has a very simple structure: -
The V Programming Language
@v_language
After the 0.3 release, V is trending on GitHub again! #2
-
The V Programming Language
@v_language
V 0.3 is out!
The changelog is so huge, it won't fit on a screenshot.
Read the full version here: github.com/vlang/v/discussions/14895 -
The V Programming Language
@v_language
C2V is finally out! And it can translate DOOM!
github.com/vlang/c2v
YouTube demo video: Translating DOOM from C to V, building and running it!
www.youtube.com/watch?v=6oXrz3oRoEg -
The V Programming Language
@v_language
vsql 0.19, a single-file SQL database written in pure V with no dependencies, now supports GROUP BY:
github.com/elliotchance/vsql -
The V Programming Language
@v_language
V has appeared on RedMonk Q122 Programming Language Rankings!
-
The V Programming Language
@v_language
As of today, programs built with the V compiler no longer leak memory by default.
Previously the developers had to use command line flags like -gc or -autofree or handle memory management manually. -
The V Programming Language
@v_language
V's translators and codegen are very clean.
Here's a comparison of the same DOOM fn. The 2nd version is generated by V after compiling the translated C file via C2V (which we are releasing together with DOOM.v atm).
It's fascinating that they are so similar after 2 translations
The V Programming Language
@v_language
To make it more clear, the 2 translations are:
r_bsp.c => r_bsp.v (via C2V)
r_bsp.v => r_bsp.v.c (via the V compiler) -
The V Programming Language
@v_language
8000 merged pull requests!
-
The V Programming Language
@v_language
It's easy to debug V code using VS Code, gdb, and the C/C++ extension for VS Code:
-
The V Programming Language
@v_language
V's closures can be used as function pointers. It allows writing very clean code for handling events, for example.
This also works in Go, but not in Rust or C++.
Here's how on_click events are handled in V UI. All necessary state (app App) is passed to the method automatically. -
The V Programming Language
@v_language
There's an article about discovering the V language in
Linux Format, the best-selling Linux magazine in the UK.
You can buy the May 2022 Issue 288 here:
linuxformat.com/linux-format-288.html -
The V Programming Language
@v_language
People often ask: "what build system should I use with V?"
The answer is you don't need one! Just run `v .`, it'll build all V files/modules in current dir.
In case you need a more complex project structure, simply add a small build.vsh file and run it with `v run build.vsh`. -
The V Programming Language
@v_language
V UI now has all 7GUI implementation examples, including a simple spreadsheet implementation:
github.com/vlang/ui/tree/master/examples -
The V Programming Language
@v_language
V and its graphics libraries support Android.
V 2048 running on Android:
github.com/vlang/v/tree/master/examples/2048 -
The V Programming Language
@v_language
A Hello World compiled using V's WIP x64 backend is only 182 bytes.
A statically linked 182 byte program.
Even NASM won't result in such a small file. -
The V Programming Language
@v_language
V's closures used to only work on non-Windows operating systems.
Now they work on Windows as well! -
The V Programming Language
@v_language
V had a combined Option/Result type.
While this approach had its advantages, it was decided that having separate Option and Result types is clearer.
A new Result type has been added to the language.
Old code will keep working for a year, it will result in a warning. -
The V Programming Language
@v_language
Conway's Game of Life using V's term.ui:
github.com/l1mey112/conway-v -
The V Programming Language
@v_language
V has lots of simplifications and optimizations.
e.g. instead of
if response.status.code == .ok || response.status.code == .not_found {
you can simply do
if response.status.code in [.ok, .not_found] {
and V will be smart enough to not allocate an actual array for this. -
The V Programming Language
@v_language
More and more software is being developed in V.
Vieter: a simple, lightweight self-hostable Arch repository server, paired with a system that periodically builds & publishes select Arch packages.
git.rustybever.be/Chewing_Bever/vieter -
The V Programming Language
@v_language
The naming of V's integer types is now more consistent: `byte` has been renamed to `u8`.
Previously we had
byte
u16
u32
u64
Now we have
u8
u16
u32
u64
The byte alias will remain for backwards compatibility for about a year, vfmt will automatically replace `byte` with `u8`. -
The V Programming Language
@v_language
Sal Rahman wrote two ray tracing implementations in Go and V:
github.com/shovon/raytracing-golang
github.com/shovon/raytracing-vlang
The V version is 3 times faster: -
The V Programming Language
@v_language
.@LewisMenelaws just published a great short video about V:
www.youtube.com/shorts/GDOWfzIPgbc -
The V Programming Language
@v_language
V's useful typo detector now highlights the suggested name so that it's more visible:
-
The V Programming Language
@v_language
V is #1 on GitHub's trending list right now!
github.com/trending -
The V Programming Language
@v_language
New blog post:
Setting Up GitHub Actions for V
blog.vlang.io/setting-up-github-actions-for-v -
The V Programming Language
@v_language
Hamnn, a V machine learning library based on Hamming distances:
github.com/holder66/hamnn
Can be used for speech/emotion recognition, data mining, prediction of weather, robotics, risk identification and management etc. -
The V Programming Language reposted
NanoVMs
@nanovms
recent @v_language benchmarks on nanos reporting 727k reqs/sec - would be interesting to see what a multi-thread impl looks like
-
The V Programming Language
@v_language
V's standard library now has a new `datatypes` module with Heap, Queue, Stack, BSTree, LinkedList:
github.com/vlang/v/tree/master/vlib/datatypes -
The V Programming Language
@v_language
Python style list comprehensions are achievable in V:
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language
@v_language
V now has an official wrapper for Wasmer, The Universal WebAssembly Runtime:
github.com/vlang/wasmer -
The V Programming Language
@v_language
New blog post.
Unit testing in V:
blog.vlang.io/elevate-your-v-project-with-unit-tests -
The V Programming Language
@v_language
Go2V, a Go to V source code translator project, has just been started by the community, and can already translate simple programs:
github.com/vlang/go2v
This has been made possible by V's v.ast and v.parser modules, which are part of the stdlib. -
The V Programming Language reposted
Subhomoy Haldar, MSc.
@hungrybluedev
I'm very proud of this article I wrote on the Official @v_language Blog. If you're interested in learning in V and making cool stuff, check it out!
It is the Complete Beginner's Guide to Command Line Applications in V.
blog.vlang.io/the-complete-beginners-guide-to-cli-apps-in-v/ -
The V Programming Language reposted
Jacob Gadikian
@Senpai_Gideon
I cannot get the idea of rewriting @Tendermint_Core @cosmosibc in @v_language out of my mind.
I shall make a couple of videos on why, and I’d love it if you could share them and if people working on these could provide feedback. -
The V Programming Language
@v_language
Vinix, a new OS written in V, can now run Doom!
www.youtube.com/watch?v=PDzw3M6Qj9Y -
The V Programming Language
@v_language
The fist printed book on V is out!
www.amazon.com/gp/product/1839213434 -
The V Programming Language
@v_language
V is a compiled language, but after a recent 3k line PR, it's now an interpreter as well.
This makes V a better fit for fields like data science. -
The V Programming Language
@v_language
There's now a great V plugin for Sublime Text:
github.com/elliotchance/vlang-sublime -
The V Programming Language
@v_language
All V's backends have been split up into separate processes.
As the result, building V just got 26% faster: -
The V Programming Language reposted
nid
@npned
Interested in building web applications with V? Check out this new post showcasing my web framework, Vex, written by @hungrybluedev on the @v_language blog!
For those who have used Express, this framework should feel right at home 😉
blog.vlang.io/vex-showcase/ -
The V Programming Language reposted
Preslav Rachev
@preslavrachev
Thought, I'd put @v_language to the test for this year's #adventofcode. Here's a 1:1 with the same solution in Go.
Picking up the V knowledge for solving this task was trivial. Much of V was inspired from Go. it also nicely reduces the verbosity, without hampering readability. -
The V Programming Language
@v_language
On the latest i9 Alder Lake CPU, V compiles in ~0.3 seconds.
That's about 10% faster than on M1. -
The V Programming Language
@v_language
The V project now has a blog at blog.vlang.io!
The first post:
blog.vlang.io/getting-started-with-v -
The V Programming Language
@v_language
A video about Vinix, a new OS/kernel written in V.
Booting, running GNU coreutils, GCC, g++, V, vim.
www.youtube.com/watch?v=mJG4Zg6Ekfw -
The V Programming Language reposted
N PAVAN KUMAR RAO
@navulepavan
Data Synchronization in Concurrent tasks using locks in V Language @v_language www.tutlinks.com/data-synchronization-locks-shared-object… via @tutlinksdotcom #vlang #programming #learntocode #techblogs #technology #learnprogramming
-
The V Programming Language
@v_language
V's standard library now has a small TOML parser:
github.com/vlang/v/tree/master/vlib/toml
It's fully compatible with TOML 1.0. -
The V Programming Language
@v_language
Lots of work done on the V.js backend recently.
Soon it'll be possible to write both backend and frontend code for web apps in V.
Here's a 2D Canvas API demo:
github.com/vlang/v/tree/master/examples/js_dom_draw -
The V Programming Language
@v_language
VLS (V Language Server) and the VS Code extension had lots of improvements and bug fixes recently.
marketplace.visualstudio.com/items?itemName=vlanguage.vsc…
Here's a demo with autocomplete and error highlighting: -
The V Programming Language
@v_language
It's now possible to do more complex array initialization by using each individual element of the array:
-
The V Programming Language
@v_language
vsql, a database written in V, now supports transactions:
github.com/elliotchance/vsql/releases/tag/v0.15.0 -
The V Programming Language
@v_language
The first version of the mascot was received very well, so we decided to go with it.
What should it be named?
The V Programming Language
@v_language
-
The V Programming Language
@v_language
The V repository is participating in Hacktoberfest. All PRs are automatically eligible.
#hacktoberfest -
The V Programming Language
@v_language
The first version of the V mascot: the V weasel!
-
The V Programming Language
@v_language
V's code generation is now parallel (running on all CPU cores).
This results in a faster compiler. For example, building V itself with `v self` is now about 20% faster.
The parser will be parallelized as well. -
The V Programming Language
@v_language
The traditional non-WASM playground is back!
It runs on the server, always has the latest V, and caches the program in the browser.
In the near future it will be used in the docs/tutorial to instantly run V code in the browser.
play.vlang.io -
The V Programming Language
@v_language
Unsigned right shift operators >>> and >>>= have been added to V today.
They work exactly like in Java. -
The V Programming Language
@v_language
V now has a -nofloat option, which is useful for writing kernels and for embedded systems without an FPU.
Vinix, a kernel in V, is now using it. -
The V Programming Language
@v_language
V UI now supports Android's virtual keyboard and JNI interop:
-
The V Programming Language
@v_language
A new cool example has been added to the V repo: a multithreaded Mandelbrot viewer in under 200 lines.
github.com/vlang/v/blob/master/examples/gg/mandelbrot.v -
The V Programming Language
@v_language
V's built-in web framework used to be single threaded, which was unacceptable.
It's now multithreaded, all CPU cores are used.
The performance is of course much better now, we'll be publishing the benchmarks soon. -
The V Programming Language reposted
Subhomoy Haldar, MSc.
@hungrybluedev
My BigInteger PR for @v_language was merged today! 🥳
It is implemented in pure V so it should be available on all backends! It is written for correctness, and not performance. Optimisations will come later.
Link to PR: github.com/vlang/v/pull/11352 -
The V Programming Language
@v_language
V now supports generic interfaces.
-
The V Programming Language
@v_language
V CI has been running on Linux, macOS, and Windows.
From now on it also runs on FreeBSD for each commit, to ensure everything works fine on this OS. -
The V Programming Language
@v_language
V is very extensively tested.
The entire project has 216k lines of V code right now.
51k of those are tests. -
The V Programming Language
@v_language
V now has initial closure support.
Linux/amd64 only for now. -
The V Programming Language
@v_language
Vinix, an OS written in V, now runs the nano editor:
-
The V Programming Language
@v_language
vpm, V's package manager, now supports installing modules from git/hg repos.
For example:
v install --git github.com/vlang/ui -
The V Programming Language
@v_language
There's now a -show-depgraph option to generate a nice image with project's dependency graph.
-
The V Programming Language
@v_language
Do you prefer a special syntax for documentation comments (C# style) or no special syntax (Go style)?
-
The V Programming Language
@v_language
vsql: a single-file SQL database written in pure V with no dependencies. Created by Elliot Chance.
github.com/elliotchance/vsql
The V Programming Language
@v_language
A blog post about the development:
medium.com/geekculture/️vsql-is-a-sql-database-written-in… -
The V Programming Language
@v_language
Compiling a hello world program with GCC on Vinix, a new OS written in V:
-
The V Programming Language
@v_language
V now supports Haiku and SerenityOS.
-
The V Programming Language
@v_language
V UI now has multiline textboxes with selection support:
-
The V Programming Language
@v_language
Vinix, an OS written in V, can now run a C compiler and V itself!
It also has a package manager powered by xbps and a builds page:
pkgs.vinix-os.org/repos/rolling
builds.vinix-os.org -
The V Programming Language
@v_language
A stock sync tool was re-written from PHP in V.
Execution time went down from 1 day to 15 minutes:
The V Programming Language
@v_language
The source code of V Shopware:
github.com/treffner/v-shopware-api-client -
The V Programming Language reposted
Nana
@yeboahnanaosei
Yesterday, I tried a new language @v_language. I wrote a tiny scrapper that returns a JSON list of the members of parliament. It's interesting how a compiled, statically typed, low level language can feel like an interpreted language.
Check it out:
github.com/yeboahnanaosei/members-of-parliament -
The V Programming Language
@v_language
There's now a coreutils implementation in V. The work has just started:
github.com/vlang/coreutils -
The V Programming Language
@v_language
Strings can now be converted to arrays of runes (unicode codepoints) with `str.runes()`.
This is similar to Go's `[]rune(str)`.
In V we decided not to use casting syntax for operations that result in allocations. -
The V Programming Language
@v_language
Vinix, an OS written in V, now runs mlibc and bash!
github.com/vlang/vinix -
The V Programming Language
@v_language
It's now possible to print a JSON representation of any V file's AST with
v ast file.v -
The V Programming Language reposted
Batyr
@kanzitelli
Writing scripts in @v_language is the next level of enjoyment! Thanks, Alex, for initiating such a great project!
-
The V Programming Language
@v_language
V's networking module now supports IPv6!
-
The V Programming Language
@v_language
Word counter written in V. 100 lines of code, 4x faster than GNU wc.
Blog article + code:
github.com/schicho/vwc -
The V Programming Language
@v_language
We have an open paid position to work on V's networking module, primarily on ipv6.
If you are interested and have experience in this area, please send an email to alexander[аt]vlang[dоt]io. -
The V Programming Language
@v_language
The V compiler used to have one dependency: a C compiler. Something that developers are likely to have, but still a dependency.
Now everything you need to compile V programs, including a small C compiler, is distributed in the 6 MB zip package downloadable from the home page. -
The V Programming Language
@v_language
Vinix, an OS written in V, just got an initial PS/2 keyboard driver implementation:
github.com/vlang/vinix/commit/7bc24ab87a05f2011644bb9f49f… -
The V Programming Language
@v_language
3/3: Arena allocation and manual memory management are also available, so V gives the developer full control.
-
The V Programming Language
@v_language
2/3: Now there's also an option to use GC for the entire project via v -gc.
This is useful until autofree is mature, since it allows to completely get rid of leaks in V projects today.
GC works really well in V due to its minimalism, lack of globals, and a low number of allocs. -
The V Programming Language
@v_language
1/3: V's autofree engine inserts necessary free calls automatically during compilation.
There's a demo of a text editor compiled with -autofree resulting in zero leaks without GC or RC.
For a small amount of objects that can't be freed via autofree, a GC is used. -
The V Programming Language
@v_language
The V project is looking for paid developers to work on V and related projects.
5/10/15 hours per week, flexible schedule.
One of the top priorities right now is the V language server.
If you are interested or know someone who could be interested, please send an email or a DM. -
The V Programming Language
@v_language
V's string interpolation and struct stringers used to rely on libc's sprintf, and it was a mess.
Thanks to penguindark's amazing work, all this logic is now written in pure V, and it's actually faster than sprintf. -
The V Programming Language
@v_language
We've just reached 10,000 commits!
(with a clean linear history, without merge commits)
That's about 15 commits per day on average. -
The V Programming Language
@v_language
V is #4 on GitHub's language list!
github.com/topics/language -
The V Programming Language
@v_language
V has had filter() and map() for a while, and recently any() and all() have been added as well:
-
The V Programming Language
@v_language
V's implicit interfaces are very similar to Go's.
It's often needed to check whether a type implements an interface at compile time. In Go something like has to be used:
var _ MyInterface = (*MyType)(nil)
V now has a much cleaner check:
$if MyType is MyInterface {
} -
The V Programming Language
@v_language
V supports arena allocation via a `-prealloc` compiler flag.
For example, with arena allocation building V itself is ~10% faster:
v -o v -prealloc cmd/v -
The V Programming Language
@v_language
vOS can now successfully jumpstart all CPU cores and threads, a multicore aware scheduler is being worked on:
github.com/vlang/vos -
The V Programming Language
@v_language
There are multiple ways to handle missing values in maps/arrays:
- Panic
- Zero value
- Optional
Different languages use different approaches, but V is flexible. You can either use an optional or a zero value.
The syntax is simple, so both options can be used interchangeably:
The V Programming Language
@v_language
This feature is documented:
github.com/vlang/v/blob/master/doc/docs.md
Array out of bounds access results in panics, not zero values, but optionals can also be used instead. -
The V Programming Language
@v_language
u8, byte, or both?
Allowing both can be achieved via aliases, but it's against V's "one way" philosophy. -
The V Programming Language
@v_language
V OS, a minimal operating system developed in V, now runs in QEMU with basic framebuffer support.
The project is lead by mintsuki on GitHub:
github.com/vlang/vos -
The V Programming Language reposted
nid
@npned
@v_language Language Server's most requested feature is finally here! Here is the preview demo of the "go to definition" feature in VSCode #vls
PR: github.com/vlang/vls/pull/83 -
The V Programming Language
@v_language
A new video:
Building V from source in 0.3 seconds. Fast compilation speed & easy bootstrapping demo.
www.youtube.com/watch?v=pvP6wmcl_Sc -
The V Programming Language
@v_language
V's bools used to take up 4 bytes, which was of course unacceptable.
Now it's down to 1 byte.
[]bool optimization (1 bit per bool, like in C++) is planned for the future. -
The V Programming Language
@v_language
V iOS Bundler: a generic utility to bundle and sign iOS binaries
leah lundqvist
@LeahLundqvist
Generating iOS Provisioning Profiles has never been easier 😉
-
The V Programming Language
@v_language
It's now possible to easily access common sum type fields with a simple obj.field.
Here's the new simplified Stmt.position() method from V's compiler source and how it looked before: -
The V Programming Language
@v_language
V now has a builtin dump() function, which is similar to Rust's dbg!() and Perl's Data::Dumper:
-
The V Programming Language
@v_language
Profiling V programs is very simple: just build them with -profile:
-
The V Programming Language
@v_language
time.sleep() is now more flexible and consistent, like in Go:
time.sleep(10 * time.second) instead of time.sleep(10)
time.sleep(10 * time.millisecond) instead of time.sleep_ms(10) -
The V Programming Language
@v_language
V now supports thread primitives with an easy way to get computation results:
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language
@v_language
A 3D raymarching demo in V by Dario Deledda
github.com/vlang/v/tree/master/examples/sokol/rt_glsl
leah lundqvist
@LeahLundqvist
15-20w M1 Mac Mini VS 160w RTX 2060:
A 3D raymarching demo written in @v_language -
The V Programming Language reposted
leah lundqvist
@LeahLundqvist
15-20w M1 Mac Mini VS 160w RTX 2060:
A 3D raymarching demo written in @v_language -
The V Programming Language
@v_language
fast.vlang.io is now updated instantly.
It's a simple website that tracks V's compilation speed after each commit. -
The V Programming Language
@v_language
V now supports overloading of == and <, thanks to @Delta2315.
!= > <= and >= are generated automatically.
Many are concerned about V's operator overloading. It is indeed dangerous, that's why V limits it significantly.
But it really helps make maths/game code much cleaner. -
The V Programming Language
@v_language
vfmt now has automatic imports, similar to the goimports tool.
For example, if we call the time․now() function, but forget to import the time module, vfmt will take care of that on save:
The V Programming Language
@v_language
This will get formatted to
-
The V Programming Language
@v_language
V has a very nice and fast hashmap implementation.
But it had a serious limitation: it only worked with string keys.
Not any more, now any type can be used. -
The V Programming Language
@v_language
A blog post by @hungrybluedev:
Reorganizing the rand module for V
hungrybluedev.in/reorganizing-the-random-library-for-v -
The V Programming Language
@v_language
vfmt used to remove all empty lines.
Many people complained about this, and it has been fixed.
Now it behaves like gofmt and preserves empty lines the developer inserted for separating blocks of code, but multiple empty lines are replaced with one. -
The V Programming Language
@v_language
The V project has lots of examples. We think examples are really important to make it easier to learn the language and its libraries.
A new cool example has been added by @shadowninja55: a simple snake game, using V's builtin graphics library. -
The V Programming Language
@v_language
Which string interpolation syntax do you prefer?
Right now V uses `$name` and `${foo.bar()}` for more complex expressions, and using {name} would simplify this and make it more consistent. -
The V Programming Language
@v_language
Thanks to @develpon, V now has a compile time function for embedding files: $embed_file(path)
The V Programming Language
@v_language
In this example the image is embedded into the resulting binary and doesn't need to be distributed together with the program.
-
The V Programming Language
@v_language
Thanks to @spaceface7777 and @danieldaeschle, modules.vlang.io, automatically generated documentation of V's standard library, is now updated on every single commit.
It also has instant global search now. -
The V Programming Language
@v_language
C2V can now generate V wrappers on top of C libraries.
github.com/vlang/libsodium is an example of such a wrapper.
This also means that V now has a clean and easy-to-use library for encryption (installed via "v install libsodium").
The V Programming Language
@v_language
C2V itself will be open-sourced next week.
-
The V Programming Language
@v_language
First test live coding stream by Joe:
Working on array decomposition to varargs
www.twitch.tv/v_language
www.youtube.com/watch?v=-ZZbgrclxLM -
The V Programming Language
@v_language
After 0.3, we'll be going for 1.0 right away, freezing the syntax, similar to what Go did.
So if something has to be changed, now is the time to do it.
A GitHub discussion was created to collect feedback:
"What would you like to be changed?"
github.com/vlang/v/discussions/7610 -
The V Programming Language
@v_language
V 0.2, the first major release, is out!
github.com/vlang/v/discussions/7474
The main focus of this release has been on stability and compile-time memory management. -
The V Programming Language
@v_language
People are really excited about the upcoming autocomplete support in the V language server & VS Code extension :)
-
The V Programming Language
@v_language
Information about V's memory management has been added to the home page together with the autofree demo.
-
The V Programming Language
@v_language
V's compile time memory management demo. Running the Ved editor on an 8 MB file with 0 leaks:
www.youtube.com/watch?v=gmB8ea8uLsM -
The V Programming Language
@v_language
V has just reached 20k stars on GitHub!
Just in time for tomorrow's 0.2 release.
We got to 20k stars pretty fast: -
The V Programming Language
@v_language
Lots of people complained about V's prebuilt binaries being out of date.
From now on, GitHub Actions are used to generate weekly builds for Linux, macOS, and Windows.
The home page always contains links to the most up-to-date releases. -
The V Programming Language
@v_language
Cached modules are back!
This means that the entire standard library no longer has to be re-compiled for each program.
The compilation is much faster now. For example, building the V compiler itself has become 4-5 times faster.
On my machine it went from ~1s to 0.2s: -
The V Programming Language
@v_language
A huge milestone for V: Ved (text editor written in V) and Gitly compile and run with autofree!
There are still some leaks to fix, but more than 90% of the leaks were removed by autofree.
This was the last feature blocking the 0.2 release, so expect it soon!
The V Programming Language
@v_language
The memory management model will be thoroughly explained and documented in the coming days.
-
The V Programming Language
@v_language
V runs on Apple's new M1 arm64 CPU without any changes.
Most amazingly, the compilation speed on the new fanless MacBook Air is 40% faster than on a 2020 3.3 GHz 6-Core Intel Core i5:
0.9s vs 1.5s to compile V itself (`time v self`)
The V Programming Language
@v_language
Also this shows that with new features V slowed down significantly and no longer delivers the promised <1s build time on average hardware.
This will be fixed after optimizations and the release of cached modules. -
The V Programming Language
@v_language
V now has a built-in term.ui module for building dynamic terminal UIs:
-
The V Programming Language
@v_language
V is about speed, and we have a very useful tool for monitoring compilation speed and catching commits that cause slowdowns early on:
fast.vlang.io
Just recently a 49ms slowdown was caught, which might not seem much, but it meant a 20% increase in compilation time. -
The V Programming Language
@v_language
V now has embedded structs. They work just like in Go:
-
The V Programming Language
@v_language
Which way do you prefer?
-
The V Programming Language
@v_language
V Protocol Buffers library: github.com/emily33901/vproto
-
The V Programming Language
@v_language
In order to make development cycle faster, V uses warnings, not errors, for things like unused variables, unused imports, unnecessary mutables etc.
But since many programmers tend to ignore warnings, V forces to take care of them by turning them into errors in prod builds.
The V Programming Language
@v_language
Thus the development is not slowed down, since you are not getting errors by commenting out lines while testing something out, for example.
At the same time, warnings must be taken care of, since prod builds won't compile with them. -
The V Programming Language
@v_language
V now has another graphical game example in the main repo: 2048.
github.com/vlang/v/tree/master/examples/2048
You can play the WebAssembly version in your browser:
v2048.vercel.app -
The V Programming Language
@v_language
V has built-in JSON support. JSON serialization is very easy and fast, since it's done at compile time.
The old JSON module used a C dependency: cJSON. Now it's written in pure V, thanks to Ned Palacios.
The V Programming Language
@v_language
By "done at compile time" I meant that there's no runtime reflection used (like in Go). The following code is generated during compilation:
user.name = get_string(data, 'name')
user.age = get_int(data, 'age')
etc -
The V Programming Language
@v_language
V has smart casts for sum types and interfaces, like TypeScript and Kotlin.
It makes unwrapping these types very clean: -
The V Programming Language
@v_language
A good V / V UI performance demo.
Scrolling through 5000 Slack messages in the upcoming Volt client for Slack/Discord:
www.youtube.com/watch?v=V3oss-ECnxw
(public beta for all 3 systems later this month)
The V Programming Language
@v_language
The size of the entire application is ~1 MB.
-
The V Programming Language
@v_language
Thanks to @helto4real, the V standard library now has a powerful websocket module (x.websocket) that conforms to RFC 6455 and passes the Autobahn test suite (498 client tests and 249 server tests).
-
The V Programming Language
@v_language
V now has an early version of channels. The syntax is the same as in Go:
-
The V Programming Language
@v_language
The V compiler detects typos and suggests the right spelling by looking for existing fields/variables with a similar name:
-
The V Programming Language
@v_language
V now has a clean and easy way to sort all kinds of arrays:
-
The V Programming Language
@v_language
V CI now runs "v fmt -verify" that makes sure all code submitted to the V repository is vfmt'ed.
The V formatter is pretty stable now and ensures clean and predictable code style across all files in the main repository. -
The V Programming Language
@v_language
V now has early iOS support.
Expect V UI apps running on iOS and Android soon. -
The V Programming Language
@v_language
Thanks to @develpon, V and the V graphics module now run on Android.
Android will be fully supported soon.
www.youtube.com/watch?v=fIijYm1MfmI -
The V Programming Language
@v_language
When working with arrays in V, you can specify the capacity of the array during initialization for better performance:
github.com/vlang/v/blob/master/doc/docs.md -
The V Programming Language
@v_language
If you want to know what day it is going to be 100 days from now, instead of asking Siri or Alexa, you can simply ask the V REPL:
-
The V Programming Language
@v_language
More than $12k has been donated over the last year to support the development of V. This allowed me to work on V full time.
Thank you very much.
If you'd like to support the project, you can do it via GitHub, and your contribution will be doubled:
github.com/sponsors/medvednikov -
The V Programming Language
@v_language
The V language is officially out of alpha and now has a backwards compatibility guarantee:
github.com/vlang/v -
The V Programming Language
@v_language
The V repo now has almost 100k lines of V!
By the way, I really recommend @boyter's scc for counting lines of code. It's an order of magnitude faster than cloc, and it supports V. -
The V Programming Language
@v_language
The first web app written in V has been open-sourced:
github.com/vlang/gitly
Gitly, a very light and fast alternative to GitHub/GitLab.
- Minimal amount of RAM usage (works great on the cheapest $3.5 instance)
- Easy to deploy (a single <1 MB exe that includes compiled tmpls)
The V Programming Language
@v_language
You can try it out at gitly.org
-
The V Programming Language
@v_language
The last missing feature from the old backend is back: V ORM.
- One syntax for all SQL dialects. Easy migration.
- Queries using V's syntax. No need to learn another syntax.
- Safety. All queries are automatically sanitised.
- Compile time checks. No more typos.
- Easy to use. -
The V Programming Language
@v_language
A minor syntax update: magic `it` variable in sum type/interface matches has been removed. The variable being matched is now cast to the matched type.
`it` didn't work with embedded matches, so it was a bad idea.
The V Programming Language
@v_language
The change is completely handled by vfmt. Existing code doesn't have to be updated manually.
-
The V Programming Language
@v_language
Since so many expressed interest in Twitch streams, they will start this month.
You can follow on Twitch:
www.twitch.tv/v_language
Vods will be uploaded to YouTube:
www.youtube.com/c/vlang
You can also subscribe to stream notifications via Discord:
discord.gg/vlang -
The V Programming Language
@v_language
A Hello World program built using V's x64 backend is only 182 bytes.
You won't get this even by using NASM. -
The V Programming Language
@v_language
Would you be interested in daily Twitch streams of developing V and V projects like Gitly, Vid, vweb etc?
The vods would be uploaded to YouTube. -
The V Programming Language
@v_language
What do you think about a mandatory `!` at the end of a method call to make it clear that the method modifies the receiver?
files.sort!()
`!` can be added by V/vfmt automatically to avoid modifying lots of calls in case the method signature changes. -
The V Programming Language
@v_language
V's graphics module has just received a major upgrade: now it uses Metal/DirectX/OpenGL instead of OpenGL for everything.
This improved performance and compatibility (Windows has much better DirectX support, Apple deprecated OpenGL).
It also improved text rendering greatly. -
The V Programming Language
@v_language
V is about readability.
Complex boolean expressions with && and || are very common in programming, and can become confusing.
That's why V requires explicit parentheses to make such expressions clear. -
The V Programming Language
@v_language
Cross-compiling for Linux and Windows is back.
So now, if you are working on, say, a web app on macOS, you can make a Linux build and deploy a single binary to a Linux server.
Making cross-platform V builds has become much easier:
v -os linux cmd/v
v -os windows cmd/v -
The V Programming Language
@v_language
Game of life written in V, built with WASM/V.js in your browser:
v-wasm.now.sh?url:examples/game-of-life.v -
The V Programming Language
@v_language
Thanks to the V => JS transpiler, V can now run entirely in your browser!
v-wasm.now.sh
The V compiler is compiled to WASM. When you click "run", the V program is translated to JS and evaluated by the browser.
Soon the official playground will be using this. -
The V Programming Language
@v_language
Is your programming editor in dark mode or light mode?
-
The V Programming Language
@v_language
Awesome V: a curated list of awesome V frameworks, libraries, software and resources.
github.com/vlang/awesome-v -
The V Programming Language
@v_language
V 0.1.27 is out.
This was supposed to be the 0.2 release, but I forgot about 2 upcoming syntax changes, and I still need to make vweb work with the new backend. It's better to do these before 0.2. -
The V Programming Language
@v_language
Hot code reloading is one of my favorite V's features.
I've updated the bounce.v demo on the home page.
We change the speed of the objects, their visibility, and color without quitting the program and recompiling it. -
The V Programming Language
@v_language
The new backend has been successfully integrated. All planned features for 0.2 have been implemented.
The release of the first stable version 0.2 with a promise of compatibility is planned for May 5. -
The V Programming Language
@v_language
The V project has a "zero unhandled PRs" policy.
I keep the number of unhandled pull requests at 0.
PRs are processed within 24 hours in most cases. -
The V Programming Language
@v_language
What do you think about renaming the `mut` keyword to `mutable`, like in F#?
I've personally never been a big fan of the word "mut" which sounds like "mutt".
"Mutable" sounds better and adds a bit of extra work to declare mutable variables, which should be avoided if possible -
The V Programming Language
@v_language
I like removing code.
15k lines of the old backend code were removed in a single commit.
The new backend is now the default. -
The V Programming Language
@v_language
The new vfmt is 10 times faster!
Mostly because of the new more efficient parser and formatting a single file, not the entire project.
Running vfmt on save will no longer be noticeable.
Also it can now format code that has compilation errors.
The V Programming Language
@v_language
This file has 3k lines of code by the way.
-
The V Programming Language
@v_language
Consts: all caps or snake_case?
-
The V Programming Language
@v_language
The new compiler can finally compile itself!
The old backend will now be removed after all tests pass.
After the remaining memory leaks are fixed, V 0.2 will be released.
The new AST based backend is much cleaner, easier to develop/maintain, and ~2 times faster. -
The V Programming Language
@v_language
Simple V programs no longer have memory leaks. Valgrind tests have been added to CI.
The goal is to improve V's compile time memory management so that the largest V project at the moment, the V compiler itself, is leak free. -
The V Programming Language
@v_language
A simple calculator in V & V UI:
github.com/vlang/ui/blob/master/examples/calculator.v -
The V Programming Language
@v_language
V tops Tech Empower's web framework benchmark:
www.techempower.com/benchmarks/ -
The V Programming Language
@v_language
Ulises Jeremias wrote an amazing well documented scientific library in V.
It has physical constants, trigonometric and hyperbolic functions, complex numbers, quaternions, polynomials, numerical differentiation, statistics and easing functions:
github.com/vlang/vsl -
The V Programming Language
@v_language
Thanks to @leahlundqvist, V UI now has simple animations:
-
The V Programming Language
@v_language
Thanks to @UnnWeihe, V's maps are now hashmaps, not B-trees, with a much better performance of `get()`:
-
The V Programming Language
@v_language
V's new AST based parser is ready.
The development is going to be much faster from now on.
The new tool vdoc is using the new parser. Now you can quickly get module docs by running `v doc [module]`.
HTML docs will be generated and uploaded this week. -
The V Programming Language
@v_language
V UI 0.0.1 is out!
github.com/vlang/ui
It's a library for developing cross-platform UI apps.
In this demo the following widgets are used:
- Text boxes (incl. numeric & password only)
- Check boxes
- Radio button list
- Push button
- Progress bar
- Label
- Canvas
- Picture -
The V Programming Language
@v_language
V 0.1.24 is out.
Happy new year! -
The V Programming Language
@v_language
v fmt -w is out.
V's entire code base has been formatted.
Just like gofmt, vfmt is strict and has no options, ensuring one coding style across all code bases. -
The V Programming Language
@v_language
Right now V uses Go's syntax for casting:
var := Type(val)
This is very similar to function calls, it complicates the parser and I think it reduces readability.
What do you think about using `as` for casting, like in Rust and Kotlin? -
The V Programming Language
@v_language
V now has sum types.
The new AST is being built with them: -
The V Programming Language
@v_language
After lots of fixes in V, vweb, generics, V ORM, and Vorum, the V forum is back:
forum.vlang.io
It's an open-source web app written 100% in V.
The V Programming Language
@v_language
It's very light and fast. The entire application is about 100 KB, RAM usage is minimal, so, unlike Discourse, it can be run on the cheapest $3 instance :)
-
The V Programming Language
@v_language
V 0.1.23 is out!
This is the last release before 0.2. -
The V Programming Language
@v_language
Prebuilt V binaries for Linux, macOS, and Windows can now be downloaded from the home page.
They will be updated every couple of days. -
The V Programming Language
@v_language
Direct x64 machine code generation is here!
Building a 263 byte Hello World program in 3 milliseconds:
The compilation speed in this mode is about 1 million lines per second.
(It's at a very early stage, but by January, V will be able to compile itself without a C compiler.) -
The V Programming Language
@v_language
Blog post:
On the benefits of using C as a language backend
github.com/vlang/v/wiki/On-the-benefits-of-using-C-as-a-l… -
The V Programming Language
@v_language
The V community started working on vOS:
github.com/vlang/vos
If you are interested, join the development :)
This is not another toy OS project. vOS will be fully compatible with Linux with its great hardware and software support.
The new V UI toolkit will be the default. -
The V Programming Language
@v_language
V now runs on bare metal!
No libc or vlib.
From now on V can be used for embedded, kernel development, etc. -
The V Programming Language
@v_language
V just got the first platinum sponsor: mx.com!
-
The V Programming Language
@v_language
The V online playground is back!
vlang.io/play -
The V Programming Language
@v_language
V 0.1.22 is out:
-
The V Programming Language
@v_language
V now works with musl and runs on musl based distros, like Alpine Linux.
-
The V Programming Language
@v_language
V now has generics!
You can check out the examples here:
github.com/vlang/v/blob/master/vlib/compiler/tests/generi… -
The V Programming Language
@v_language
V now compiles itself in 0.09 seconds: github.com/vlang/v/wiki/The-V-language-now-compiles-itsel…
0.31 seconds on a slow 5 year old laptop :) -
The V Programming Language
@v_language
Running ImGui via SDL2/OpenGL in V:
github.com/nsauzede/sdl2test/tree/master/vig -
The V Programming Language
@v_language
Do you prefer single or double quotes?
-
The V Programming Language
@v_language
V now has multiple return values:
fn foo() (int, int) { }
a, b := foo()
There are suggestions to remove the parentheses:
fn foo() int, int { }
This is something I also considered way back.
What do you think? -
The V Programming Language
@v_language
V 0.1.20 & 0.1.21 changelog:
-
The V Programming Language
@v_language
Correction of my previous tweet: Solaris *is* under active development.
That's great news. Solaris is an awesome system, and it's good to have V support it.
Darren Moffat @darrenmoffat@fosstodon.org
@darrenmoffat
More than 2500 bugs fixes and 300 enhancements to Oracle Solaris 11.4 in the last year alone, a mix of core Oracle Solaris fixes and included FOSS component upgrades. Lots more still in the development tip going through testing for release.
-
The V Programming Language
@v_language
V now supports Solaris/SmartOS.
Solaris is not a very actively developed system, but still it's good to support it.
SmartOS is a pretty cool and promising in-memory hypervisor.
The end goal is to support all systems and all hardware. -
The V Programming Language
@v_language
I'm working on the declarative UI framework.
There are 2 options: use a small markup language similar to Qt's QML or use V itself, like SwiftUI and Flutter do.
Which one would you prefer?
GitHub discussion with syntax examples:
github.com/vlang/v/issues/2065 -
The V Programming Language
@v_language
V now has a new -compress option.
When used, the entire V compiler can be compiled to a 128 KB executable.
This is very useful for web deployments, for example. -
The V Programming Language
@v_language
V can now compile to JavaScript!
Right now it's at a very early stage, but later this month you'll be able to run the entire V compiler in your browser. -
The V Programming Language
@v_language
V 0.1.19 is out!
-
The V Programming Language
@v_language
Which lambda syntax do you prefer?
1) No new syntax: numbers.filter(fn(x int) bool { return x % 2 == 0 })
2) C#/Scala: numbers.filter(x => x % 2 == 0 )
3) Scala (short): numbers.filter(_ % 2 == 0)
4) Swift: numbers.filter($0 % 2 == 0) -
The V Programming Language
@v_language
u8, byte, or both?
Allowing both can be achieved via aliases, but it's against V's "one way" philosophy. -
The V Programming Language
@v_language
760 pull requests, 108 contributors, 1.2k commits, 11k stars in just two months after the open-source release.
Thanks to everyone for their contribution!
Things are looking good for the planned first stable release in September and a 1.0 release in December. -
The V Programming Language
@v_language
Which syntax do you prefer: a repeat expression or a simple function call?
numbers := [0 ; nr_repeats]
numbers := array.repeat(0, nr_repeats)
Removing the repeat expression will make the language simpler. -
The V Programming Language
@v_language
V is now supported by GitHub!
-
The V Programming Language
@v_language
The full changelog is available here:
github.com/vlang/v/blob/master/CHANGELOG.md -
The V Programming Language
@v_language
V 0.1.18 has been released.
The changes are listed in the attached image. -
The V Programming Language
@v_language
Which mutable variable declaration syntax do you prefer?
-
The V Programming Language
@v_language
vpm, the V package manager is out:
vpm.vlang.io
Submitting your V module takes a couple of seconds, and installing modules is now as simple as
v install pg -
The V Programming Language
@v_language
It's now possible to write web apps in V! The vweb framework is out:
github.com/vlang/v/tree/master/vlib/vweb
The V forum has also been open-sourced:
github.com/vlang/vorum
Everything, including HTML templates, gets compiled into one 100-200 KB binary file. -
The V Programming Language
@v_language
I'm starting work on V's package manager (similar to npm and Ruby Gems).
Any name suggestions? -
The V Programming Language
@v_language
This syntax is not going to change, but I'm really curious what the public opinion is.
Logical operators: C or Python syntax? -
The V Programming Language
@v_language
Interactive graph builder with hot code reloading.
A huge thanks to Delian Angelov for helping make this work.
The V Programming Language
@v_language
You can find this program here:
github.com/vlang/v/blob/master/examples/hot_code_reloadin… -
The V Programming Language
@v_language
V now runs on all major BSD systems: FreeBSD, OpenBSD, NetBSD, and DragonFly BSD.
-
The V Programming Language
@v_language
Hot code reloading with V:
github.com/vlang/v/blob/master/examples/hot_code_reloadin… -
The V Programming Language
@v_language
V now has module aliasing. Which syntax do you prefer?
-
The V Programming Language
@v_language
V 0.1 has been open sourced! You can download V for Linux, macOS, and Windows or build it from source in less than a second.
Some people even managed to successfully run it on Android!
You can access V 0.2 roadmap on GitHub:
github.com/vlang/v/projects/2 -
The V Programming Language
@v_language
First happy V user
However, I decided to release the binaries together with the source on 6/22.
I wanted people to have an early access, but now I realize that running a binary blob without source is not reasonable.
I've just pulled the macOS build after it being up for 7h -
The V Programming Language
@v_language
Right now V uses Ruby's << for appending an element to an array. Some people think it goes against the design of the language.
Which one do you prefer? -
The V Programming Language
@v_language
V builds for Linux, macOS, and Windows will be available for everyone on June 20.
The source code will be published on GitHub on June 22. -
The V Programming Language
@v_language
Cross compiling is easy with V.
In this demo V for macOS is used to build V for Windows. Then v.exe is tested on a Windows VM: -
The V Programming Language
@v_language
All-caps constants: yay or nay?
V is a strict language and it's going to force one style for naming constants. -
The V Programming Language
@v_language
Building V in 0.4 seconds and then using the resulting binary to build itself again.
The V Programming Language
@v_language
This number should drop to 0.3s by the end of May, and once machine code generation is stable, it’ll drop to ~0.15s.
-
The V Programming Language
@v_language
Which one do you prefer?
user := json.decode(User, data)
user := json.decode<User>(data) -
The V Programming Language
@v_language
Cross-platform Tetris in 230 lines of V:
github.com/vlang/v/tree/master/examples/tetris
You'll be able to compile it today, since early access builds are going to be live today at 5pm UTC! -
The V Programming Language
@v_language
V forum is live:
forum.vlang.io
This simple forum/blogging software is written in V and will be open sourced after the language is.
The entire web app is a single 65 KB binary file and has zero lines of JavaScript :) -
The V Programming Language
@v_language
In V variables are immutable by default.
What do you think about making struct fields immutable by default as well? -
The V Programming Language
@v_language
All examples in the docs are now runnable:
vlang.io/docs -
The V Programming Language
@v_language
The V playground is live:
vlang.io/play
This is a pre-alpha stage. The language is going to become
a lot more stable in the next month.
Please report all issues via GitHub.
Coming soon: online C to V translator.
Coming not so soon: online C++ to V translator. -
The V Programming Language
@v_language
math.pow(a, b) or a ** b?
There's a concern that there shouldn't be an operator for such an expensive operation.
On the other hand, it could make scientific and game code more readable. -
The V Programming Language
@v_language
Despite my earlier tweet, I decided to publish V under MIT, a simpler and more permissive license.
-
The V Programming Language
@v_language
License: MPL or Apache for the V compiler?
GPL is too restrictive and complex, MIT doesn't offer protection from patents.
To me MPL looks like an ideal option: it protects the project and its contributors, and it doesn't result in any inconveniences for companies. -
The V Programming Language
@v_language
The landing page now has 4 examples that show some features of the language.
Docs have been updated: vlang.io/docs
Also someone suggested offering an early access to Patreon supporters. Now you have an opportunity to get the compiler on May 1 :)
Playground tomorrow. -
The V Programming Language
@v_language
fn add(a i32, b i32) i32
or
fn add(a int, b int) int
About 80% of integer types used are i32. Right now in V "int" always means "i32".
Which one do you prefer? -
The V Programming Language
@v_language
Documentation is live:
vlang.io/docs
Also I posted a compilation speed benchmark:
vlang.io/compilation_speed
If you want to support V development, you can do it on Patreon:
patreon.com/vlang -
The V Programming Language
@v_language
?
-
The V Programming Language
@v_language
Just published the first draft of the documentation. So far it covers the basics.
vlang.io/docs -
The V Programming Language
@v_language
I bought 2 domains for the V website. I can't decide which one to use.
Which one do you prefer? -
The V Programming Language
@v_language
A basic version of the V website is up: vlang.io.
SSL, better mobile support, examples, documentation are coming this month.
































































































































































































































































































































































