9 ms·
V Playground
- huntaub 8y agoOf the small amount that I've seen, this is the language that I wish Go were. Obviously, much of the benefit of Go is the standard library coming with "batteries included", so I'm interested to see how this develops over the next few years.
- amedvednikov 8y agoI believe in a strong standard library too. For example, V has a powerful graphics library that can be used for writing 2D/3D games and all kinds of hardware accelerated apps. Volt for Linux uses it, so does the vid editor.
- melling 8y agoType inference and immutability by default took way too long to become mainstream.
- wokwokwok 8y agoHow do I get the compiler? ...or is this supposed to be the future of programming languages, compiler-as-a-service where you get a playground but not an actual compiler?
- sanxiyn 8y agohttps://vlang.io/ https://vlang.io/ says "open source release in June 2019", so check back.
- Matheus28 8y agoFree: Limited to 1k lines of code Hobbyist ($29.99/user): Unlimited lines of code, no warning messages Pro ($99.99/user): Warning messages Enterprise (Contact us): Link to libraries
- wokwokwok 8y agoHuh. I thought the days when anyone seriously toyed with the idea that you could build a business selling a programming language (or perhaps compiler implementation?) were gone. Oh well, some interest -> zero interest, but hey, best of luck to them~
- amedvednikov 8y agoPlease tell me you are not serious :)
- coldtea 8y agoThey are not, and they're not helpful either. At least officially, the idea announced was that the language will be available (and open source) later in the summer. Hopefully this goes well, as the language makes some big promises that make it sound like vaporware, but at least we do have a playground accepting the syntax now.
- wokwokwok 8y agoI’m not sure what you mean. I’m 100% serious; that’s a business model with no value in it, and they few vendors who have tried it in the past are all fading into obvilion. Getting adoption of a language is hard enough as it is (see the slow uptake of say, kotlin despite large scale corporate backing) making it a pay-to-use is just a dead end. How are you going to sustain the user growth for a paid product when better or equivalent free alternatives exist? How will you build an ecosystem when the core product is paid-to-use? If I’m paying to make something, I’m not giving it away for free. Not only that, it’s a proven failed business model see Borland for example. The few vendors that remain are for embedded devices. There are so many thing wrong with the idea it’s hard to know where to even start enumerating them. /shrug > They are not, and they're not helpful either. ...but please, don’t try to put words in my mouth, that’s just offensive. I am completely serious, and was in my previous comment too.
- 8y ago
- ilovecaching 8y agoJust an FYI, the author is more than likely scamming for donations, or at the very least drumming up donations for vaporware/misleading software. He has as of yet refused to publish any source code for his language, despite having close to 2k stars. If you read my comments, you'll see that he claims to have detailed information on his website, but all he has listed is compilation targets, claimed benchmarks (or just benchmarks taken out of context), and unimplemented features. Based on what he's saying, he has essentially sold snake oil based on PL buzzwords via blog posts and HN, and has little more than the type of front end you can build going through an LLVM IR guide. This man might be telling the truth, but based on his behavior so far I would be exceedingly suspicious of anything he says until he has actually released source code or a full compiler.
- dang 8y agoYou've posted over a dozen of these comments to this thread. That's massively over the top, regardless of how right your original point might have been. Please stop now.
- coldtea 8y agoIt's supposed to be released later in the summer. There have already been 2-3 posts about the language mentioning that, and it also mentions it elsewhere in the site that hosts the playground.
- jchw 8y agoVery intrigued by this language but the lack of tangible information is beginning to hurt. I find myself questioning some of the claims and demos shown on the front page. Like translating C/C++ code? Is the doom3.v thing completely fake or not? I'm not sure why it's being presented this way. I'm guessing it's probably structured this way for sake of Patreon, but it's actually a huge turn off.
- adamnemecek 8y agoAFAIK it was posted without the authors knowledge both times.
- jchw 8y agoThe point still stands, I mean if the author didn't want people looking at the page it certainly doesn't have to be public. It is what it is, I suppose; here's to hoping the red flags are misnomers.
- amedvednikov 8y agoI've put a lot of information on the home page and the docs. I'm working on articles about C/C++ translation right now. They will be up in a couple of days. What else is hurting you? I'll update the website.
- jchw 8y agoIt's not that there isn't enough information; it's that there's a lot of amazing claims and no way for me to evaluate them. Like I'd love to know more about the supposed C++ translation. The homepage shows an example with seemingly idiomatic translation, but is that actually representative of what people could expect?
- rujuladanh 8y agoThe GitHub issue about the playground says C++ translation is "not coming soon". So the claimed C/C++ translation looks misleading.
- sheeshkebab 8y agoneat idea, but seems like vaporware, mosty
- rqs 8y agoBut why use `go` keyword for go-style routine? I just realized I maybe have answered my own question but I don't think even Go should use `go` keyword for that. Maybe give it a more technical name?
- amedvednikov 8y agoMaybe :) Suggestions?
- rqs 8y agoSince it's a type of coroutine, maybe `co`? also as in "co-pilot". I'm not very confident about it :(
- ilovecaching 8y agoJust so everyone is aware, this is more of a toy language that the author makes considerably bold claims about. His benchmarks exaggerate by comparing the speed of print statements, and the language itself is essentially a transpilation (a direct rule based conversion without an AST) to x86 so no other platforms can be supported. He has of yet to actually release any source code so this is just based off of the comments of his I’ve tracked down. If you’re familiar with the author of Iris in Go, this guy is basically that but for a programming language.
- sanxiyn 8y agoTranspilation is compilation. Let's stop the gatekeeping.
- bitt 8y ago> the language itself is essentially a transpilation (a direct rule based conversion without an AST) to x86 so no other platforms can be supported. Hmmm I'm not sure if this is true but he says that "V can compile to (human readable) C, so you get the great platform support and optimization of gcc and Clang."[0] [0] https://github.com/vlang-io/V#run-everywhere https://github.com/vlang-io/V#run-everywhere
- ilovecaching 8y agoWell we have no idea what it can actually do or how it works because it’s not open source. Based on comments I found while researching him, the code is directly translated to the target language with no intermediary representation, so essentially the backends are hard coded and no optimazations take place.
- amedvednikov 8y agoDetailed information about compilation, optimisation, etc is available on the home page and in the docs. If you need optimization, for now you have to emit C. Like the website says, in the future V will be able to emit optimized machine code. V will be open sourced this June.
- arthurcolle 8y agoFibonacci with memoization breaks at 48 Clearly this advanced language is too much to handle for mere mortals like myself.
- tln 8y agoWorks for me.
- arthurcolle 8y ago*48 not 38. Original comment has been edited.
- amedvednikov 8y agoAll examples work. Something may go wrong. It's pre-alpha software. No need to be so edgy.
- arthurcolle 8y agoTry the Fibonacci with memoization example, changing MAX to 55. Still work for you?
- amedvednikov 8y agoYes, that breaks it. Integer overflows are not handled right now. This is an important bug and will be fixed asap.
- hu3 8y agoDon't let this stop you from releasing. Others can help fix it.
- nathcd 8y agoI realized the other day that the V author is the same person that created gitly, which was a really nice looking git forge [1]. I believe the author's stated plan was to open source it, but the website went offline after some time without an open source release ever happening. I hope the author follows through on this one, because both projects look(ed) pretty neat! [1] https://news.ycombinator.com/item?id=13819447 https://news.ycombinator.com/item?id=13819447
- amedvednikov 8y agoIt will be back, open source, re-written in V: http://gitly.org http://gitly.org I started developing Volt/V in the middle of developing gitly. That's my biggest drawback. I finish 90% of the project, and jump to a different thing. I've grown a lot since then, and I'm slowly wrapping up everything.
- rujuladanh 8y agoThe last 10% is usually the actual 90%. Claims like C++ translation is definitely one of those 90% things that may look easy to some people until you actually try to do it.
- amedvednikov 8y agoI don't think there's a single person on this planet for whom translating C++ would seem easy.
- rujuladanh 8y agoYou claim your language will support it before having it ready. So C++ appears to be easy enough for you, in order to be able to predict such a feature.
- fxfan 8y agoPlease don't lecture people unless you have something to show for it yourself, specially if it is unsolicited. The author is giving away his work for free, he owes nobody anything. He is amazingly humble too. You don't like his claims you are free to not use his product (for free!)
- deleted 8y ago[deleted]
- mastrsushi 8y agoDoes V compile directly to native machine code? Or is this just some scripting language that trans-compiles to C.
- amedvednikov 8y agoI've added a link to the home page, it explains everything with lots of details: https://vlang.io https://vlang.io
- mastrsushi 8y agoWhich I read, one part says it compiles to native machine code, another says it emits C for optimization, so which is it? And if it does compile to machine code, is it really running as fast as C as you claim? Or did you just say that because it trans-compiles to C.
- wilonth 8y agoIt has 2 modes, one for debug (compile directly to machine code) and one for release (compile to c)
- mastrsushi 8y agoSo in other words the released version is just a V to C writer? That sounds less like a language compiler and more like a glorified string converter.
- amedvednikov 8y agoHi, Developer here! Happy to answer all questions.
- hu3 8y agoJust wanted to say that if you really made a new programming language, don't let perfectionism or other's requests get in the way of publishing it. Even if it is half done and it doesn't fill many of the claims you might have made, push it online to github when the day comes. Inevitably some people will throw stones at you for not meeting their expectations and even you might be harsh on yourself but still push it online. There will be some of us who will be supportive and try to help the project according to your vision regardless if it is launched full of bugs, incomplete and with problematic or missing features. Also, if the language never really existed and it was a fluke, I personally forgive you in advance, hope you find peace and wish you the best in life.
- amedvednikov 8y agoHow can it never exist if there's an online playground? :thinking: I will release it in June without delays, that's the plan. Whatever state it is in.
- bitt 8y agoThis is interesting! I am looking forward to the open source release. Some of the projects built with V also appear to be quite nice. The author has put a lot of effort into this it seems.
- amedvednikov 8y agoThanks! I have indeed :)
- platz 8y agohow is it like go, but has no GC?
- piinbinary 8y agoIronically, the link in the "Found an error/typo? Please submit a pull request." part of the docs leads to a 404 (is the repo private?)
- amedvednikov 8y agoI moved the website to a different repo, need to update that link.