TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

V Programming Language

191 pointsby 0x4542about 6 years ago

33 comments

andrabout 6 years ago
I love looking at new languages. People invent really creative stuff. However, my exploration usually ends with &quot;this is great, but there are no libraries for it, so I probably won&#x27;t use it&quot;.<p>If you are building a language, starting from scratch is the epitome of Not Invented Here syndrome. Build it on top of an existing ecosystem. Look at Elixir and how it builds on Erlang and interoperates with it just perfectly. Or look Groovy, Scala and Clojure to see what kind of range you can get from a single platform. With the exception of Go, every language that has become popular in the past 10 years, built on something else.
评论 #19405010 未加载
评论 #19405197 未加载
评论 #19405168 未加载
评论 #19405491 未加载
评论 #19405429 未加载
评论 #19406004 未加载
评论 #19404278 未加载
评论 #19404302 未加载
评论 #19404496 未加载
评论 #19405414 未加载
评论 #19407626 未加载
评论 #19404272 未加载
评论 #19406469 未加载
评论 #19405017 未加载
atombenderabout 6 years ago
My friendly advice for the author of this project:<p>Release the code on Github. Just release anything, even if it&#x27;s not finished. Make the code work first, <i>then</i> build a slick website where you brag about its features and benchmarks.<p>Creating the website first, before there&#x27;s even anything to try out, is disingeous at best, and at worst it&#x27;s leaching productivity away from time better spent programming. I remember how, as a junior developer, it was a lot more fun talking about how great my project was going to be, than doing the actual, hard work. But it does take hard work to bring something to completion.<p>You&#x27;re doing the exact same thing with your chat app, Volt. You spent years talking about how great it was going to be. You promised features and release dates, then changed the release dates once you weren&#x27;t able to deliver. Your current alpha release barely works and barely has any of the features. You clearly need some helping hands to implement all the features you&#x27;ve been promising over the years.<p>I&#x27;m sure there are lots of developers here who would love to hack on a new programming language or a chat app.
FrankDixonabout 6 years ago
I‘m not sure this will ever reach the light of day. It follows the same patterns as Eul did, another creation if the same inventor: - plenty of empty links on the website that lead to something ‚coming in march&#x2F;april&#x2F;june&#x2F;...‘ - lots of nice ideas, but nothing to show for it<p>I wish the creator all the best, but Eul promised a lot, long long ago, and never delivered
评论 #19405133 未加载
评论 #19405504 未加载
评论 #19405501 未加载
plainOldTextabout 6 years ago
Creating and evolving programming languages is a difficult task. It also takes considerable time to write a decent set of libraries and iron out most of the wrinkles before it can be used in production.<p>As more people move into programming, we&#x27;re bound to see more languages on the horizon. I wonder what the most popular languages will be, say, 10 years from now?<p>I&#x27;m personally looking forward seeing one language reach maturity – Pony – <a href="https:&#x2F;&#x2F;www.ponylang.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ponylang.io&#x2F;</a> It seems that it brings some novel concepts to the table, one being the combo: statically compiled + actor model + high performance + capabilities secure.
评论 #19404581 未加载
audunwabout 6 years ago
Looks very similar to Zig in terms of goals. I&#x27;m rooting for both, but it seems that Zig is ahead in terms of community. Would V have any benefits over Zig?<p>I think a &quot;better C&quot; is the biggest hole in the programming language world today. Rust doesn&#x27;t do it to me, because what makes C great is that it&#x27;s so simple, and easy to write a compiler for. Rust is a different class.
评论 #19404501 未加载
评论 #19404561 未加载
评论 #19405298 未加载
coldteaabout 6 years ago
Github of compiler (not examples) or it didn&#x27;t happen.
评论 #19404369 未加载
orbital223about 6 years ago
Comparing the compilation speed of a non-optimizing compiler against optimizing compilers is very dishonest.
评论 #19405287 未加载
评论 #19405036 未加载
muriculaabout 6 years ago
The authors talk a lot about how fast the compiler is. It doesn&#x27;t matter if the compiler is fast if the generated code is slow.
评论 #19405343 未加载
评论 #19405319 未加载
评论 #19406510 未加载
wronexabout 6 years ago
I&#x27;m curious. Why the short names such as .len instead of .length? Also, ui.WindowCfg instead of ui.WindowConfig? I think this would make we hesitate all the time. Was it .new_textbox or .new_txtbox? Short keywords are one thing (Lua&#x27;s local and function are no fun) but abbreviated library functions and types are another.
评论 #19404358 未加载
评论 #19405327 未加载
评论 #19404251 未加载
评论 #19404007 未加载
评论 #19403925 未加载
jhawk28about 6 years ago
It looks like a nice little language. It looks like Go influenced the syntax (in a good way). Based on the &quot;concurrent&quot; example, can we assume that it does coroutines instead of green threads?<p>Have you tried converting the C impl of the Computer Language Benchmarks Game to compare runtime performance against other languages?
miki123211about 6 years ago
well, I don&#x27;t know why this doesn&#x27;t have more upvotes. It deserves them. This is literally the first time I&#x27;ve fallen in love with a programming language. It does all the things I&#x27;d want it to. Has all the positives of go without most of the shortcomings, is minimal and understandable, disallows 10.days.ago style magic without being overly limiting, compiles fast and makes small apps, something I really want in the age of bundling Chromium and Node with every hello world, and has a native GUI, so huge potential for accessibility. The only thing unnerving me is that Volt, the only publicly available app written in V, doesn&#x27;t seem to be accessible which might indicate the GUI is not native after all.
评论 #19414462 未加载
评论 #19406955 未加载
zephyrfalconabout 6 years ago
There used to be a stack-based language called V as well... <a href="https:&#x2F;&#x2F;code.google.com&#x2F;archive&#x2F;p&#x2F;v-language&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;archive&#x2F;p&#x2F;v-language&#x2F;</a>
oukiabout 6 years ago
Which license will be chosen when it will be open sourced?
评论 #19404627 未加载
reggiebandabout 6 years ago
I know it is &quot;yet another language&quot; but I at least like the examples I saw. Very golang inspired obviously (even has the go keyword) but with some niceties (e.g optionals). Maybe when I get around to writing my Z language I&#x27;ll use this as a basis.
snowAbstractionabout 6 years ago
Why not leverage LLVM for doing stuff with SIMD?<p>Will the output to readable C always be available in the future?
评论 #19404323 未加载
openbasicabout 6 years ago
Curious about the GUI parts: Is it talking to X11 directly? What about widgets? Cairo, Skia?
评论 #19406515 未加载
评论 #19406184 未加载
thefounderabout 6 years ago
Looks very similar to Go(which is a good thing) but to catch up it needs a great std lib and great tools like Go has. I wish it would keep the upper-case&#x2F;lower-case convention as well for private&#x2F;public identifiers
sdinsnabout 6 years ago
V for vaporware?
hestefiskabout 6 years ago
I think this looks extremely promising. Out of curiosity, is there any support for lambdas &#x2F; functional programming? Can I pass a function as a reference?
评论 #19403777 未加载
bvincabout 6 years ago
This seems pretty amazing. I&#x27;m really curious how it manages to avoid data races. It doesn&#x27;t seem to mention anything complicated like rust lifetimes.<p>Also, what happens when unsafe C++ is converted to v, for example, code with iterator invalidation?<p>There are so many unanswered questions.
purplezooeyabout 6 years ago
If you are a V programmer do you have to go around at night and spray paint V on garbage cans?
评论 #19406575 未加载
sesteelabout 6 years ago
If it works as advertised, it looks to be a boon. I hope we can commit to a full security audit of the compiler, runtime, and std libs. My trust is lacking lately.
gigatexalabout 6 years ago
This sounds like the best thing since sliced bread language.
isacikgozabout 6 years ago
The 400K compiler is interesting. But, does it help to solve any of my problems today? I would like to hear more about the reason of its development.
revskillabout 6 years ago
How to download the compiler ?
评论 #19403760 未加载
评论 #19403747 未加载
squarefootabout 6 years ago
Interesting! Any chances to see an ARM port in the future?
评论 #19406783 未加载
choegerabout 6 years ago
Come on guys. I get it that everyone and their cat invent new languages nowadays. And that is a cool thing, do not get me wrong. But as a professional in that field, is it too much to ask to give just a little overview over the &#x2F;interesting&#x2F; parts of the language? What is its type discipline? What data structures are supported? What is the execution&#x2F;evaluation strategy? How about concurrency? Coroutines? Macros? Modules? The language design space has been mapped thoroughly in the last decades. Is it so hard to give a tiny X on that map?
评论 #19403665 未加载
评论 #19405288 未加载
评论 #19403755 未加载
root670about 6 years ago
&gt;&gt; C&#x2F;C++ translation<p>This is huge.
评论 #19404346 未加载
评论 #19405569 未加载
评论 #19403858 未加载
sctbabout 6 years ago
Recent discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19086712" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19086712</a>.
评论 #19403873 未加载
sonnyblarneyabout 6 years ago
Well cheers to someone making a compiled language that is like a simplified C&#x2F;C++. Rust is great but it&#x27;s a paradigm shift, and Go is great but it (edit here:) has a runtime which we don&#x27;t have implicit control over.<p>This is a promising C-ish language without the cruft and easy foot-shot triggers.<p>Can&#x27;t wait for the rules regarding packages&#x2F;modules, how they are distributed, the clean and simple build systems, documentation constructs, and clean integration into VSCode ... and of course all of the key&#x2F;default libraries we need to be productive.<p>Good start folks, looking forward to the next rev.
评论 #19403736 未加载
评论 #19403861 未加载
theredboxabout 6 years ago
I dont believe this is real. Sorry but maybe someone can decompile the volt app to see if this is any legit.<p>I mean if you are releasing such vaporware you should at least do it anonymously not openly like you do.
评论 #19403995 未加载
kyberiasabout 6 years ago
What does [dupe] mean?
评论 #19403970 未加载
dborehamabout 6 years ago
For lizard people.