251 points · by amedvednikov · 4y ago · 328 comments
The responses I've read by the devs are in stark contrast to what I've seen in other languages I use, such as Rust. I hope that as the language evolves, the developers will start reflecting on the way that they interact with others and how it impacts people's view of V. I could never justify using a language like V in production if I couldn't even trust the lead developers to be level-headed during criticism.
I'm sorry for ranting, I really wish the best for V and its maintainers.
I appreciate you posting this. I like the premise of V and really want for it to suceed, but this is a good summary of why I think so many people dislike V: the lead dev and community do not engage criticism in good faith.
I'm sure V receives its fair share of unwarranted criticism, but a lot of legitimate criticism and questions are either met with a) hostility or b) incredulity, which causes people to dislike the language for fundamental reasons.
Both the creator and community members gaslight (for lack of a better word) and act as if they're happy to receive questions or feedback, but even in this thread you can see people being treated like I mentioned above.
E.g. https://news.ycombinator.com/item?id=31947510, https://news.ycombinator.com/item?id=31947121, https://news.ycombinator.com/item?id=31947212, https://news.ycombinator.com/item?id=31947014, https://news.ycombinator.com/item?id=31946715, https://news.ycombinator.com/item?id=31947977
> https://news.ycombinator.com/item?id=31947177
I mean, the article linked at the top is just outrageous - just read through it. For instance, it claims that V misleads by claiming that it has no null. But really what the author has done is found a bug in V that allows a variable to be set to null. A bug that unintentionally leads to creation of null is wildly different than V not supporting non-nullability at all. It'd be like using FFI in Rust to set a non-nullable variable to null and claiming that meant Rust had no type safety. It's absurd.
I can understand the maintainer's frustration.
> https://news.ycombinator.com/item?id=31947212
OP claims V has "huge promises it hasn't kept". V is version 0.3. This seems wildly unfair.
> https://news.ycombinator.com/item?id=31946715
OP kicks a conversation in poor faith with "Wanna know something funnier also posted in previous thread?" about a V bug - which HN turns a blind eye to - and then suddenly the HN community pounces on the V maintainer when he gets frustrated in return? What?
> OP claims V has "huge promises it hasn't kept". V is version 0.3. This seems wildly unfair.
Keep in mind that V didn't start out as a v0.1 with an ambitious roadmap, it popped up as website with a bunch of exciting features that made it seem further along than it actually was (https://web.archive.org/web/20190315194630/https://vlang.io/ and https://web.archive.org/web/20190315173156/https://volt-app....). I suspect that's what OP is referring to. Incidentally, this is also what prompted articles like "V is for Vaporware".
>> https://news.ycombinator.com/item?id=31946715
> OP kicks a conversation in poor faith with "Wanna know something funnier also posted in previous thread?" about a V bug - which HN turns a blind eye to - and then suddenly the HN community pounces on the V maintainer when he gets frustrated in return? What?
I specifically linked to the_duke's comment offering some good-faith feedback.
---
But I digress. My intention isn't to argue that V is bad, just to provide context to why it's such a divisive topic.
You have the "badness" ordering here totally the wrong way around. Soundness is about trust.
A known-unsound system is not necessarily bad. I use C and Python. I know the tooling can't give me very many guarantees, and that I have to do the book keeping myself. "Caveat emptor".
In a much, much stronger sense: there is absolutely nothing wrong with a sound system with explicit escape hatches. Bothing. I use sorry in Isabelle and admit in Coq. I do type casts in Java. I know where I can and cannot trust the tooling, and there are clear flags where I need to do my own book keeping. FFI in Rust is an explicit escape hatch.
I can't think of a single system that doesn't have some sort of explicit escape hatch from soundness. As long as it's explicit and understood and above all intentional, this is a feature rather than a bug.
But it's very hard to justify using a system that's supposed to be sound and isn't! I don't know where to trust the tooling.
And the blog's examples are not contrived. They are actually very straight-forward mistakes as far as type systems go... most production type system bugs are much subtle.
(By the way there's not a single question there.)
I've updated the language in my comment.
There's actual valid criticism and feedback like in https://github.com/vlang/v/discussions/7610
But there's also trolling, harassment, and completely baseless attacks.
> as far as I've seen they are quick on the trigger in regards to banning or blocking people that they disagree with
Do you have any source for this claim? Without a source this simply reads as another person trying to sow uncertainty and doubt. I haven't seen anyone banned or blocked on Github.
V is still making dubious claims: his newly invented autofree isn't stable even today after years and users are encouraged to use garbage collection instead. It's hard to trust that when we've been lied to already.
Autofree exists and somewhat works (https://youtu.be/gmB8ea8uLsM), it's a matter of perfecting it so that it requires minimum user knowledge about memory management. You can enable Autofree and use it, but the user must understand what they are doing and reference examples of code and programs that do use it.
So in the mean time, the V developers decided to experiment with and select GC as an alternative memory management method. That should not be a problem for a language in Alpha, nor for anybody "outside looking in", that understands language development. GC usage worked out great for them and the users, so they made it the default. Autofree and manual, would be the other options that users can choose, but they must enable those.
Furthermore, other languages like Nim, have multiple memory management options. I don't see people on HN getting so hot and bothered about that, just for some strange reasons, they seem oddly bothered by V adopting and having multiple options (GC, Autofree, and manual) instead of one.
I think many people feel scorned or resentful towards the attitudes, which means they're more likely to speak negatively of it in the future.
When V was first announced, there was a lot of hype about "Volt": a cross-platform Slack app written in V (https://web.archive.org/web/20190315173156/https://volt-app....). It was slated to be released 'soon', but months went by and there was nothing. When it eventually did release, it was nowhere near as complete or polished as people were being lead on to believe. Same thing with V itself, and people were attacked for pointing this out.
There's a long history of over-promising or hyping things that don't exist, and not handling constructive criticism well. So there's a number of people who actively dislike V.
There's an entire article half of which is about a single checker bug that has already been fixed.
Or claims like "it uses official system api (libc), therefore you can't say it doesn't have dependencies".
The language used on the main vlang site also seems calm, clear and unsensational (at least to me).
It wasn't always like this. Back in 2019, its website looked like this:
https://web.archive.org/web/20190303184805/https://vlang.io/
As you can see the website claimed that its compiler is "200x faster" than C compilers, while neglecting to mention that it merely translates V code to C, so you still have to run a C compiler.
"400 KB compiler with zero dependencies" (apart from a C compiler and libc).
"As fast as C" - a lie.
Apart from deceptive marketing, there were serious issues with the code quality of the compiler:
https://github.com/vlang/v/blob/d32e538073e55c603992b5b65ebc...
The 200x compile speed up referred to C++ compilers, this was vague and hard to measure, since the languages are so different, and was removed.
The code may not have been perfect at the time of the 0.0.1 release, but it worked. V could compile itself.
Now it's much better and more organized.
That's exactly what it is :)
I disagree about that, because there is a major difference between submitting a bug or disagreeing about a claim or feature versus outright trolling, smearing, instigating drama, or trying desperately to create negative public perception.
Issues and discussions can be brought to V's GitHub (https://github.com/vlang/v/issues, https://github.com/vlang/v/discussions), but instead what various competitors and detractors do is create drama filled smear blogs or bad joke posts (on various websites) against the author or language. That's not any attempt at being helpful or constructive, that's more about slander or to create such negative sentiment in the hope of killing off the language.
When issues and discussions are brought peacefully to V's GitHub, they are discussed and debated intelligently. If any such issues have any validity, then they are usually fixed.
> Everything negative that people say appear to be taken as an "attack"...
That's simply not true. What does happen, is various competitors and detractors do specifically attack and smear the language or author, and who have no intention to want to be helpful or make any improvements. To include engaging in downvoting or trolling those who appear to be V supporters.
Such attacks and smears are not about fixing anything, their point is to be destructive, create negative publicity, and dissuade others from using a rival language.
If there are those that don't think that is the case, then simply ask yourself why many of those engaging in such attacks and smearing who claim to be technically knowledgeable or interested in using the language are not making their case on V's GitHub? That's where a person can go to improve V and get it production ready. Continually engaging in smearing is not about fixing, improving, nor reaching out to V's developers or community.
We're really excited about this release.
This is a big one. 5769 commits pushed to master, 1697 bugs closed. The highlights of this release are C2V, a fully automatic C => V source code translator, closures, and no more memory leaks by default.
There's a really cool C2V demo:
https://www.youtube.com/watch?v=6oXrz3oRoEg
Translating DOOM from C to V, building it in under a second and running it!
Or maybe 100% of it isn't translated but compiled to object files with a compiler with V generating wrapper functions. I have no idea what to expect
I just never heard of anyone using V and it actually working as they expect
Rather than assume, you can use V and find out for yourself what works and what doesn’t.
> Translating DOOM from C to V
Like, you can literally translate a C project to V without any manual intervention?
I like Vlang (also like Rust and ...) so, I'm happy for your attention & deep insight. I hope you to dig and share again sometime.
1) The "review" is now significantly wrong and already outdated.
Doesn't mention it is reviewing an Alpha or even the version.
Anything of substance in the review was mostly minor and has already been fixed:
https://github.com/vlang/v/issues/14803 https://github.com/vlang/v/issues/14787 https://github.com/vlang/v/issues/14786
2) The author of the "review" used a throwaway account for the apparent purposes of recommending to not use V.
The author of the "review" can run away and hide, where the creators and developers of V are accountable to the public and supporters.
This includes that the author of the review never has to update or make corrections to his hit piece, while still spreading links to it all over the internet.
3) The "review" is used as a linked reference document for further attacks by competitors and detractors. And as has already happened on various other internet sites, including here.
4) If the author of the "review" was really eager to use and fix the V language, he could have brought those issues (he has a GitHub account) to the V GitHub (https://github.com/vlang/v/issues).
Who is going to fix any issues that the author believes is a problem?
It is going to be the V developers. So if the author of the review wanted those things that he believes are a problem fixed, that's who he has to bring them to.
5) The author of the "review" starts it by linking to a number of very contentious posts from competitors and detractors of V, to include those that smear the author and language.
This turned the "review", right off the bat, into setting off drama. A smear campaign on the V language will never get any of the issues fixed on its own, just only invite more drama, smearing, and attacks. Which looks like the original intent.
6) The author of the "review" has shown no interest in working with V developers, and that's prior to publishing the review and spreading links to it.
No intent has been shown to modify his review for correctness, fairness, or language version.
7) The author's review doesn't provided the necessary context and is highly opinionated.
Without feedback or the opinions of the V developers, this is a one-sided negative review full of many debatable points, that does little to help readers outside of trying to produce a negative impression and smear the language.
If the review author is not interested in working with V developers, and rather produce and disseminate drama or facilitate smearing, then that's a reflection of their real intent.
Article's author citation related to V's version which got tested:
> I’ll be using the current version of V built from git which is 50ab2cfd1ae02d4f4280f38c60b8dbd17f7599f6.
To be perfectly fair to the language, for me, it was love at first sight. Syntax is beautiful.
If ever V reaches maturity (0 segfaults + addresses concerns raised in Reddit, HN and other sources such as ^), I would definitely prefer it to Golang, potentially even Rust.
Not to mention its future is secured if C projects are ported to V.
Since it was another anonymous attack, it's not going to be updated and will stay like this for years.
And the issues discussed are questionable at best. Half the article is about a type checker bug, which was a 3 line fix.
Then false claims like being able to modify array.len.
I encourage people following the progress of the V language to look at actual facts rather than trying to evaluate claims based on the language of those claims. One of the reasons why V is so divisive is that a lot of untrue claims are being made (unusually so for a programming language), and people don't respond well to that being called out.
They may just come from a fundamental lack of knowledge about low level development.
> I didn't go through the rest of them, but expect a similar pattern.
You verified two issues were fixed, ran into one issue and then you expect a similar pattern of what exactly...?
Why didn't your comment go like this:
"Hey I went through to verify the these issues were fixed and I'm getting an undefined behaviour on integer overflow, here is how I tested (show code), are you able to reproduce this?"
That would be much less divisive and result in a proper discussion.
I think you'll find if you try to "call" people out instead of asking questions you'll be met with the same tone you gave them.
-- EDIT - replying to @paskozdilar below --
It could be that GP tested incorrectly? Since things are getting so serious shouldn't we see the code GP used to test before mob shaming?
You seem to be jumping to the conclusion the issue is not fixed. I don't think hurling "narcissism" is needed at all here.
The post seems to spend quite a lot of time on the V language and discussing it, so I got curious and put in some of the examples into V for windows. The results seem to be different, but my knowledge on V is too low to understand the implications fully.
The "No null" experiment does not give a segmentation faul, instead it prints &nil. That seems to be effectively a null value to me though. Adding another layer of null dereferencing creates an access violation/sefault.
The undefined behaviour for integer overflow is the exact same as in the post. (edit: and in the github issues it is marked as "won't fix" it seems V does not care about creating undefined behavior in the generated C code, just that the behavior is defined within V.)
The overwriting of len for the array seems to be fixed as the capacity is increased to the value of len seems to return nil references now.
The immutable->mutable trick seems to be caputred by the type checker.
The remarks on included libraries seems to hold, as well as the "simple webserver" being 2MB when compiling (although openssl seems to be included now).
I have no motivation to redo all the other experiments in the blog post. And your response as well as the small checks leave me not-very-impressed with V, as I can't take any of the claims on the website seriously like that. If you claim it is a v0.1 or v0.3 language, sure, make a list of features that actually exist or a roadmap when they are reached. This is especially true for the "novel memory management" which seems optimistically to assume it worked before when a changenote is included that the compiler doesn't leak memory anymore by default. That is not particularly instilling confidence, although it's the right direction.
It'd take 10 minutes to submit github issues, instead they spent a month on this.
Null is only allowed in unsafe code.
Overwriting of len was never fixed, because it was never an issue in the first place. The author made it up. It's always worked like in Go.
Included libraries, you mean the json library that's part of vlib. So each Go program that uses net.http also has library dependencies by this logic.
Just add the immutable variable's reference to a mutable array, now mutate the immutable variable using array[0], magic!!
The compiler is so basic and naive, it's laughable how their authors have guts to fight everyone about it's stability.
When people read "V compiles itself in less than a second", they expect V to compile itself in less than a second for the general case (not just one very specific case). When people read "as fast as C", they expect V programs to have the same runtime as equivalent programs directly written in C. When people read "no null, no globals, no undefined behavior, immutability by default", they expect there to be no issues with this 99% of the time. When people read "Despite being at an early development stage, the V language is relatively stable", they don't expect this number of issues. I could go on, but the V documentation is filled with this.
In my opinion, if you keep going in this direction, no one will ever take V seriously. You might get some GitHub stars, you might get some inexperienced language developers helping you out, but if people can't trust V's claims, if V's claims continue to not hold up, no one will use V anything more than casually.
The simple solution to this is to walk back your claims and preface everything as unstable which is more accurate. Your GitHub description should make it obvious this is an experimental language with many issues. You should only list features in your README which are true and work for the average or general case. Any other features can be listed somewhere else as in progress or testing. Toning down your marketing is all it takes to earn back some trust.
This is false.
> Everyone wants you and V to succeed
The same people who write articles about V and say V should die?
I keep seeing V being "attacked" by various people with these kind of blogposts (or even HN accounts dedicated to criticizing V), with broad range of claims or counter-claims to what V wants to achieve.
While this is maybe not completely absent when other new languages comes up (like Golang or Rust), it feels like V really brings out the people to come up with ways of criticizing it.
Do you have any ideas about why or how come? Have you noticed anything in particular that makes people want to (almost) aggressively "prove" V to be wrong?
Basically, do you have any guesses to why V seems to have more "enemies" out there, compared to lets say Rust or Go?
There's also the whole issue with blocking people who criticized the language (eg. Xe) because V was being "attacked" as if there's some conspiracy to destroy V. The claims may be outdated, but the response by the developers put many people off.
V has made huge strides since then, but people are very resentful.
For example from wayback machine http://web.archive.org/web/20190520021931/https://vlang.io/d...: "(Work in progress) There's no garbage collection or reference counting. V cleans everything up during compilation. If your V program compiles, it's guaranteed that it's going to be leak free."
When people called him out for this saying that this was impossible he doubled down on it and said that it's fine to say things like that because of the "work in progress", as if it was coming.
It turns out, it was impossible. V eventually had to add reference counting.
The worst part is that he used lies like this to get thousands of dollars from Patreon sponsors.
It seems like he's trying to clean up his act, but he's still making some dubious claims. He claims to have invented an "innovative and flexible memory management" reference counting algorithm that removes 80-90% of overhead. But there's no way to do that with mutable data, as far as i know. And sure enough, it doesn't work, users are still told to use the garbage collection option. If that turns out to be true, I might change my mind, but I fully expect that it's a false promise too.
They mostly seem to deflect with denial or claims the issues were 'nothingburgers', but if that's the case, it should be trivial to offer a rebuttal in the form of a blog post, but instead we get ad hominems and conspiracy theories.
And, judging by the review linked upthread, as of last month this has remained the case. For this reason, I'm not surprised that the scrutiny continues.
Though you may just be asking rhetorically to probe for a response from the founder, in which case, never mind.
I'll publish a big blog post about this. It will debunk all these "V is a scam" articles.
Basically V appeared out of nowhere and got popular very fast. It took a lot of shortcuts: it was self hosted on release, GitHub started supporting it 1 month after the release, it had hot code reloading, fast compilation (v self is <1s [0]) and so on.
People developing other languages and their communities didn't like it, and decided to attack it.
There were 2 strategies: making completely false statements (like claiming that the V compiler has a dependency on glfw, so the no dependency claim is false, and claiming that V programs use libc, system's only official API, therefore again the no dependency claim is false) and nitpicking over bugs that are inevitable in a 0.1 language, and sometimes complaining that features explicitly marked as [wip] are not ready yet. One of the common questions I saw is "why release it if it's not ready". While that's the whole point of open source. I got lots of help from 500+ contributors and got to this point a lot faster.
Then there was also a misunderstanding with the "preview" release one week before the source code was released, and many thought V was going to be closed source. Over this week unfinished features were not marked as [wip]. They were marked so after the open source release, and now there're no [wip] features on the website. Everything listed there is working in latest V.
Maybe this language deserves more criticism. Or people are biased against it. Could be either explanation, or something else. But there ain’t just one single possibility.
V is an up and coming language in the categories of both C and Go alternatives. This means a wide range of competitors and "acolytes" who may "come out of the woodworks" to take a shot at a rival, at anytime. The more popular they believe V is becoming or the more threatened by it that they may feel, the more likely we are to see "shots fired".
This is not to say that various criticisms are not or will not be valid. In fact, constructive criticism can be good and healthy. Among them, bringing bugs and issues to the attention of developers or having technical discussions with the language's community.
But, the negative or non-constructive acts (attack blogs, downvoting, flagging, gaslighting, trolling, etc...) do shed light on some of the odd heavy-handed, sneaky, or aggressive vibes that many of us can see. It demonstrates the intentions of bad actors or those acting in bad faith.
> ...absent when other new languages comes up (like Golang or Rust)...
Golang and Rust are backed by major companies. They do have plenty of "enemies" and competitors taking shots at them, but they aren't given the media "airtime" for their negative narratives to stick and their attempts get drowned out by the size of the language's userbase or amount of "infomercials".
Various other newer languages simply lack the popularity, userbase, or sponsors for most to even take notice or care. So they are simply not talked about.
You have to keep in mind that V is an up and coming language, that is an alternative to Go, and somewhat to Rust. V is in the categories of C and Go alternatives. There are many other competing languages in V's categories, such as Zig, Odin, Nim, etc...
Not too hard to see how "enemies" and rivals can "pop out of the woodwork" to take shots, the more popular that V becomes or the more they might feel that V is a threat to their interests.
As for Go and Rust, they are backed by major companies, where "enemies" of their language will simply not get any or little media "airtime" nor enough traction to establish a negative public narrative that can stick. You can attempt to say something negative about them, but will be ignored or drowned out in various ways.
We also have thousands of tests.
Do you have any examples?
Another interesting example is this: https://github.com/vlang/v/issues/14804
Passing a variable to a function works, but passing a string literal doesn't. I wonder why stuff like that even happens, it leaves an impression that the compiler has hardcoded special cases internally and breaks on input which wasn't foreseen by the implementation authors. Your solution is to get rid of the method entirely instead of fixing it, which is also somewhat strange to me. Can you explain?
>Interesting. I have always felt the opposite. It's always been stable for me
It could be that the patterns you use when writing V code are well-tested but when someone strays from the path and does something you wouldn't do when writing V code it easily breaks the compiler.
> Option and Result are now separate types: ?Foo and !Foo respectively. Old code will continue working for 1 year and will result in a warning/hint.
Yet, doc/docs.md still states:
> V combines Option and Result into one type, so you don't need to decide which one to use.
Is there an up-to-date doc, or how does one find out more about these types? I found parts of the RFC overhauling the error handling [0] pretty bizarre, so I'm interested to see how the implementation turned out.
[0]: https://github.com/vlang/rfcs/pull/7
edit: linked to the wrong RFC initially.
There are some obvious cases where a none optional is separate from failure, like a hash map lookup or an element from an iterator. But I often also see optionals used to signal e.g. an unparseable string, where it would seem equally reasonable to return a Result or throw an error.
I’ve been writing a lot of Swift lately, and because it uses `throws` rather than a Result type, it’s made the often arbitrary choice of returning an optional value or raising an error more noticeable to me. Especially when using `async`, as pretty much everything declared `async` also throws, so if an Optional is actually what you want to return, you get some fairly gross boilerplate at the site of use:
guard let value = try await getValue() else { … }
This has turned into a bit of a ramble but my main point is that implementing Optional as a Result with void error type makes a lot of sense in my head.I don't think any other language has them merged.
There were issues later with the 3 states (Ok, Error, none) instead of a simple binary state.
Since the `or {}` block handles the "not Ok", developers had to check whether it was an Error or a `none`, it's not pretty.
Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. https://vlang.io
I first learned about it from https://simonknott.de/articles/vlang (2019), which was an interesting introduction, if a touch dated now
But also with nice additions like sum types, enums, string interpolation, if expressions etc. Full comparison here:
I've noticed the language design itself is rarely criticized, it's mostly about the implementation. So I think you're on the right path here.
(I'd also like to see first-class support for the BSDs, but I know better than to hold my breath on that one.)
https://github.com/vlang/v/issues
Lovely language, but above scares me off for now. Respect to all involved and hope one day will be a day where there will be only a super sophisticated bugs left that affects 0.01% of users.
A project with 0 issues barely indicates flawless implementation no more than the possibility it simply has 0 users.
But I am willing to give it a try, so here's a shot. Can you pls, explain a few things in short really don't want to read all of the docs to figure out the basics.
1. What platforms are well supported by V and how does it work non traditional or extension based C code?
2. What happens for edge cases where the C compiler quirks are being used for code when you transpile C to V?
3. How safe is V really? Like is it memory safe, if so maybe a quick description as to how, does it provide a memory model? What about an ABI? does it match the platform C ABI or something?
4. What happens to linking to C code, is it as easy as Zig? maybe something like zig cc?
5. How is the multithreading in V? Does it have something like openmp atleast something like rayon or do we use platform threads?
6. What about the C++ interop? anything interesting more than what other languages can do?
7. What's the current state of the compiler in terms of stability? And especially the std lib?
8. Lastly anything you want to point out as a very interesting feature in V that is not hype but so comfy that I would like to atleast use V somewhere in my stack? Maybe something like Zig's cc or Nim's metaprogramming or Haskell's mind bending type system, Idris's dependent types, etc.?
Preferrably not like Rust's safety thing, I love Rust but just saying things like it's safer is very weird claim without any context. Just some details are fine no need to waste your time on making a hater change their mind.
Personally I am trying to keep open mind to things, I might be harsh because of ignorance or preference or just because of being a young douchey programmer but being mean to something that has stuck around, and where a bunch of people seem to be putting in effort somehow seems worse than just shitty on it, even if it's a scam.
2. For stuff like i++ expressions, V allows them. Some stuff gets translated to adapted V code. Some (~2% of the syntax) will result in an error. Those will be fixed this year.
3. Memory safe, bounds checking, C ABI.
4. Ridiculously easy. The main reason it was created (was using Go before). Just run `C.foo(1,2,3)`. Use C2V to generate V wrappers.
5. Only system threads for now.
6. Same as with C. Need export "C".
7. Very stable, at least for me. Never had a crash/segfault.
8. Hard to pick. Fast compilation, hot code reloading, nice clean sum types, clean json serialization and ORM (mysql,sqlite,postgres).
I am not gonna pretend I have any love for V, but I will say I might look into it but spending several months or years with the language when I have such limited free time is not an option for me and many others.
I fixed the formatting so it should be more clear as well. If no one wants to answer then fine I didn't ask the questions to get a definite answer as I said I am not entitled to an answer I just would like to know those things.
I can wait for V to one day take over the world, die off, or someone to just make more fun memes. I don't really have a dog in this fight.
The comparison page was very useful to quickly get a feel for V's "aesthetic" and design goals: https://vlang.io/compare
Indeed, a lot has been done.
Almost 14k commits with a clean linear history (no merge commits), 7200 PRs merged, 500+ contributors.
We have an amazing team :)
I've been following V with interest for a while (a few years, maybe?). It got a lot of shade early on, somewhat justifiably-- the initial claims were highly suspect. Past V comment threads on HN leaned very negative.
That said, I like V. I'm glad to see the maintainers are still chugging along despite the criticisms. It gets better with each release.
I'm still not doing anything in production with it, as it's pre 1.0, and the Postgres performance issues are still a blocker for my production use-cases. But, I really hope to someday have V in my toolbelt for the places where I currently reach for Go.
This is how GitHub started to support V:
Also there's a big link on vlang.io, top menu.
After emailing HN mods, the flags were removed 18 hours later, but it was gone of course.
I've asked HN mods for a permission to re-submit this.
It is a pattern I keep seeing here on HN, but its great that V hasn't given up and it is still active and maintained. No idea why this post was flagged.
==57519== LEAK SUMMARY:
==57519== definitely lost: 0 bytes in 0 blocks
==57519== indirectly lost: 0 bytes in 0 blocks
==57519== possibly lost: 816 bytes in 3 blocks
==57519== still reachable: 0 bytes in 0 blocks
==57519== suppressed: 0 bytes in 0 blocks
[1]: https://news.ycombinator.com/item?id=31931083edit: Got something even better.
$ valgrind --leak-check=yes v examples/hello_world.v
...
==58037== LEAK SUMMARY:
==58037== definitely lost: 4,463,772 bytes in 106,561 blocks
==58037== indirectly lost: 5,275,772 bytes in 84,005 blocks
==58037== possibly lost: 0 bytes in 0 blocks
==58037== still reachable: 47,149 bytes in 263 blocks
==58037== suppressed: 0 bytes in 0 blocks
... struct App {
mut:
gg &gg.Context = unsafe { 0 }
}
https://github.com/vlang/v/blob/f0cee25213e25289ae4c60ba9a6a...It needs to be inited recursively with
app := App { gg: &gg.Context { ... app } }
And that doesn't work yet. It used to work in the initial V, but not right now.
It'll be fixed in 0.4.
This (and many future updates of V) has now rendered pretty much most criticisms in this attack post irrelevant, after all of this V is gaining traction, a community forming around the language and with great backing, It goes to show that programmers are far too quick to jump the gun on languages.
I congratulate Alex for persisting on V.
[0] https://xeiaso.net/blog/series/v
Nitpicking over leaking bytes and language features every release is exhausting for the language author when we both know these will be fixed in another release.
The fact I see activity in language and that the author is active gives me confidence in V.
Which comments on this thread were Xe Iaso's?
> Nitpicking over leaking bytes and language features every release is exhausting for the language author when we both know these will be fixed in another release.
I don't know what will be fixed in another release. Nitpicking to you was useful to decide if V was worth my time now.
There's also Gitly, which we're launching next week.
What is with programming languages and terrible names?
struct Node {
val int
left &Node
right &Node
}
fn main() {
n := Node { 123, 0, 0 }
m := *n.left
println(m)
}This sounds like a killer language. Gonna try it out on a small project.
Hopefully it lives up to it's promises.
Anyway, congrats on 0.3.
To be fair, "in one hour" was updated to "over a weekend" on the home page. I just did the same in README.md.
The language has definitely grown as you can see by the size of the docs.
But it's definitely not bigger than Go, and that one has always been famous in the industry for being simple.
The best thing is that V is always going to stay small. No constant changes and new complexity (looking at you, C#).
I'm getting a 504 from CF when trying to look at the vpm site currently, so I can't look around what the situation with packages is like.
I will for sure check back later and play around with it over the weekend, maybe.
Zig looks bloated compared to this one
VLang is the best language to me now to develop server-side application.
There's no ownership in V and it's not planned.
But it does borrow immutability, sum types, some elements of memory handling.
V is much closer to Go, about 80% close I'd say: