#vlang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #vlang, aggregated by home.social.
-
Big Improvement of the YAML module for V Language: improve Performance and add Tests Suite to raise Conformance - Work by David Legrand #Vlang https://github.com/vlang/v/pull/27021
-
Initial implementation of Ownership for the V programming language ; inspired by Rust that tracks owned values and prevents use-after-move bugs at compile time #Programming #Vlang https://github.com/vlang/v/blob/master/doc/ownership.md
-
Implementation of the ML-DSA Signature Algorithm (NIST's postquantum digital signature standard) in pure native V added to main repository #Vlang #Cryptography https://github.com/vlang/v/pull/26711
-
Implementation of native atomic operations for the V programming language, without depending on an external C library #Programming #Vlang https://github.com/vlang/v/pull/26529
-
Happy #ilovefs Day! ❤️
Today I want to say thanks to the #vlang community and maintainers. V makes systems programming feel like scripting: fast, simple, and safe!
#OpenSource #Valentinesday #ilovefreesoftwareday #freesoftware #ilovefs26
-
Import of a new V native module regex.pcre for the V programming Language: provides a regular expression engine with UTF-8 support, supports compilation of patterns, iterative searching, full matching, global replacement, named groups #Programming #Vlang https://github.com/vlang/v/pull/26545
-
First version of an AGENTS\.md file added for the V programming language repository, to help coding/debugging with AI coding agents ; useful for humans too #Programming #AI #Vlang https://github.com/vlang/v/blob/master/AGENTS.md
-
Hướng dẫn xây dựng ứng dụng dạng mô-đun (modular) với ngôn ngữ lập trình V (Vlang). Bài viết tập trung vào cách cấu trúc mã nguồn hiệu quả, tận dụng tính đơn giản và tốc độ biên dịch của V để tạo ra các hệ thống dễ bảo trì, mở rộng và tái sử dụng linh hoạt.
#Vlang #Programming #ModularDesign #SoftwareArchitecture #Backend #PhatTrienPhanMem #LapTrinh #VLanguage
https://www.reddit.com/r/programming/comments/1qp8xy8/building_modular_applications_with_v/
-
Okay, after a bit of work in #vlang:
- I think I prefer golang though I really prefer the error system of `v`.
- I enjoy writing code in `nim` more than `v`. While I do enjoy `v` more than `rust`, the documentation and support extensions are better for almost every other language which makes things difficult starting out. -
So, decided to give #vlang a go for a bit and it's not horrible. Not sure if I'm a fan yet, but it's fast and doesn't fight me too much. I prefer the error handling though, it's damned nice.
(hid the screenshot in the slim chance of anyone still working on AoC)
-
@hackernoon Rust is not a C replacement. That ship has sailed. It's not even close. In theory it could have been a C++ replacement, but I think C++ will incorporate all good aspects of #Rustlang before that happens.
#ziglang or #vlang are better candidates.
But my guess is that C will be dominant for as long as we use von Neuman based CPUs. We mostly just need better tooling.
-
約5MiBのJSONファイルをMarkdownに変換して書き出すコードをC#/V言語/Rustで書いた実行速度の結果がこちら。
• C# (.NET 9.0.306): 1.596s
• V (0.4.12 c560e72): 0.957s
• Rust (1.91.0 GNU): 7.675sRust学習3日目で書いた私のコードは相当酷いものだったのだろうか。
-
One of the reasons why #Mastodon is able to add so many new features is because it's written in Ruby.
However, this also makes it unattractive to run in the first place because of Ruby's inefficiency.
This is why I encourage new #Fediverse developers to adopt #V: https://vlang.io #vlang
V is like Go but better.
It is as fast as #Rust, but has better syntax.
You'll be able to code faster. Your code will read better.
If you're a Rust developer, consider making the switch! -
Y... ¡Vitrine ya tiene eventos de entrada!
Cerquísima de un primer lanzamiento... una vez limpie, documente y simplifique el código bastante, y confeccione el manual.
-
Vitrine now supports four different alignment modes for its flex component.
I want to think about text flow next but it kind of looks like a complex topic... And I should probably start writing some tests soon too.
-
Os presento vitrine, una biblioteca en lenguaje de programación V para crear aplicaciones con interfaces en la terminal. ✌️
-
And it can do this!!
⠀⠀⠀⠀⢏⠢⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠁⠀⠀⠀
⠀⠀⠀⠀⠘⡄⠀⠉⠢⣀⠀⠀⠀⠀⢀⠔⠊⢠⠃⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢱⠀⠀⠀⠀⠑⢢⡤⠊⠁⠀⠀⡎⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⢇⠀⢀⡠⠒⠁⠈⠑⠤⡀⡸⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⡸⡔⠁⠀⠀⠀⠀⠀⠀⢨⠓⢄⡀⠀⠀⠀⠀
⠀⠀⠀⣀⠔⠉⠀⠱⡀⠀⠀⠀⠀⠀⢀⠎⠀⠀⠈⠢⢄⠀⠀
⣀⣔⣊⣀⣀⣀⣀⣀⣣⣀⣀⣀⣀⣀⣜⣀⣀⣀⣀⣀⣀⣉⣢
⠀⠀⠀⠀⠀⠀⠀⠀⠈⡆⠀⠀⠀⢰⠁⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⢀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢣⠀⡜⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢶⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -
I made a small library to draw images in a terminal, inspired by asciimoo's drawille, but in @vlang!
This is it:
https://github.com/Nirei/vrawilleAnd this is the vpm package:
https://vpm.vlang.io/packages/Nirei.vrawille -
🥳 V 0.4.12 is out! The changelog has 350+ items.
70% faster json encoder, VLS mode, hundreds of fixes and improvements. #vlang
-
Our CI checks that the code compiles and is formatted for each documentation change. #vlang
-
AFAIK, there's only one existing Vim plugin for buffer checksums, and it's quite old, relying heavily on terminal tools. I've developed a newer version using Vim9Script and the V language. Contributions and ideas are welcome. #Vim #VLang #Checksum #Programming #vim9script
https://github.com/sevehub/vchecksum.vim -
I am congesting the options for Mastodon apps!
I am making two:
1. An app made in #python3 that only works in #pythonista for iOS because of its only external dependency being the UI module that only works Pythonista
2. An app made in #vlang with its only external dependency being the official UI moduleI don't expect these to be used (especially the pythonista one) but it'll be a fun challenge for me to learn to write an API wrapper (and decent UI) :blobcat:
#softwaredevelopment #programming -
I created this video in 2022, it explores an intriguing capability of Vim: the ability to call functions from Dynamic-link libraries (DLLs). Shared libraries, commonly known as DLLs, play a crucial role in software development. Vim surprisingly allows us to invoke functions residing within these DLLs.
#vim #v_programming_language #vlang #dll
https://youtu.be/ZmC33nAnNQA -
I created this video in 2022, it explores an intriguing capability of Vim: the ability to call functions from Dynamic-link libraries (DLLs). Shared libraries, commonly known as DLLs, play a crucial role in software development. Vim surprisingly allows us to invoke functions residing within these DLLs.
#vim #v_programming_language #vlang #dll
https://youtu.be/ZmC33nAnNQA -
I created this video in 2022, it explores an intriguing capability of Vim: the ability to call functions from Dynamic-link libraries (DLLs). Shared libraries, commonly known as DLLs, play a crucial role in software development. Vim surprisingly allows us to invoke functions residing within these DLLs.
#vim #v_programming_language #vlang #dll
https://youtu.be/ZmC33nAnNQA -
@daz There were several attempts to take #golang and fix its biggest quirks but nothing made mainstream yet. The biggest one is probably #vlang:
https://github.com/vlang/v#Zig is a low-level "#Rust but simpler" language:
https://ziglang.org/#Gleam is an amazing Rust-looking type-safe language with actor model on #Erlang VM:
https://gleam.run/If compilation matters, #PonyLang is a fast compiled language with actor model:
https://www.ponylang.io/1/2
-
I'm back! After a week of resolving real-life problems, I'm ready to continue working on the #eggcellentadventure game.
The last feature I added was animations. The game makes extensive use of sprite animations, and implementing a universal animation job with ECS was straightforward.
More in the thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #mobile #2d #animation #spriteanimation #2danimation #pixelartanimation
-
I'm back! After a week of resolving real-life problems, I'm ready to continue working on the #eggcellentadventure game.
The last feature I added was animations. The game makes extensive use of sprite animations, and implementing a universal animation job with ECS was straightforward.
More in the thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #mobile #2d #animation #spriteanimation #2danimation #pixelartanimation
-
I'm back! After a week of resolving real-life problems, I'm ready to continue working on the #eggcellentadventure game.
The last feature I added was animations. The game makes extensive use of sprite animations, and implementing a universal animation job with ECS was straightforward.
More in the thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #mobile #2d #animation #spriteanimation #2danimation #pixelartanimation
-
I'm back! After a week of resolving real-life problems, I'm ready to continue working on the #eggcellentadventure game.
The last feature I added was animations. The game makes extensive use of sprite animations, and implementing a universal animation job with ECS was straightforward.
More in the thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #mobile #2d #animation #spriteanimation #2danimation #pixelartanimation
-
Wow, what a busy week! 🤯
My first try at using the Bayazit decomposition algorithm didn't go as planned. It worked fine with simple stuff, but couldn't handle the complex shapes in Eggcellent Adventure.
Thread 🧵
So, I had to find a new solution. Luckily, I found this →
https://github.com/wsilva32/poly_decomp.py/tree/master#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #convex #concave #collider #collision #math #mathematics #geometry
-
After I got the polygon editor up and running, my next mission was to roll out the collision algorithm for 2D polygons. This task was divided into two sections:
1. The implementation of the SAT (Separating Axis Theorem) algorithm.
2. The implementation of the Bayazit polygon decomposition algorithm.Thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #convex #concave #collider #collision #math #mathematics #geometry
-
-
I still haven't decided whether to learn Vala or V.
Who can help me make up my mind? 🙏🏻#vlang #vala #valalang #valac #compiler #programming #programminglanguages
-
I’m happy to announce that the implementation of SAT collision detection and Bayazit decomposition was finished and battle-tested in the Eggcellent Adventure game!
You can find the implementation here → https://github.com/ArtemkaKun/v-2d-polygon-colliders, feedback is much appreciated.
Thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #collider #collision #math #mathematics #geometry
-
While creating the polygon editor tool, I also separated 2D transform code into a module, so I can use it for polygons and the game -> `v-2d-transform` (https://github.com/ArtemkaKun/v-2d-transform)
The module contains definitions of Vector and Point and basic operations, commonly used in games.
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #vector #math #mathematics #geometry
-
Hey, it's Artem from Poland 🇵🇱. I mess around with #vlang and I'm making the #eggcellentadventure game when I can.
Used to work a lot with #Unity, but kinda over it now. Thinking of building my own engine in V for my games. Hoping to make a cool #VR game with solid physics one day 😅
I do some #opensource stuff and I'm into #linux.
At my day job, I mainly do #backend in #csharp and some #devops.
Would love to chat with other game devs, hit me up!
-
I finally finished the implementation of the polygon editor tool, so I can start drawing polygon colliders for #eggcellentadventure sprites and implementing the polygon collision calculation algorithm!🥳
More in the thread 🧵
#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #ui #2d #polygon #collider #linux #kde
-
Hi everybody 👋 I’m really happy to announce a game project I have been working on for the last 3 months - the Eggcellent Adventure game.
Continuation of the post in the following replies
#eggcellentadventure #game #indie #mobile #android #vlang #v #opensource #programming #gamedev
-
Some Modern Programming Languages like hidden gems 💎
1. Zig
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
Bun(javascript runtime environment) is one of the most famous project based on Zig.
2. Nim
Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula.
3. V (vlang)
Simple, fast, safe, compiled. For developing maintainable software
(It has similar syntax to Go IMAO)
4. Cyber
Cyber is a new language for
fast, efficient, and concurrent scripting. -
I doubled down on #MechanicalMarch and completed a handful of exercises using #vlang on #exercism https://exercism.org/tracks/vlang
It's pretty similar to #golang with some really cool features (Option/Result rather than nil), a batteries-included GUI framework, and a REPL (!)