Does V compile directly to native machine code? Or is this just some scripting language that trans-compiles to C.
V Playground
41–50 of 103 posts
Re: V Playground
#42Earlier quoted context omitted.
Detailed 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.
Care to point me to your detailed information on your compiler and what your optimizations are?
Re: V Playground
#43Earlier quoted context omitted.
All examples work. Something may go wrong. It's pre-alpha software. No need to be so edgy.
Try the Fibonacci with memoization example, changing MAX to 55. Still work for you?
This is an important bug and will be fixed asap.
Re: V Playground
#44Re: V Playground
#45How 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?
Free: 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 librariesRe: V Playground
#46Earlier quoted context omitted.
It'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?
The GitHub issue about the playground says C++ translation is "not coming soon". So the claimed C/C++ translation looks misleading.
Re: V Playground
#47I 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
It will be back, open source, re-written in V: 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.
Look, you don't owe anybody anything, and that's fine. Just don't make promises you can't keep. If you're not going to have something done in 2 days, don't say it'll be done in 2 days. Just say "you'll get it when you get it" and that's an absolutely fine response. But promising something in hours or days and missing that deadline will lead reasonable people to take your claims with a huge grain of salt.
All I'm saying is you've made some very big claims, so now you might want to master the fine art of setting expectations or risk making people lose interest in your project when you finally release a compiler.
[1]https://news.ycombinator.com/item?id=19403747
[2]https://old.reddit.com/r/vlang/comments/b2k8j7/playground/
Re: V Playground
#48Earlier quoted context omitted.
We will see once you release the source code, but for now maybe tone down the language on your site and in your comments. Of course your code is going to compile faster if you don’t support any platforms or optimizations. If you’re really serious about building a programming language I suggest porting V to llvm IR so you can focus on the parts you’re obviously more interested in.
The website doesn't claim V does optimization in the fast builds. On the opposite, everything is explained very clearly. Supporting more platforms will not make compilation slower. > I suggest porting V to llvm IR No thanks :) I'd like to keep 1.5 million loc per second.
Re: V Playground
#49Re: V Playground
#50Just 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 comme…
If this is thr case, this post should be flagged for misinformation.