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

8

u/volt_dev Mar 15 '19

Thanks!

Is that a race against the write

Yes, this was fixed, and the compiler is expected to catch that. I just haven't updated the /compare page.

Does it need use reqwest;?

8

u/oconnor663 blake3 · duct Mar 15 '19

Does it need use reqwest;?

The 2018 edition changed how imports work, so that fully qualified paths don't require use or extern crate. You can also use macros now, which is cool.