The V Programming Language
181–190 of 308 posts
Re: The V Programming Language
#182Earlier quoted context omitted.
It is not in my opinion. With modern development tools/frameworks providing memory leaks detection I have completely forgotten when was the last time that my programs leaked memory. And I write complex high performance game servers that run for months non stop. You just have to acquire certain culture/behavior when writing code.
What languages/tools/frameworks/behavior are you using to develop these game servers with no leaking memory?
Re: The V Programming Language
#183[flagged]
Now that the release is out, it's actually worse than we expected: https://news.ycombinator.com/item?id=20251344
Re: The V Programming Language
#184Despite the immense neophobia of Hacker News, I'll jump forward and say I think there's a lot to love around vlang. Go is an amazing language and my go-to language for most backend tasks these days, but often when jumping back from Python, it feels needlessly cumbersome. Now don't get me wrong, I'm not talking about any "magic", Go is exactly as great as it is, because it's so simple and barebones. I'm talking about…
I'm all for toy projects and beginners writing their first langauge. I object to inflating a project well beyond what the author knows they can deliver while collecting money from people who are hopeful that the project isn't a joke. This is an example of how to take a passion project in the wrong direction. Open source from the beginning, be open with your intentions, don't over promise, don't accept money until you have something of value people can use, don't flame people who are critiquing you when listening to advice could make your project better.
Re: The V Programming Language
#185In my iterations of learning to do this (in the open source machine learning space), there have been always five phases:
i) Ingest - use existing tools for years, try to build things and understand the subtleties of their limitations.
ii) Build something - if you were right about the limitations and identify ways to overcome them, people will recognize that and want to use what you build.
iii) Maintain and learn how your assumptions live up to user realities.
iv) Realize very likely that your first attempt at greatness wasn't all that yet, even if it becomes popular. Popularity is not a sign of what you building being well designed, just that the need for it may be great.
v) Build something based on the combination of your initial hunches and taste which got you into it to begin with, and your experience on building something large.
Iterate, and given enough talent and sweat, you might create something that is just right.
Being a computer scientist but not a programming language geek and looking at this, the project looks like a first attempt at ii), but is selling itself as a late iteration of v). Tech communities have very high standards and taste on design, so overselling is deadly.
Re: The V Programming Language
#186Hm I looked around the repo, and there doesn't seem to be much there. $ find . -name '*.v'|xargs wc -l|sort -n ... 314 ./glm/glm.v 330 ./time/time.v 338 ./builtin/utf8.v 339 ./examples/tetris/tetris.v 490 ./os/os.v 630 ./compiler/scanner.v 644 ./compiler/table.v 712 ./gg/gg.v 814 ./builtin/string.v 845 ./compiler/main.v 848 ./compiler/fn.v 3216 ./compiler/parser.v 12573 total I'm a big fan of compact code, i.e. doing…
I can't understand criticising a brand new, v0.0.12 language built entirely by one person of being too small...
Re: The V Programming Language
#187On my examination it looks like a very interesting transpiler. I suspect that like most languages it will bloat as it attempts to achieve it's goals, especially with the size of the standard library that is going to be included by implication.
However if it's goal was to be a useful C transpiler for the modern age I would be more excited, and more interested. Things like hot reloading, easy to use REST access, nice syntax, and the ability to fall back to C are all nice features. For a certain class of application (notably the author's Volt application, and video games) this would be very useful.
I would warn the author of throwing away what they have for going down the rabbit hole of language implementation. It is nowhere as simple as they seem to imagine. An anecdotal story, when using LLVM one will regularly come across required parameters that seem like they should be optional and don't seem important. And yet once one starts thinking about compatibility, errors, ABIs, they realize there are hundreds of edgecases that must be accounted for. For example structure returns on the windows ABI change the ordering of function call arguments depending on the size of the structure, and additionally require redundant memory operations (and failing to do both will cause your compiler to work for some libraries but not others).
Re: The V Programming Language
#188Re: The V Programming Language
#189After going through the source code, I can tell for sure that it's an insecure C transpiler. - Most things call just out to C. - A lot of examples don't even compile. - Some things use CLI curl or mkdir, this is /INCREDIBLY/ insecure. - Many things are unimplemented. - Dev banned me off org when I opened issues about these and deleted issues. I was unnecessarily rude on some which I apologize for, but deleting them a…
Starting a report with "You idiot" or "Oh god this is a fucking goldmine" should get you banned, even if the issue you are reporting is real. Such reports aren't trying to contribute to the project; they are trying to boost the reporter.
Re: The V Programming Language
#190After going through the source code, I can tell for sure that it's an insecure C transpiler. - Most things call just out to C. - A lot of examples don't even compile. - Some things use CLI curl or mkdir, this is /INCREDIBLY/ insecure. - Many things are unimplemented. - Dev banned me off org when I opened issues about these and deleted issues. I was unnecessarily rude on some which I apologize for, but deleting them a…