5 ms·
So this is a safer alternative to Golang with smaller binaries, generics and no GC? [edit] Sorry, edited before there was a reply. You're very fast!
by tarkin2 6y ago
So this is a safer alternative to Golang with smaller binaries, generics and no GC?
[edit] Sorry, edited before there was a reply. You're very fast!
- amedvednikov 6y agoYes, it does! :) This is a frequently asked question, so I had it covered. Things V improves on Go: https://vlang.io/compare#go https://vlang.io/compare#go
- parhamn 6y agoThe excluded parts I'd be interested in is cross-compiling + concurrency. Awesome work, sure it will get there either way :)
- amedvednikov 6y agoWe already support cross compiling to Windows/Linux (only amd64 for now), will record another demo soon. Concurrency is WIP, and will be the main feature of 0.3. We already have channels, locks, and thread safe typed arrays/maps.
- tandr 6y agoCouple questions about channels: 1. Will they be as heavy as Go's ? Go has 2 mutexes and some other fluff 2. Are they "close-safe" like, if I send something to the channel, and it is nil or closed, will it panic crash or stuck forever like Go does, or V is trying to be "panic-free"? Will "prohibited" operation return an error or panic/stuck? 3. If channels are closeable, will I be able to close them twice without panic (closing closed door might creak, but IMHO should not burn the house down...) (At some point in the past I did suggest adding an error to channel operations so it will not panic if I am ready to intercept an error, but that was rejected)
- ylluminate 6y agoAre you on Discord? If so, pop on into: https://discord.gg/vlang https://discord.gg/vlang and chat at #concurrency
- tandr 6y agoThank you for the suggestion. No, I am not on discord.
- ylluminate 6y agoI'm sorry - at this point I'd say with your input you should pop onto Discord to have more robust discussions.
- ahmed_elbashery 6y agoDid they cite any reason for the rejection? Thanks
- tandr 6y agoI need to find it, but I remember it was "we discussed it, and no, we decided not to" sort of answer there. There is also earlier explanations (from Rob Pike I think?) that was "we did not like how it looks like, couldn't find a nice looking syntax". The whole discussion left me with a bit of eery feeling, and left me with a bit of a sour taste (together with "error handling" one that I kind of tried to participate in). I pretty much stopped actively following golang-nuts after that, and now only look at proposals through meeting notes that Russ posts on github [1], where you can see accepted/not accepted status immediately. Btw, there is another saga (drama?) unfolding on github proposal discussions over sum types [2], and judging by the past experience I don't have high hopes for it to get into the language. [1] https://github.com/golang/go/issues/33502 https://github.com/golang/go/issues/33502 [2] just one last I saw today, but there are more tickets about same or connected issue https://github.com/golang/go/issues/41716 https://github.com/golang/go/issues/41716
- ylluminate 6y ago
- trefil 6y agoNo. Go is actually stable and mature with a performant runtime and most importantly, the project isn't led by a con artist.
- winrid 6y agoHow is this guy a con artist? Have you looked at all the repos under v/? At the least I'd say he's over optimistic, but the work is getting done.
- mratsim 6y agooverpromising and underdelivering != con artist, though I do understand where you're coming from as the very initial (postponed) release and asking for donation gave a scam feel.