HNHacker News
TopNewBestAskShowJobs

amedvednikov

1,578 karma · joined November 15, 2016

submissionscomments
amedvednikov··on V 0.3
Thanks!

Indeed, a lot has been done.

Almost 14k commits with a clean linear history (no merge commits), 7200 PRs merged, 500+ contributors.

We have an amazing team :)

amedvednikov··on V 0.3
Yes, there's our own fast native backend, about as fast as tcc. But it can't compile V yet.

It will never be as optimized as cc -O2 though, and it will never be as portable as C, so C will always stay an option.

amedvednikov··on V 0.3
Thanks! Glad you like it :)
amedvednikov··on V 0.3
DOOM is big but not huge.

So not yet.

But we are planning to translate SQLite soon and yes the Linux kernel at some point.

amedvednikov··on V 0.3
It's not probably anymore, you're too late. See the message below.

And no, 800 bytes is not a serious matter.

amedvednikov··on V 0.3
Like I thought, this is some minor GC overhead.

Wouldn't be there with `v -gc none hello_world.v`.

amedvednikov··on V 0.3
It can be thought of as Go but with faster and easier C interop, and better optimization brought by Clang/GCC's -O2.

But also with nice additions like sum types, enums, string interpolation, if expressions etc. Full comparison here:

https://vlang.io/compare#go

amedvednikov··on V 0.3
Good catch, these are supposed to be up-to-date. Will update asap.
amedvednikov··on V 0.3
Yeah it's happened 4 times in total now.
amedvednikov··on V 0.3
You can stop spamming this nothingburger. 816 bytes is probably due to some GC overhead. It's nothing.
amedvednikov··on V 0.3
Yeah it's a common pattern :)
amedvednikov··on V 0.3
Just like with Go/golang, "vlang" is used for searching.
amedvednikov··on V 0.3
Generating V wrappers on top of C libraries in order to use them. Otherwise all functions and types would have to be manually converted.

Migrating older projects from C to a nicer newer language.

By moving from C to V you get rid of complex makefiles, headers (you get nice clean modules instead), you get a modern stdlib with strings etc (although C strings aren't converted to V strings by C2V yet), much easier cross compilation, etc.

amedvednikov··on V 0.3
Exactly.
amedvednikov··on V 0.3
V's creator here.

We're really excited about this release.

This is a big one. 5769 commits pushed to master, 1697 bugs closed. The highlights of this release are C2V, a fully automatic C => V source code translator, closures, and no more memory leaks by default.

There's a really cool C2V demo:

https://www.youtube.com/watch?v=6oXrz3oRoEg

Translating DOOM from C to V, building it in under a second and running it!

amedvednikov··on V 0.3
It's not a dupe. This submission was falsely mass reported and removed from the front page within minutes.

After emailing HN mods, the flags were removed 18 hours later, but it was gone of course.

I've asked HN mods for a permission to re-submit this.

amedvednikov··on V 0.3
So you can't list the major bugs here.

Then please don't spread the misinformation that V has "major bugs that interfere with their primary value proposition".

amedvednikov··on V 0.3
It would take you literally a couple of minutes to try it yourself and see it all works. Less time than it took you to type these messages.

> If I had done the analysis in that blogpost (whose factual accuracy you corroborated) myself, I would have come to the same conclusion.

No, you would not even be able to reproduce those bugs, because they have been fixed.

> don't have major bugs that interfere with their primary value proposition (like in Vlang).

can you list such major bugs here please?

amedvednikov··on V 0.3
Thank you.
amedvednikov··on V Language Review
> The specific problem is that V lets you directly adjust the array length without doing anything to ensure that the array capacity is at least as large as the newly-specified length.

This is false.

amedvednikov··on Shrugs.app – A native Slack client for macOS
My apologies, I should've made it clear and added a link.

And indeed, the submissions are sorted chronologically. So I should've used "latest", not "top".

amedvednikov··on Shrugs.app – A native Slack client for macOS
My apologies, I should've made it clear and added a link.
amedvednikov··on V 0.3
Thanks!

Glad you like it :) We're really proud of C2V and DOOM.v.

amedvednikov··on V 0.3
I can't reproduce this. No leaks in valgrind for me.
amedvednikov··on V 0.3
It's interesting how you can call the language immature without even trying it.

0.3 pretty clearly means it's not production ready software.

amedvednikov··on V 0.3
Complete lies. DOOM is full of multiline comments. And we have a bunch of non DOOM tests.
amedvednikov··on V 0.3
All issues mentioned in this anonymous attack blog have already been fixed.

It'd be much faster for the author to submit a couple of github issues, they are fixed very quickly.

The state of the language is anything but immature, all claimed features on the website are very carefully worded, and are all achieved already.

amedvednikov··on V 0.3
Not sure what you mean.

There are no leaks by default now. If you want manual memory management, you can do that.

What's the problem?

And hello world hasn't been leaking for a while now, it was just an unfreed global const.

The issue you referenced, wasn't closed as a wontfix. It was closed because it was fixed.

amedvednikov··on Ripcord: Alternative desktop chat client for Slack (and Discord)
No.
amedvednikov··on V 0.3
> Do the referenced compile times also include the time to compile from C to machine code

Of course.

← PreviousPage 8 of 26Next →