5 ms·
Try V[0] . See https://fast.vlang.io/ https://fast.vlang.io/ . [0]: https://vlang.io/ https://vlang.io/ .
by brutt 6y ago
Try V[0] . See https://fast.vlang.io/ https://fast.vlang.io/ .
[0]: https://vlang.io/ https://vlang.io/ .
- dingdingdang 6y agoBeen toying with vlang for a while now and may well use it in my next side-project - honestly feel to me like the modern C I could have dreamt up. Especially when the standard cross-platform UI (https://github.com/vlang/ui https://github.com/vlang/ui) comes of age it will have serious advantage on most other languages I know of.
- mmm_grayons 6y agoIt looks like it could be that, but I have trouble trusting the author. He makes a lot of promises he doesn't keep. The more minor ones are things like release dates that have been pushed back month after month, but for instance volt has been abandoned for almost a year. I'm starting to think of v as more of a real thing after this much steady development (even if release dates are meaningless), but probably wouldn't trust a project to it until the community could sustain development if amedvednikov got hit by a bus tomorrow.
- dingdingdang 6y agoFrom my perspective the project has progressed faster in years than many projects do in a decade so development is certainly happening rapidly. As to the promised dates that for me is similar to internal company deadlines for software projects - they are almost never on time but as an end-user I would be non the wiser. Amedvednikov's issue here was that he stated his deadlines to the world at large; I have certainly committed the same mistake many times over before I got more conservative re. making any hard deadlines on complex problems & do not feel that means anyone should rightly write off my dev commitment or sincerity re engagement in a project.
- amedvednikov 6y ago> could sustain development if amedvednikov got hit by a bus tomorrow almost half of new code is written by the community now V is very simple to get into, we have 250+ contributors after less than a year
- unnouinceput 6y agoI have a project for a client. Nothing much, just your ordinary database driven application, customized for his needs. I use some external libraries from DevExpress (for showing data), from ReportBuilder (german one) to show different reports, etc etc. All in all, since I have sources for all as well, it's around 1 million lines of code. The application itself is just a measly 10k lines of code written by me in past month. So, when I do a "build all" in Delphi, it will go and compile all external libraries and it shows me the lines of code they compiled. Mind you, real lines of code, not empty lines, and it does not include interface/types declarations, just actual code lines - you know, the ones where you can actually put a breakpoint if you want to also debug it. Since my style is to have for each project its own virtual machine, this compiling runs inside the virtual machine, and the files that said virtual machine consist of are sitting on a HDD with 5000 rpm (old cheap style HDD, not an SDD mind you). Takes 45 seconds to do that "build all". Do you have an equivalent V project size to tell me your compile time? For a real application?
- brutt 6y agoV at pre-alpha stage. The only real application in V is V itself. See link above for compilation speed of V in V.
- unnouinceput 6y agoSo another programming language the type "dozens for a dime", that somebody in the middle of their tenure at Uni, out of boring thought "you know what this world is lacking? another programming language". And after it was done you're like "hey look, V can slingshot a stone up to the hill real fast, hence it can be really fast and really cheap to reach the moon too". Tell you what, when you "reach the moon" using V, same as what Delphi does it, and it's going to be faster then come and talk to me, ok?
- amedvednikov 6y agoIndeed there's only one big project in V right now: the V compiler itself. It's about 40k lines, and it compiles in <1s on most machines. But I'll also be open sourcing https://gitly.org https://gitly.org this week. This is going to be a second big and official project written in V.
- forgotpwd16 6y agoI remember seeing this some months ago when the source code went open. I checked the source code, and found that for URL retrieval was using `wget`, while it was marketing itself as a zero dependencies language. I stopped giving it any consideration immediately.
- amedvednikov 6y agoV's http stack is now written in V without a libcurl dependency (schannel is used on windows, openssl on mac/linux). The wget thing was a temporary hack of course which was gone after a week or so.
- forgotpwd16 6y agoI thought it was vaporware but checking again it seems I was wrong. I'll give it a try for a side project as it has some attractive features.