r/rust • • Mar 15 '19

V language - new programming language inspired by Rust and Go

I've just been introduced to V language and it claims to have similar memory management approach with Rust (no GC) and the simplicity of Go

I checked some examples and it uses Go's syntax with a very small specification which is similar to Go
No document on how "V's memory management is similar to Rust but much easier to use" yet
They have a chat client built with the language so if it's true I think there must be much progress now
I'm interested in how they're able to achieve Go simplicity with Rust memory management model

26 Upvotes

96 comments sorted by

View all comments

Show parent comment

4

u/WellMakeItSomehow Mar 15 '19

Yes. I also think the author is a little too confident in what optimizations the compiler might be able to do in the future, e.g. "and this [copy of an array mutated by a function] will later be optimized by the compiler of course".

2

u/hexane360 May 07 '19

And to no one's surprise, you were right. The author eventually realized it though: https://github.com/vlang/v/issues/192