Interview With Sr Rust Developer | Prime Reacts
2023 ж. 13 Шіл.
453 549 Рет қаралды
Recorded live on twitch, GET IN
/ theprimeagen
Original: • Interview with Senior ...
Author: / @programmersarealsohum...
MY MAIN YT CHANNEL: Has well edited engineering videos
/ theprimeagen
Discord
/ discord
Have something for me to read or react to?: / theprimeagenreact
The fact that he actually knows so much about the language is just crazy. That's like two+ years of Rust coding experience just for this video.
cuz he was using rust for 2+ years... or may be watching other people programming in rust for 2+ years 😆
idk i understood almost all of them and i only wrote one project in rust
@@emilia-mikiIt's not just about the language features, it's more about the culture
@@AdroSlice "pick four" that was enjoyable. :)
He has a lot of other similar videos interviewing "other devs" with other languages, it's really impressive
Whats incredible to me is his depth of knowledge on such a wide variety of languages
He reads a script for them lol, someone with the knowledge writes the jokes.
@@BlueDippyNot sure, because all of them have the same style, so it sounds like he wrote them all and isn't just an actor
He does it the same way you do, that way that allows you to recognize he has knowledge on a wide variety of languages
@@dejangegic a lot of movies follow the same genre, doesn’t mean they are all made by the same guy.
@@BlueDippythis argument is weaker than senior assembly engineer.
"Is that your coffee?" "No, my build is ready"
How does someone know this much about multiple programming languages in order to be able to make this superb satire is amazing
Clearly because they are a Rust Dev
He uses vim
he probably does a lot of research on reddit/github issues / asks experts then writes a script and does a bunch of takes. Most of the work here is actually the video editor who is doing an amazing job at splicing it all together. I wouldn't be suprised if only 20% of the footage actually makes it into the final video
@@aloufin with time you know about a lot of languages I say around the 4 years mark of programming you will have depth knowledge about 4-6 languages
Definitely browses r/programmingcirclejerk
Of course this would be his best video. It's about the perfect language.
facts
I like his serious documentary about current web a bit more, but this one is very good too.
"Choose the right job for the language." - some blue haired ultra instinct Sajajin.
Rust is always two years away from finally killing C++
and US dollar is always 2 days from collapse. so they say
Same as: $CURRENT_YEAR is the year of linux desktop.
@@rj7250a but we've reached 3% desktop market share! It must be the year!
@@user-cy1rm5vb7i going from 2% to 3% is a 50% of user increase, so very nice. Probably the Steam deck had a large impact on this. If Linux had 5% market share, it would be enough for me, basically every software i need is present in Linux, but some do not work well, so i download the Windows version and run on Wine. Probably the devs not testing the Linux version.
@@monad_tcp i am a Rust guy, but i think Rust replacing C++ will only happen in 2027, if everything goes well. A modern example is how NodeJS got very popular, but still far from replacing PHP for most websites. Even if you removed WordPress websites, around 30% of sites runs on a PHP server. Facebook still uses PHP for its backend in the form of Hack. (Hack is a superset of PHP that is compiled, to give better performace). Lots of companies do not sell software directly, but develop software to help with their job, it is hard for a programmer justify a Rust rewrite of the C++ software, if the Rust version is going to have the same features, managers have no clue about memory safety.
this first joke references Henry Ford's famous quote: "If I had asked people what they wanted, they would have said faster horses." just in case.
Which, for the record, Henry Ford never said.
@@GSBarlev nevertheless, this is a reference to this quote whether it is real or not.
@@s1v7 true. I'm just being a pendant
@@s1v7e cc h n j b 9ok koo l o. BB. Mm mm l. N l cu ta nh o tn. G vhb jnno jm
This guy's videos are great but when it's on a language you're really familiar with then it's absolutely nuts.
I recently had to add support for an audio codec and isobmff/mp4 codec type to ffmpeg, it took me a few weeks starting from never having used ffmpeg, and I'm still very much a noob :). Then saw this guy's video on ffmpeg and I felt he had a much broader understanding than me. I do think he finds top ppl in some technology and interviews them or something, he must have some really good strategy to learn what he needs quickly.
His Emacs one is chef's kiss.
"Will you program the front end or the backend?" "The browser" 😂😂😂😂😂
11:57 Prime nearly done goofed taking a drink during this react lol
ALMOST DID IT
This is the happiest I've seen Prime since guzzling milk on a wake board. Most genuine laughs of almost any of the videos.
Jokes on you. I'm writing my own game with a custom engine. Keeping that ratio at 1:1.
My man, every Rust game engine was a game someone was writing with a custom engine and abandoned after the engine part.
@@IamQuhimho, indie devs should abandon the idea of writing an "engine" for their game and just write the game. If you're not going to make several radically different games, why bother writing a separate program/codebase that can handle so many things? no point in all the (dev and runtime) overhead for a highly general purpose "engine" if you don't need all that flexibility.
My ratio is 1:1:1:1, own game written in own engine in own programming language for own operating system. Next step is 1:1:1:1:1 . for my own "console" hardware.
Then you write the game engine, and when just started with the game you quit. Because of users complaining at your repo about you using unsafe rust in your game engine. Result? One more game engine, and no game.
For me it's something like -- "OK Let's make a game in engine X" "This engine is slow and has so much stuff I don't need. Let's write something simper ourselves" "Ok this is kinda had so I'm just gonna use a framework or two." "The function to make a blank window is all unsafe code. Not a problem." "Seg fault. Of course." "Oh look this obscure dependency for the libraries I'm using just updated and now I gotta set the version for everything manually for it to compile. No big deal." "God I miss animation tools."
They should make a game where you build rust game engines.
that's how they got 28 engines and 3 games
I've actually considered learning Rust for game dev, but all of the engines/frameworks are so equally and unbelievably terrible. It's almost like none of the engine devs have ever actually made any games before, and are just concerned with making every single little thing use Rust.
@@autismspirit "engines/frameworks are so equally and unbelievably terrible" that's not "Rust for game dev" . That's game dev in general.
@@autismspiritbecause there isn't a colossal corporate backing behind rust game engines like there is for unity c# and unreal c++
@@autismspiritlike all the UI libraries, a lot of these "different engines" are just people taking a stab at how to make it simpler to write a pattern in Rust (and to a large extent have succeeded in Bevy). There's not really any strong push I'm aware of at the moment to say these libraries are actually trying to compete either at the bottom end or the top end: right now the bottom end is too much simpler in other languages and the top end features are out of reach, but I could see how Bevy might get there for both, eventually. Note, in particular, how much work both Unity and Unreal are putting into implementing ECS type systems, while most of the Rust engines are starting there. It's a lot easier to build a simple toolset on ECS than vice versa.
As soon as I saw the original video in my recommended, I’ve been awaiting this reaction!!
I dont know a single programming language but I started watching this channel just cause. Its like watching an old spanish soap opera where you have no clue what theyre saying but you know stuffs going down.
His interview with a scrum coach is the funniest it’s so on point
6:16 is I think a big reason why OOP used to be so popular. It has very little to do actual design and everything with knowing the names of the functions you can use on an object just by typing object.
For sure it's a thing, I sometimes wrap a few functions in a class and make them static just to group them in a convenient namespace kind of thing.
when I saw this video I thought you might have a fun time reacting to it. Glad to see I wasn't wrong
Lol I laughed non-stop through this video when it came out. It hurt a little bit… so glad you covered it!
I've watched this a dozen times already. Prime's reactions are priceless
Ah man, finally the reaction video I was waiting for.
LOL! That guy on the video has a channel that is indeed hilarious, he jokes with tons of stuff ..worth watching! His channel is: Programmers are also human
We're so bless to have you Prime, every day is laughter and learning 🥰💜
While this video is clearly satire, I actually tried to use Rust for some quite simple application (curtains microcontroller). So after two weeks with Rust, I still couldn't finish it, and, with some sense of faioure,I had to revert back to C++ and finished the job within a couple of days. The ideas in Rust language are interesting, but the investment you need to make to actually apply them well is extremely high. I have several decades of experience and I started when Pascal was big and Fortran was still a thing, so I know a thing or two about computer languages. Rust is surprisingly difficult to use in a kind of simple everyday use cases, and so this guy's rant is 100% warranted.
Having the same problems for simple things, although it's incredible that when it compiles, it usually works. Wish there was a way to combine the level of explicitness while still keeping it un-verbose and simple. Although I suppose these are conflicting goals.
As I say, Rust is the only programming language that manages to be verbose and terse at the same time. There's so much information packed into a single statement no sane human can reason about it.
I would imagine it's harder to learn new languages if you're only sticking to one for 20 years, compared to learning a new one every year for the same amount of time though.
@@TankorSmash new languages that are worth learning, meaning getting enough maturity and attracting enough attention to form an ecosystem are surprisingly rare these days. Kotlin was one, but it's effectively Java++. Rust was another. Couldn't think of much else from the top of my head.
A language's value to you depends on what you're looking for sure! My point is that if you're saying "I've spent 20 years learning English, I know good bit about human language" while someone who learns French and Russian and Italian would have a much easier time learning Spanish, for example!@@KirillFrolov77
I've always wondered how long he prepares for these
I have no experience with Rust. Every one of his jokes went over my head. I only know he told jokes because The Prime Time is laughing hysterically.
When he says "It's not a cult" and then covers a business card, it's got "Illuminati" written on it (from the Angels&Demons book by Dan Brown, prequel to Da Vinci Code). Called an Ambigram.
Hey prime - It's interesting to see our talking points in their video, right? (Including some mistakes I made last year being repeated verbatim!) I'm beginning to think they're not experts in all the languages they make videos about!🤓
Seen this maybe 18 times by now and still returning
Prime talking about the overlap between Haskell and Rust devs. Me, mainly using Rust now, after switching from Haskell... I feel called out lol
This has come up a bunch in my feed and I genuinely didn’t know it was a farce. I was like “yeah that haircut looks about right”.
Ive been waiting for your reaction since seen this interview
the fact that i dont know nothing about rust but i enjoy this video is just crazy
"We compile the entire company at runtime." ROFLMAO!!!
checkout his senior js interview - by far the funniest i saw he did
yes, kzhead.info/sun/iNNsk7BspaR9gqM/bejne.html
Day 60892, still figuring out async in Rust...
just await lol
if u called an async func and it returned some value you just append the await field onto it and u can think of it as an alias for the type itself then u can do whatever you want with the type, thats it. example from the reqwest crate async fn some_fun(uri: &String) -> () { let response = reqwest::get(uri) // returns Result .await // this now essentially is an alias for Result .unwrap(); // call unwrap on the result and u get the response _ = response; return; } hope it helps..
DOES NOT LIVE LONG ENOUGH
Day 69420: figuring out why supposedly working async code errors at runtime...
@@tokiomutex4148 nice
"That might have been the funnest joke I have heard in an exceptionally long time." That about says it all.
"5 games written in Rust … and 50 game engines." 😂 Man... _Rust_ *is* THE ultimate game in itself. Games written in _Rust_ are mere mini-games within the _Rust_ environment.
Prime you should interview him!
7:30 there's actually a Haskel monad implementation in the Rust server. It even does >>=.
Saw this when it came out - still funny watching it again
THat Laughter in starting for Rust Operating system in no time is Full of life..😆
12:01 The man predicted blue haired Primeagen
"Bounded polymorphism" 😂
Is it just me, or this guy would look like Brad Pitt in Fight Club (Tyler Durden) if his wig was blond?
quite close. but Meet Joe Black actually looks closer
@@danielmilyutin9914 Haircut is much closer, for sure, Joe Black just lacks the beard :)
I literally thought the same thing
I had no idea Brad Pitt was also a software engineer!
Cpp crowd is bigger but not as organized as ours is another double entendre about memory management across the two languages i think.
OMG I feel like I have not laughed this much in so long. This was great.
Rewrite everything in Rust book lol
"I actually have a macro for the unsafe command, It's called trust_me" 🤣🤣
Although I've watched this video twice, KZhead keeps putting it in my recommended feed for some reason. Wow, the algorithm is pushing this one *hard*.
Jokes aside, I've been getting ready to play around in rust a d python. I've been taking programming seriously for about a year now and been learning c++ But man rust's compiler is so goddamn good. The compiler alone makes me want to learn it.
Absolutely hilarious! Thanks for sharing @ThePrimeTime
Of course it’s his best video, it’s been written in Rust
I'm still watching and enjoying this every time the algorithm bring it up again.
Think this is the hardest I've ever seen prime laugh, so funny.
It looks like you were laughing too hard to miss my fave near the very end: "at this point I'm fully oxidized" :)
I had a good time rewatching it over and over again just the first 1 and a half minutes, just crying and laughing, what a great guy, what a top comedian. hey prime great video btw this comment is not in fortnite terms for now.
When I saw you were reviewing this video, I knew you'd be laughing all the way through it.
this is brilliant lol
You need to watch "Interview with Senior JS Developer 2024" its mind blowing.
Laughed so hard!!!! 5 games and 50 game engines written in Rust.....
I love how he references gluon at the end. The entire video he's talking about how haskell is great and it turns out he uses an embedded language instead of rust which is effectively Haskell.
I am dying 🤣🤣🤣
"Webassemly. What was the question?" had me rolling
Not gonna lie, I'm a little called out (though I love he said it) when he talked about writing out trait bounds being a pain in the ass and to just "stuff it into macros". Often when I've encountered a scenario where I'd need to write a function with generics that I needed to have complicated trait bounds for, I would just create a macro to inline the code for me so I wouldn't have to write the generic trait bounds out in a function. Is it best practice? Maybe. Maybe not. But trait bounds are one of the biggest pain in the asses in Rust.
2:17 well MacOS update made bevy leak memory.. Well more like gobble up the memory untill the game is turne off. It's quite silly situation.
How does Prime just miss the best damn joke by DRINKING 🤯
J-Diesle is also a perfect programming language
Wow, his dead pan answers make it so darn real.
I really like the moments when you pause people mid sentence. Then I pause you mid pause. Then I eat a sandwich. Then we can all proceed.
i lmao, please make interview with Senior Golang Dev.
I am not surprised the guy knows many language but surprised he took the time to video really the annoying error messages from practice hahah :D
I waited for this 😂
In the thumbnail, the blue hair guy looks really CGI.
I wish I could love rust. Ive made multiple attempts to only use it. I struggle to produce good and maintainable architectures with rust. And i dont like the errors where the implementations are split between many modules so you have to import many modules just to use it. And I also dislike how the solution for several common problems is to just use a macro. Then theres those annoying borrow errors. I cant even make a temporary variable pointing to a variable which needs a lot of typing to access. Not to even mention the compile times. That said, I love match expressions and object enums. The issues I have with it greatly outweighs what I like about it
How was your experience with concurrency in rust?
@@cariyaputta there were a couple annoyances I experienced for sure. Compile errors on things that were completely safe just because rust didn’t like it for some reason. I also disliked explicit lifetimes. That definitely should have all been implicit. No programmer wants to think about that
Cloning can get around most borrow errors. I had hangups with doing that until I realized most languages I was using were doing that but it wasn't explicit.
@@JeremyNicoll cloning would be fine, but a lot of the time when I have that usecase, I want to actually write to the variable using the reference. Otherwise id just take a copy
@@KayOScode it does take some getting used to. I've been trying to wrap my head around Rust off and on for six years and I finally feel like I'm getting it. I've had to give up a lot of concepts of the "right way" in other languages or wait for Rust to catch up to its promises. Personally I feel like its highly usable for a lot of cases now but there are still some very rough edges to smooth out.
Interview with Senior JS Developer next! It's hilarious
It is like Java interface ? No, we don't mention Java anymore . This killed me :D :D :D
I don’t know anything about coding but prime somehow keeps me coming back
Libraries, Compilers, Debuggers, hardware mods > Programming Literacy
1:05 the worst moment to look away from the video
His emacs video is great too.
10:18 Rust has born from Haskell, that's why
BTW Turbopack isn't fastest, Parcel is. Coincidentally also written in Rust, so the point stands.
This was pure gold.
The blue hair haha
Is this video endorsed by the Rust Foundation? I can't tell. Does you marking your video as not endorsed count for the Video you were watching? Although the "we have 5 games and 50 Game Engines" part had me laughing.
If there weren’t 50 different ways to do the exact same task, c# would be the perfect language.
"a faster C++", genius
Those guys work so hard with their editing. Hats off to them. Just ah, is blue hair considered normal in the Rust cult I mean community?
Now do same guy for Sr JS dev, please.
"the year of rust" "the year of the linux desktop"
this man is the Tommy Wiseau of programming
This video is an eye-opener. GCC has improved its C++ error messages over time (still often times useless though) and so has Clang (worse than GCC imho). So far Python for me offers the best feedback especially if the underlying module/class/function/whatever uses docstrings to document it, allowing you to call help on that specific item and giving you all the information you would normally need. I find it curious how Rust, that claims to improve things, has such poor error reporting.
Choosing the right tool, for the job, should be referring to the people(tools), right?
I love how it's all about learning to rewrite your code to rust. LMAO
This is hilarious! Also why I am MOJO/ZIG curious in getting them Message Passing Interface (MPI) support to federate memory. Drucker's Practice of Management applies to memory management too - federation is the only free lunch.
amazing thumbnail
There are currently 5 games written in rust and 50 game engines 😂