Val - The Rust Killer | Prime Reacts

preview_player
Показать описание
Recorded live on twitch, GET IN

MY MAIN YT CHANNEL: Has well edited engineering videos

Discord

Рекомендации по теме
Комментарии
Автор

We've moved from JS frameworks coming out every month to llvm languages coming out every month.

Jiftoo
Автор

I'm going to start another new language, and I'm going to call it "Work" because it'll just work. Also because it'll truly mess with HR trying to express "5 years of $LANG experience"

FrederikSchumacher
Автор

We went from "C++ is dead" to "this new language will replace C++" really fast, huh

rafaelbordoni
Автор

Language are going to be like Linux distros. The tree branches

roshantiwaree
Автор

We'll soon need 5 years of Val experience in order to get a job

Maxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Автор

The idea of value semantics is to do away with pointers (and pointer-like things). Like in Java for instance if you declare a class you'll secretly be passing around a pointer to every object, which means (as the article says) you're never quite sure if you're the only one mutating a value. Rust is very much _not_ this; the whole idea of the borrow checker is to be able to pass references around in a way that's provably safe at compile time. You need another language to do this because if you just do away with references and don't do anything else you have potentially killed performance in other ways and/or made your life harder by removing the ability to use reference semantics where it is useful.

Val is a very interesting project precisely because value semantics are the better default than references everywhere and it makes the code much easier to reason about. When you first write a Rust program and just slapping .clone() everywhere, you're acknowledging that. But in Rust that will incur a performance penalty. The whole idea is to be able to write the easy code full of clones but do away with the performance overhead.

isodoubIet
Автор

protip: skip secondary articles unless the primary source is lacking; Val's site answers most questions.

SaemGhani
Автор

Imagine someone asks what programming languages do you know and the guy says "Val, Vale, and Vala".

RealMazharHussain
Автор

OMG, due to how many language killers we now have - programming might be dead 😵

axotellix
Автор

Val: "I'm compiled ahead of time to machine code"
Prime: "we just call that compiled"
*Java has left the chat*

CamembertDave
Автор

Finally someone is putting Rust out of its misery.

colin_actually
Автор

I appreciate the honesty more than anything. What i mean by this is you've helped make it safe for all programmers, including experienced ones to say out loud, "i just don't get it."

Often in this industry, this is used to shame or mock. You do so from a place of curiosity and learning. This approach is healthy and i hope all of our next generation programmers are watching.

SpaceShot
Автор

With each passing day as an engineer -- rather than finding more answers to my questions I tend to find more questions to my questions.

quelchx
Автор

It is very bold to say the language replaces C++/Rust. Not because of how complete and robust C++/Rust are to begin with, but because of how different Val is. I suspect that she didn't really mean it replaces C++/Rust, but rather it replaces a lot of the pitfalls of higher level languages that have people running to Rust/C++ for the performance gains.

tacticaltaco
Автор

can’t wait for the first val foundation drama

dominikskeries
Автор

This is why I'm still invested in C++, because it's a language that isn't going anywhere. There's too many languages coming out that claim to kill Rust, or C or [insert language]. I'm almost 40, and I've witnessed language hype for over 20 years, yet it's still the same players running the game. Jumping on the cool-kid bandwagon will likely leave you stranded with a flat tyer in the middle of the nowhere.

JayJay-kimi
Автор

Glad we finally got some clarity on the difference between MVS and MVS

thijsyo
Автор

Surely at this point the actual tool to learn is LLVM.

ZenoDovahkiin
Автор

Now, it was renamed tô Hylo programming language.

victorpinasarnault
Автор

Val is two years away from replacing C++

romangeneral