zig VS v

Compare zig vs v and see what are their differences.

zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. (by ziglang)

v

Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io (by vlang)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
zig v
783 210
27,151 34,919
2.0% 0.4%
10.0 9.9
5 days ago 5 days ago
Zig V
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

zig

Posts with mentions or reviews of zig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-29.

v

Posts with mentions or reviews of v. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-02.
  • Show HN: A new stdlib for Golang focusing on platform native support
    7 projects | news.ycombinator.com | 2 Oct 2023
    Goroutines was the selling point for me until they decided to introduce telemetry in their toolchain; that was what forced me to stop using Golang as a whole.

    About GC, I would say: if you implement C++'s RAII mechanism to replace garbage collection, then I believe this project will have a bright future.

    My final question is the following: how `pcz` compares to V language, from a syntax's perspective [1]?

    [1] https://github.com/vlang/v

  • The V Programming Language 0.4
    6 projects | news.ycombinator.com | 28 Aug 2023
    In both the review itself and in V's documentation, from which the example came, it states that autofree is still WIP. It's arguably disingenuous to pretend otherwise or present unintended usage.

    The normal "day-to-day" situation would be to have the GC on, and to do otherwise (like -gc none or -prealloc), one should know what they are doing or be prepared to deal with such issues.

    Those parts of the review, considered relevant in normal usage were resolved:

    https://github.com/vlang/v/issues/14803

    https://github.com/vlang/v/issues/14787

    https://github.com/vlang/v/issues/14786

    But even beyond that, the intent of the so-called review was arguably malevolent. It was not done in good faith, to be helpful to the developers or community, but done to spur on drama (thus adding the vaporware link and spamming it) and knowingly looking for ways to bash an alpha version of the language.

    6 projects | news.ycombinator.com | 28 Aug 2023
    V has the right to exist, have its supporters, and do things its own way. The creator and developers of V, from what I have seen, has always responded well to constructive criticism. Their language has discussions opened at their GitHub, unlike those for various other languages. They even have a thread for what people don't like and want improved about the language[1], again, something many other languages don't have.

    A lot of what was going on initially, was coming from obvious competitors, to include being uncivil, inflammatory, and insulting. The initial "criticism" was not so much that, but false accusations of the language being a scam, vaporware, fraud, or didn't really exist. To include attacks and jealousy about its funding and having supporters. This was not any kind of "valid" criticism, that the creator or contributors of the language could reason about.

    The "criticism" never died down, but rather after V was open-sourced and established itself on GitHub. The initial series of false accusations could not stand nor could the support it was getting be stopped. So, the rhetoric and targets shifted to whatever could be found to go after on the newly released alpha version of the language and its new website. In that new mix of what was being thrown at it, there were indeed some very valid criticisms, as can be found with any new language.

    Constructive and valid criticism, is not the same as insults, trolling, misinformation, rivalry, or false accusations. There is clearly a difference. It's disingenuous to pretend something from one group is the same as the other, or that the intent behind what is being done is not different.

    [1] https://github.com/vlang/v/discussions/7610

  • Rust vs. Go in 2023
    9 projects | news.ycombinator.com | 13 Aug 2023
    True, Go has an amazing ecosystem. A great stdlib and libraries.

    That's why we're working on Go2V, which will be able to fully translate Go code to V. (Having a language so similar to Go also helps.)

    It's already been partially used in our translation of Go's crypto modules:

    https://github.com/vlang/v/tree/master/vlib/crypto

  • Vale's First Prototype for Immutable Region Borrowing
    5 projects | news.ycombinator.com | 11 Jul 2023
    This "critical review", is continuous old spam often used by detractors or to troll. It has no value, because it's a "review" (hit piece) of an alpha version of the language. It's 2023, and V is also in beta (0.4). Furthermore:

    1) The creator of it used a disposable GitHub account, launched the attack for the drama, then disappeared.

    2) Anything, which had any kind of substance, is already fixed[1].

    3) A search of mawfig.github, shows how it is spammed on HN, and used to smear.

    [1]: https://github.com/vlang/v/issues/14803" rel="nofollow noreferrer">https://github.com/vlang/v/issues/14803">https://github.com/...

  • V0.4
    2 projects | news.ycombinator.com | 1 Jul 2023
    Very exciting to see PhotonLibOS integration and even beef9999 chiming in (https://github.com/vlang/v/discussions/11582#discussioncomme...).
    2 projects | news.ycombinator.com | 1 Jul 2023
  • Ask HN: Why did Nim not catch-on like wild fire as Rust did?
    16 projects | news.ycombinator.com | 25 Jun 2023
    Besides the attempted slap on V coming from "out of left field", in regards to what the above commenter was talking about, V doesn't leak memory like that. V, since becoming beta, uses an optional GC and does flexible memory management[1]. Giving users choices, somewhat like D and Nim do.

    It provides 4 choices: default optional GC, autofree (either alone or with GC), arena allocation (-prealloc), or manual memory management (-gc none). This flexibility has already been proven, like with their Vinix OS project[2].

    [1]: https://github.com/vlang/v/blob/master/doc/docs.md#memory-ma... (4 ways to manage memory in V)

  • Server benchmark V vs Go
    2 projects | /r/vlang | 25 Apr 2023
  • Zig: The Modern Alternative to C
    12 projects | news.ycombinator.com | 10 Mar 2023
    Vlang, is a newer programming language that also has the classic C style for loops. https://github.com/vlang/v/blob/master/doc/docs.md#c-for

What are some alternatives?

When comparing zig and v you can also consider the following projects:

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

Odin - Odin Programming Language

go - The Go programming language

rust - Empowering everyone to build reliable and efficient software.

rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266

ssr-proxy-js - A Server-Side Rendering Proxy focused on customization and flexibility!

TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.

crystal - The Crystal Programming Language

regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.