home.social

#vlang — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vlang, aggregated by home.social.

  1. Big Improvement of the YAML module for V Language: improve Performance and add Tests Suite to raise Conformance - Work by David Legrand #Vlang github.com/vlang/v/pull/27021

  2. 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 github.com/vlang/v/blob/master

  3. Implementation of the ML-DSA Signature Algorithm (NIST's postquantum digital signature standard) in pure native V added to main repository #Vlang #Cryptography github.com/vlang/v/pull/26711

  4. Implementation of native atomic operations for the V programming language, without depending on an external C library #Programming #Vlang github.com/vlang/v/pull/26529

  5. Happy Day! ❤️

    Today I want to say thanks to the community and maintainers. V makes systems programming feel like scripting: fast, simple, and safe!

    @vlang

  6. 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 github.com/vlang/v/pull/26545

  7. 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 github.com/vlang/v/blob/master

  8. 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

    reddit.com/r/programming/comme

  9. 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.

    #programming

  10. 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.

    #programming

    (hid the screenshot in the slim chance of anyone still working on AoC)

  11. @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.

  12. 約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.675s

    Rust学習3日目で書いた私のコードは相当酷いものだったのだろうか。

    #CSharp #VLang #RustLang #どうしてこうなった

  13. 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!
  14. 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.

    #vlang #programming #gui #terminal #tui

  15. 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.

    #vlang #programming #terminal #gui

  16. Os presento vitrine, una biblioteca en lenguaje de programación V para crear aplicaciones con interfaces en la terminal. ✌️

    #vlang #programming

  17. And it can do this!!

    ⠀⠀⠀⠀⢏⠢⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠁⠀⠀⠀
    ⠀⠀⠀⠀⠘⡄⠀⠉⠢⣀⠀⠀⠀⠀⢀⠔⠊⢠⠃⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⢱⠀⠀⠀⠀⠑⢢⡤⠊⠁⠀⠀⡎⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⢇⠀⢀⡠⠒⠁⠈⠑⠤⡀⡸⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⡸⡔⠁⠀⠀⠀⠀⠀⠀⢨⠓⢄⡀⠀⠀⠀⠀
    ⠀⠀⠀⣀⠔⠉⠀⠱⡀⠀⠀⠀⠀⠀⢀⠎⠀⠀⠈⠢⢄⠀⠀
    ⣀⣔⣊⣀⣀⣀⣀⣀⣣⣀⣀⣀⣀⣀⣜⣀⣀⣀⣀⣀⣀⣉⣢
    ⠀⠀⠀⠀⠀⠀⠀⠀⠈⡆⠀⠀⠀⢰⠁⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⢀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢣⠀⡜⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢶⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

    #vlang #graphics #programming

  18. I made a small library to draw images in a terminal, inspired by asciimoo's drawille, but in @vlang!

    This is it:
    github.com/Nirei/vrawille

    And this is the vpm package:
    vpm.vlang.io/packages/Nirei.vr

    #vlang #programming

  19. 🥳 V 0.4.12 is out! The changelog has 350+ items.

    70% faster json encoder, VLS mode, hundreds of fixes and improvements. #vlang

    github.com/vlang/v/releases/ta

  20. Our CI checks that the code compiles and is formatted for each documentation change. #vlang

  21. 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.
    github.com/sevehub/vchecksum.v

  22. 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 module

    I 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

  23. 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.

    youtu.be/ZmC33nAnNQA

  24. 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
    youtu.be/ZmC33nAnNQA

  25. 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
    youtu.be/ZmC33nAnNQA

  26. @daz There were several attempts to take and fix its biggest quirks but nothing made mainstream yet. The biggest one is probably :
    github.com/vlang/v

    is a low-level " but simpler" language:
    ziglang.org/

    is an amazing Rust-looking type-safe language with actor model on VM:
    gleam.run/

    If compilation matters, is a fast compiled language with actor model:
    ponylang.io/

    1/2

  27. 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

  28. 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

  29. 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

  30. 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

  31. 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 →
    github.com/wsilva32/poly_decom

    #eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #convex #concave #collider #collision #math #mathematics #geometry

  32. 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

  33. 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 → github.com/ArtemkaKun/v-2d-pol, feedback is much appreciated.

    Thread 🧵

    #eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #collider #collision #math #mathematics #geometry

  34. 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` (github.com/ArtemkaKun/v-2d-tra)

    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

  35. @maxim

    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!

  36. 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

  37. 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

  38. 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.

    ziglang.org/

    2. Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula.

    nim-lang.org/

    3. V (vlang)

    Simple, fast, safe, compiled. For developing maintainable software

    (It has similar syntax to Go IMAO)

    vlang.io/

    4. Cyber

    Cyber is a new language for
    fast, efficient, and concurrent scripting.

    cyberscript.dev/

    #zig #cyber #nim #vlang #vlanguage

  39. I doubled down on and completed a handful of exercises using on exercism.org/tracks/vlang

    It's pretty similar to with some really cool features (Option/Result rather than nil), a batteries-included GUI framework, and a REPL (!)

    vlang.io/