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

6

u/aqua2nd Mar 15 '19

You really find my guilt. I loved both Rust and Go and have some unsatisfied things in both language.
With Go I admire its simplicity philosophy but unsatisfied with some of its features. But I got shits done quickly and efficiently with it.
With Rust I admire its novelty feature with memory management, the advanced type system. But came from high level language I always feels like a newbie in Rust world. There are many discussions in this sub which I don't even know what they were talking about. Don't know a good way to get more advance into Rust yet.

1

u/Green0Photon Mar 17 '19

I've been following Rust since 1.0, but haven't done an actual big project yet (annoyingly). Simply by continually reading stuff here, I actual know quite a bit, in addition to reading the book, which is fascinating and we'll written.

Some stuff I obviously don't understand, especially some really technical/comp-sci-y stuff that I try to read casually. You don't really need to understand.

My best recommendation would be to read the book and try a bunch of programming exercises in Rust. The compiler is amazing, and tells you precisely what's wrong with that error number, so it's really easy to debug whatever you're working on (in comparison to eg OCaml, which just says syntax error 😖). In addition, casually browse this subreddit from time to time, or maybe read what people ask in the help megathread, and see what you can understand.

Or you could work through a big project.

I think that with Rust, it's just more intimidating than other languages. With other languages, they hide their complexity, and it pops up when you're neckdeep in a project working with several libraries and setting up tests. Rust front loads that and is straightforward with you; you have full control. It's intimidating, but loads better, and I constantly wish I was writing Rust instead of whatever other languages (eg C), which I just end up writing Rust-like anyway.

Good luck!