Live data from Hacker News

V Playground

vlang.io

21–30 of 103 posts

Re: V Playground

#25
post #6

Very 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.

I'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.

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?

Re: V Playground

#26
post #20

Just 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.

If what is the case? What's the misinformation?

Re: V Playground

#28
post #14

Just 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…

> 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

Well 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.

Re: V Playground

#29

Fibonacci with memoization breaks at 48 Clearly this advanced language is too much to handle for mere mortals like myself.

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?

Re: V Playground

#30
post #17

I 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.

Post reply on HN