I Spent 18 Months Using Rust And Regret It

  Рет қаралды 151,365

ThePrimeTime

ThePrimeTime

4 күн бұрын

Recorded live on twitch, GET IN
Article
/ i-spent-18-months-rebu...
By: Austin Starks
My Stream
/ theprimeagen
Best Way To Support Me
Become a backend engineer. Its my favorite site
boot.dev/?promo=PRIMEYT
This is also the best way to support me is to support yourself becoming a better backend engineer.
MY MAIN YT CHANNEL: Has well edited engineering videos
/ theprimeagen
Discord
/ discord
Have something for me to read or react to?: / theprimeagenreact
Kinesis Advantage 360: bit.ly/Prime-Kinesis
Get production ready SQLite with Turso: turso.tech/deeznuts

Пікірлер: 906
@Oler-yx7xj
@Oler-yx7xj 2 күн бұрын
I love how "using Rust" and "rebuilding a huge platform" are synonymous
@TJackson736
@TJackson736 2 күн бұрын
Rrir folks are to blame.
@neruneri
@neruneri 2 күн бұрын
Real talk, this is another failing of the Rust community. Bamboozling people into thinking this is somehow a good idea to begin with.
@itermercator114
@itermercator114 2 күн бұрын
Makes me believe most the devs that push this are juniors. A few seniors might give it a go but most know how god awful same language rebuilding is, let alone new-language building is
@Leonhart_93
@Leonhart_93 2 күн бұрын
Just this fact makes me realize that most of those that use Rust and do that are completely green and inexperienced. Because otherwise they would know, re-writing any big thing without very good reasons more often than not ends in pain, new bugs and waste of time.
@vitalyl1327
@vitalyl1327 2 күн бұрын
Is not it a mandatory rite of passage for any rust convert?
@ThePOVKitchen
@ThePOVKitchen 2 күн бұрын
"PHP has the nicest community" === "we're all in this shit together"
@defenestrated23
@defenestrated23 2 күн бұрын
Trauma bonding is real
@jordixboy
@jordixboy 2 күн бұрын
your probably js kiddo lol
@avwie132
@avwie132 2 күн бұрын
Nah, they are a way more mature community than JS children’s playground. PHP, .NET, Java are the technologies that actually keep the world going and get shit done
@kphaxx
@kphaxx 2 күн бұрын
====
@ThePOVKitchen
@ThePOVKitchen 2 күн бұрын
@@kphaxx =====
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
"I'm using Rust because the interwebs said it's fast. Also, I can't be bothered to spend 30 minutes to understand my own code without an LLM present." Pro tip - performant code in any language requires careful work by someone who knows WTF they're doing.
@pashadia
@pashadia 2 күн бұрын
Maximum performance _and_ async is extremely hard in any language
@wolfgangrohringer820
@wolfgangrohringer820 2 күн бұрын
This. It's basically like an RPG where you can choose your archetype. *The Profiler.* Wielding your GC language, concurrency and threading are easy and often quite performant since you can rely on your (bytecode) compiler and runtime crafted by the highly intelligent elders. As you start to optimize, you will learn to work around the GC in order to minimize allocations and cleanup, and deploy tests to guard yourself against race conditions. *The Debugger.* As a scholar of the arcane C++, concurrency and threading are easy with smart pointers and copies, albeit at the cost of performance. As you start to optimize, you will learn to tame race conditions, crashes, dangling threads and nasal demons summoned from the realm of undefined behaviour. *The Compiler.* Similar to _The Debugger_, concurrency and threading are easy using reference counting and cloning, at the cost of performance. As you start to optimize, you will learn the way of the borrow checker, using your knowledge of pinning and interior mutability to refine and refactor your programs until all errors are quenched and the raw performance of your code is unleashed. ----- Overall, they are fairly balanced. If anything, _The Compiler_ sucks at low to mid levels, while _The Debugger_ is prone to blow up himself and their whole party, specifically in its older edition versions... ...i'll see myself out.
@wolfgangrohringer820
@wolfgangrohringer820 2 күн бұрын
This. It's a bit like RPG archetypes: *The Profiler.* Wielding your GC language, concurrency is easy and often quite performant since you can rely on the (bytecode-)compiler and runtime crafted by the highly intelligent elders. As you start to optimize, you will learn to work around the GC to minimize allocations and cleanups, and implement tests to protect against race conditions. *The Debugger.* As a scholar of the arcane C++, concurrency and threading are easy with smart pointers and copies, albeit at the cost of performance. As you start to optimize, you will learn to tame race conditions, crashes, dangling threads, and the nasal demons summoned from the realm of undefined behavior. *The Compiler.* As with The Debugger, concurrency and threading are easy using reference counting and cloning, at the cost of performance. As you start to optimize, you will learn the way of the borrow checker, using pinning and interior mutability to refine your programs until all compilation errors are vanquished and the raw performance of your code is unleashed. ...I'll see myself out.
@NostraDavid2
@NostraDavid2 2 күн бұрын
I think async syntax may abstract a little too much for the beginner, which means there's a performance hit they may not be aware of. From what I recall, adding async basically turns your code into a state machine.
@Kane0123
@Kane0123 2 күн бұрын
C# has you covered on both fronts… according to Microsoft at least
@hellowill
@hellowill Күн бұрын
I'm happy how Java approached this. Just 1 line of config to enable virtual threads.
@OneFingerYT
@OneFingerYT 2 күн бұрын
I've been coding in Java for 24 years, watching people chase the latest languages.
@NostraDavid2
@NostraDavid2 2 күн бұрын
Did you ever learn any other language, for the sake of learning something outside your bubble, or nah? Or are you Java till you die?
@Kane0123
@Kane0123 2 күн бұрын
Your code would work on like 3 billions devices!
@HalfMonty11
@HalfMonty11 2 күн бұрын
My condolences
@EhdrianEh
@EhdrianEh 2 күн бұрын
I can't do it. I don't even use open source applications built on java except intellij. I have PTSD and a phobia
@personalaccount1515
@personalaccount1515 Күн бұрын
Me too bro, me too
@isodoubIet
@isodoubIet 2 күн бұрын
Not the biggest fan of Rust myself but "it's worse than typescript" is a wild take.
@gund_ua
@gund_ua Күн бұрын
Sad but true
@taragnor
@taragnor Күн бұрын
Well, it really depends on what your priority is. If you want to get something up and running quick, Rust is a terrible language. In fact, it could quite possibly be the worst language for that. Developing with Rust is slow. It writes safe, fast programs, but your code has to pass a lot of strict compiler checks.
@isodoubIet
@isodoubIet Күн бұрын
@@taragnor I don't think it does. Javascript is the worst language ever invented as anything other than a joke and shouldn't be used for anything. There are other far more usable languages if you want something done quick.
@taragnor
@taragnor Күн бұрын
@@isodoubIet Vanilla JS is terrible. Typescript is okay. It still has warts from JS (which sucks), but can do some of what Rust can, with a similar syntax for generics. You can even do some Rusty abstractions and code in Result and Option return types instead of relying on throwing. It's async is also relatively similar as well to Rust. Speed wise it's also not that bad for a scripting language. Python and Ruby are much slower. If the plan was to never port the system to Rust, I'd probably say they'd be better off choosing Go or C#, but the TS version is basically just a prototype design for an eventual switch to Rust. It's an okay choice. It's not the only choice, but I don't think it's awful.
@isodoubIet
@isodoubIet Күн бұрын
@@taragnor TS is slightly harder to use incorrectly but it's still the same fundamentally borked technology. Getting the wrong answer faster is not an advantage. But all that aside, the guy didn't conclude "TS is better for developing a throwaway concept that I'll rewrite in a real language later". He concluded "TS is better _in general." This is a take so wild it has yet to be contacted by western civilization.
@taylorallred6208
@taylorallred6208 2 күн бұрын
Rust can be simple. For example, you probably don’t need generics or lifetimes for your use case. Your application is not a library and so it’s ok to be ad hoc and repeat yourself.
@curio78
@curio78 2 күн бұрын
Most application are not demo code to not need generics or lifetimes.,
@dealloc
@dealloc 2 күн бұрын
This ^
@oleksiistri8429
@oleksiistri8429 2 күн бұрын
but when you try to build something atleast somewhat useful, you start to use frameworks and libraries, which are often over-engineered, so your code also get over-engineered pretty quickly
@Slashx92
@Slashx92 2 күн бұрын
@@curio78 most applications are trivial and small. Huge projects are the few. A company may have a couple of big products or a platform, and 10 or more internal tools that are just forms or non-critical data processing apps. This "real apps are complex" is only true if you are making something actually complex (optimization of geometry for CNC machines or whatever), or the software changes for several years
@CGMossa
@CGMossa 2 күн бұрын
Profound statement. Don't repeat yourself, unless you've got something important to say, then do that. Repeat yourself.
@DonAlonzo
@DonAlonzo 2 күн бұрын
I spent 18 months rebuilding my house using a Swiss army knife. I'm filled with regret.
@christophjasinski4804
@christophjasinski4804 2 күн бұрын
With a Swiss Army Knife™, you would be done in 18 weeks.
@ProgrammingLearner-iy3ej
@ProgrammingLearner-iy3ej 2 күн бұрын
Well that's obviously a skill issue
@Leonhart_93
@Leonhart_93 2 күн бұрын
​ @ProgrammingLearner-iy3ej Yes. People also don't write things directly into binary because of skill issues 😂
@thingsiplay
@thingsiplay 2 күн бұрын
After that you get to be extremely skilled. So its probably worth it.
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
Swiss Army knife is the ultimate abstraction. It's like writing in Clojure.
@Z3rgatul
@Z3rgatul 2 күн бұрын
Rust has more videos on KZfaq than actual lines of code working in production
@tcc1234
@tcc1234 2 күн бұрын
bruhhhhh 💀💀🤣🤣🤣🤣
@tafadzwad
@tafadzwad 2 күн бұрын
wow😂😂😂
@kaioneal6160
@kaioneal6160 2 күн бұрын
Chill 😂
@Whiteblooder
@Whiteblooder 2 күн бұрын
spot on
@tinrab
@tinrab 2 күн бұрын
Except AWS and Lambda, all the webdev tooling, Qdrant (Twitter uses it), tikv (behind tidb), Dropbox, GitHub's search, Discord, Facebook's build system, and many more..
@chockman3833
@chockman3833 2 күн бұрын
People need to understand the market segments rust is appealing to, mainly systems programmers… if he wanted a performant, compiled, garbage collected language he should have just used go. But he fell for the RIR meme and then wrote an article about “if only rust had a garbage collector”, which for me is the same as “I’m so mad my car isn’t also a boat”… it’s a different product for a different market segment …
@houstonbova3136
@houstonbova3136 2 күн бұрын
@@chockman3833 If only Assembly had automatic garbage collection. Why aren’t lifetimes handled automatically by x86? The syntax on these vtable allocations are just too much sometimes.
@tablettablete186
@tablettablete186 2 күн бұрын
​@@houstonbova3136Assembly doesn't even handle the stack automatically lol I don't know if this is a genuine joke (I am assuming it was), but this is gold 😂😂
@houstonbova3136
@houstonbova3136 2 күн бұрын
@@tablettablete186 Definitely a satirical interpretation of the video 😅
@chockman3833
@chockman3833 2 күн бұрын
@@houstonbova3136 that’s exactly my point man!
@tablettablete186
@tablettablete186 2 күн бұрын
@@houstonbova3136 Congrats, the joke was amazing 😅😅😅
@Grumpicles
@Grumpicles Күн бұрын
One of the many things I love about Prime is he explains things - e.g. "shadowing". If I had the time I expect I could watch Prime learn (and stream) a language and end up understanding all the "what's" and "why's", just because he'll explain things if you ask. One of the best teachers I've seen, and I haven't even watched his courses yet. 🤙
@dougmercer
@dougmercer 2 күн бұрын
Snake 🐍 at the bottom of pyramid reporting for duty
@fg786
@fg786 2 күн бұрын
It's at the bottom, because it's the foundation for all the prototype programs that are finalized in languages higher up...
@Takyodor2
@Takyodor2 2 күн бұрын
They laugh at us, and say we're at the bottom of the pyramid. But then we hit them with blazingly fast libraries written in C for the small but performance-critical parts of the code, and we suddenly got the holy trinity of speed of development, runtime and readability where it matters. 🐍📈
@MorningNapalm
@MorningNapalm 2 күн бұрын
White space is syntax snake :D
@NostraDavid2
@NostraDavid2 2 күн бұрын
Python: at least it's not Ruby (even when Ruby has improved some 10x, if not 100x, since they rewrote their compiler/interpreter)
@AmansLab
@AmansLab Күн бұрын
@@fg786 while using C
@arcuscerebellumus8797
@arcuscerebellumus8797 2 күн бұрын
Going out of the "GC world" into a wild universe of self-managed memory can be akin to learning to breathe manually. Rust attempts to solve that issue by stunning you with a cattle prod every time you fail to take a breath on time (or take a breath when you weren't supposed to). This works for some people, but not for everyone and not in every situation. In its defense: it's not like there are no warnings about it... like, at least half the articles I've read on Rust before giving it a try were very explicit about how hard and frustrating it can be.
@LtdJorge
@LtdJorge 2 күн бұрын
I don’t think that’s a fair comparison. The cattle prod stun would be panicking at runtime. Rust doesn’t even let you cross the door to take the breath outside. It’s much better to fail many times at compile time than to fail just one in production at runtime. Every one of those compile time errors would be a bug in a different (memory managed) language.
@Turalcar
@Turalcar 2 күн бұрын
I like to think of rustc as Mr Miyagi. You'll be miserable for a bit but will come out better on the other side.
@bradclements1815
@bradclements1815 2 күн бұрын
@@Turalcar Rust == Pai Mei
@GrizikYugno-ku2zs
@GrizikYugno-ku2zs 2 күн бұрын
This is the most based explanation of Rust I've ever seen. I always said it feels like pulling your own teeth out, but I'm stealing this.
@RemizZ
@RemizZ 2 күн бұрын
Web devs should not be allowed to complain about other programming languages. Sincerely, A web dev
@YTDeletes90PercentOfMyComments
@YTDeletes90PercentOfMyComments 2 күн бұрын
Web devs shouldn't be allowed to complain about any software when they don't even know how to use the tools they're paid to use. sincerely, anon
@Takyodor2
@Takyodor2 2 күн бұрын
I think this applies on a higher level; don't complain about stuff until you're knowledgeable enough to understand the stuff.
@RemizZ
@RemizZ 2 күн бұрын
@@Takyodor2 Yes, but that doesn't sound as good as a joke comment 😁
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
@@Takyodor2 Right? Primeagen once talked about how you get into someone else's code and you think "oh, this is crap." So you start to rewrite it and as you encounter all the edge cases, your code looks more and more like the code you thought was crap. lol
@gregandark8571
@gregandark8571 2 күн бұрын
You comment deserves 1000.000 likes.
@rusi6219
@rusi6219 Күн бұрын
Crazy how rusties always write "skill issue" to valid complaints about their language but when experienced devs call out obvious skill issues with rusties they always get their panties in a twist
@ThePrimeTimeagen
@ThePrimeTimeagen Күн бұрын
Agreed
@lorenzvo5284
@lorenzvo5284 2 күн бұрын
I think that once you understand what the different pointer types in Rust do and you know the reason for their necessity it gets much easier to read the types because you're not that lost anymore. Step by step its really easy actually. FnMut is a function that can mutate some state inside itself. It takes an argument that is a mutable reference to the ClientSession. and returns a pinned value. Pin just says that the value with type F cannot be moved to another memory location. This is to ensure that from one thread to another the memory location always stays the same. Box just say's that whatever is inside the lives on the heap. dyn says that you can use the api that the trait Future provides. Future is a pollable object that waits for some asynchronous operation to be completed, the of which is just a Result that can either be of the type R which must be Sendable across thread boundaries and have a 'static lifetime which means that the value lives for the entire lifetime of the application, think a string thats embedded in the executable. And then the Result can also be an error in which case it is a String that probably tells the caller of the function something about what went wrong. You really have to break these concepts down and try to understand them bit by bit. At which point you really do get faster at reading and understanding these types. You also learn what you need to skip and exclude from your mental stack so to speak if you only want to know what the function does and not why it is technically necessary to do all the pinning and fnmutting business.
@GrizikYugno-ku2zs
@GrizikYugno-ku2zs 2 күн бұрын
Dude I've been using Rust for like 3 years straight, and I don't know what any of that stuff is in the beginning of your comment. What use case are you building for? What does it do? I find people use so much of Rust and I barely use any of it. Why don't you just throw everything complicated into an async thread and have it send messages back to the main thread and self terminate when done? All this pointer stuff I hear about sounds like trying to walk a tightrope. Maybe I'm an absolute moron and this is terrible, but I stopped learning Rust when I mastered handling everything async. I use it all the time, everywhere. Hundreds of threads at a time for each agent. Async threads starting and awaiting more async threads, on and on and on. Why not? I don't even recognize any of those pointer types. Honestly, I don't even know how a pointer differs from a variable name. I guess I'm a caveman, or cavecrab. I don't know, hitting everything with a club just works. Don't fix what ain't broke. My code runs faster than I need on 10 year old android devices I use for servers, so I've never looked into perf. There are so many rabbitholes in Rust, and I'm not scholarly enough to handle a lot of it, therefore, so much of it is just engaging. Sometimes I need something, and I go to The Book, and I return enlightened, but some stuff Rustaceans do regularly is just too much for little old me. Number types: I don't even use those different number types. Holy hell, why so many options? I want a number!!!!! I don't want to have to think about how big the number might get, and then select the right type - which I always have to look up because I didn't go to college and I refuse to memorize extremely random and long numbers that are related to the number (which is always a product of 2^x because computers) attached to either the letter "u" or letter "i" which for some wild reason link to two totally different, super random numbers (which are also always a product of 2^x because computers), and only one of them allows negative values because... drumroll, please... computers. I just want a number! How is that so much to ask for? The number types alone make me feel like I'm doing my taxes. I get triggered like Big Red when I see those types. There's "int"/"float" or (my favorite), straight up "num." Everything else is the damn computer's job! Am I a programmer or a mathematician? I failed Calc 1 four times, I came to programming because I thought I was safe from my one weakness. But that's my point. You know all this stuff about Rust, and you're probably better at it than me, but Rust is as hard as you make it. I feel like anyone complaining about Rust is trying to write Superman-Rust. I know a small sliver of Rust as well as I know my name, and that's all I've ever needed. I just can't comprehend people freaking out about using all this stuff. They're doing it to themselves. You can do so much with so little of Rust, and then you can improve pieces that are bad. I used to use Arc stuff for everything, but it got annoying, so I mastered multithreading or whatever it's called. Now I don't have to worry about all this locking insanity. There's so much in Rust. It's ridiculous to try to know even half of it. Last - but not least - I don't know a damn thing about lifetimes. I don't even know what they are. *mic drop*
@GrizikYugno-ku2zs
@GrizikYugno-ku2zs 2 күн бұрын
I can't edit replies, so commenting again. Question: is it really that big of a impact to send the data as a message versus using those pointers? If so, what in the world are you building? Are you dealing with Google-level i/o?
@RoflMcCopter
@RoflMcCopter Күн бұрын
This is a great explanation. As a n00b, thank you.
@lorenzvo5284
@lorenzvo5284 Күн бұрын
@@GrizikYugno-ku2zs Your point is extremely valid. You can avoid a lot of the complexity associated with the lower level abstractions that rust provides by using higher level abstractions. But these higher level abstractions are often built on top of the lower ones to offer the safety and efficiency you expect from rust. But as always in engineering everything comes with a tradeoff. if you've found a way to program that works for you, thats awesome man more power to you but also keep in mind there have to be those that build the use case specific abstractions for everyone else. I am very curious about your usecase for "just a number" because there could be several solutions to your problem. You strike me as a domain level problem solver.
@jupitersky
@jupitersky 2 күн бұрын
It took me a long time to learn the patterns and mindset required for Rust, and I'm still taking my time to learn it all piece by piece, but IMO it's been worth it. Perhaps it's just how my brain is wired, but writing Rust is incredibly satisfying for me. With any other language I am terrified it could spontaneously combust if there's weird data, whereas with Rust everything is clearly laid out, defined, and it all does exactly what it says with no edge cases or strange arbitrary behaviour. Honestly, it's mostly just personal preference and good teachers! Rust is really hard to learn. People will say, "oh but there's the book and tons of nice videos and written tutorials" but this really doesn't teach you the core of what makes Rust code different. Just preaching how cool it is does nothing, and while the learning resources are accessible, they do not help write the mental patterns that are valuable for writing Rust code.
@alwin5995
@alwin5995 Күн бұрын
wait until u get into hell with smart pointers.
@earx23
@earx23 Күн бұрын
I don't _love_ Rust, but I like it a lot more than C++. It also took me 6 months to get to grips with the borrow checker.. and even after that I scratched my head at some borrow checker corner cases. I think the language is somewhat unbalanced. Extremely verbose and explicit when it comes to integer arithmetic, for instance. Yet when it comes to references, it's all very implicit, and abstract. Zig has way more concrete terminology like "comptime". I think in that regard, Rust did miss the boat a little.
@Ruhrpottpatriot
@Ruhrpottpatriot Күн бұрын
@@alwin5995 What "hell" are you speaking of? It's literally one of the easiest things in the language. Unsafe manual memory to interface with a C-FFI on the other hand is real hell, but needed.
@blackt0wer
@blackt0wer 2 күн бұрын
"If you don't have access to an LLM..." So he used ChatGPT to convert TypeScript to Rust?
@berzurkfury
@berzurkfury 2 күн бұрын
Never mind the probable abuses of direct conversions that follow the original codes layout, but didn't take advantage of the right way to write rust
@isaacoppong5330
@isaacoppong5330 2 күн бұрын
😂😂
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
He didn't want to spend 30 minutes understanding the where block. If he doesn't have 30 minutes to invest...
@meanmole3212
@meanmole3212 2 күн бұрын
"WHY MY PROGRAM DOES NOT JUST COMPILE???"
@Kane0123
@Kane0123 2 күн бұрын
Certainly
@RogerValor
@RogerValor 2 күн бұрын
"Magick always comes at a price" - Gaius to Merlin
@Ash-qp2yw
@Ash-qp2yw 2 күн бұрын
Finished rewatching that show this week. Didn't expect a BBC Merlin reference in a Prime comment section
@privacyvalued4134
@privacyvalued4134 Күн бұрын
Yup. ImageMagick always comes with a price. Of having to modify esoteric XML configuration files to be able to do anything useful.
@liminal6823
@liminal6823 2 күн бұрын
"now that I know Rust"
@nERVEcenter117
@nERVEcenter117 2 күн бұрын
I needed to make a CLI program for my company that covered quite a few data processing and report generation bases that was fast for invocation on servers. Of the selection of native-compiled languages, I went on a tour. The guy before me had already worked on a prototype in Rust. I tried to continue working on it. I went from positive on Rust to wanting to die QUICK. Eventually I settled on Nim. Remaking the program was EASY. New features are EASY. Refactoring is EASY. I ROCKETED past the old featureset the company had languished in for 20 years. I have never before worked in a language that has made my life this damn easy while producing executables with a speed that'll knock your socks off. I experimented with D back in the day and it never got CLOSE to Nim. My job is a JOY because of this damn language and I never want to go back. My rule of thumb: If you're not embedded, you can probably let a GC/RC do the hard work for you, and scoop up the advantage of not needing to write a line of memory code ever.
@Kane0123
@Kane0123 2 күн бұрын
The TLDR - pick the right language for the problem. Maybe you don’t need rust level performance.
@smartphonh
@smartphonh Сағат бұрын
i hard agree, I've been porting a lot of my company's internal tools made in python 2.7 to nip and ive never felt this good about my code lol, i could optimize the code off of my head and seeing it actually made me smile
@MrCumberlander1
@MrCumberlander1 Күн бұрын
"Horrible Error Messages" most obvious indication of a skill issue
@faithful451
@faithful451 17 сағат бұрын
skill issues exist, everyone has them. Let's all all help each other overcome them without being assholes
@stuvius
@stuvius 2 күн бұрын
After a session of Rust, I literally feel nauseous when I switch to Typescript because the error handling is so good in Rust.
@user-oj7uc8tw9r
@user-oj7uc8tw9r 2 күн бұрын
Its because Typescript is a bastard child of Javascript which is a broken language
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
Typescript is gold leaf applied to poop.
@lagseeing8341
@lagseeing8341 Күн бұрын
@@7th_CAV_Trooper 😂
@ccgarciab
@ccgarciab 12 сағат бұрын
Can you expand a little about your problems with TS? I do Angular in my day job, and I've been using my own Result type, and it has been alright. Not as nice as Rust's but better than throwing exceptions around.
@rusi6219
@rusi6219 57 минут бұрын
That's bad, you shouldn't feel that way about getting errors. They are your friends, and the debugger is your friend also.
@perz1val
@perz1val 2 күн бұрын
Tbh if rust requires so much effort to learn it, why not just learn to not suck at C++? It's all a "skill issue" by this logic
@dwight4k
@dwight4k 2 күн бұрын
You took the words right out of my mouth.
@teej_dv
@teej_dv 2 күн бұрын
22:44 teej mentioned
@xunjin8897
@xunjin8897 2 күн бұрын
"We don't do that here"
@beastOfVengeance
@beastOfVengeance 2 күн бұрын
Lets go!
@Kane0123
@Kane0123 2 күн бұрын
Obviously this video declines in quality around the 22:30 mark
@Telhias
@Telhias 2 күн бұрын
Personally I believe that boiling people's problems with a language down to a "skill issue" is kind of dumb. Every problem you can have is a skill issue. If the language is Turing complete then you can do everything in it (technically). You have a problem with your error handling? Skill issue. If you were a better programmer there would be no errors to handle and why would you need to handle what doesn't exist? A ridiculously steep learning curve is a giant glaring con for a language. If you have to "git gud" for years on end to be able to write some decent code in a language then is it even a language worth learning?
@bionic_batman
@bionic_batman 2 күн бұрын
That's true. By following that logic memory unsafety in C or C++ is also a skill issue so there is almost no reason to learn Rust in the first place. Instead you just can become better at C++ and learn how to write memory safe code.
@isodoubIet
@isodoubIet 2 күн бұрын
@@bionic_batman That but unironically. Herb Sutter relates that Microsoft's experience with Rust has been that from C to C++ there's a large safety delta, and from C++ to Rust there's a small safety delta, and even that's largely because it's harder to commit code that doesn't compile than to commit code that fails a static analyzer.
@eyz-4
@eyz-4 2 күн бұрын
taking years is an extreme exaggeration. 3-4 weeks is realistic for the average programmer. assuming they go through the book and actually commit themselves to learn it. that's still a lot compared to something like javascript though which is realistically probably around 2 weeks on average. you're not just picking up javascript with javascript. you have to learn all of the tooling and all of that. go is probably a week, although i learned go in a couple of days.
@humanmerelybeing1966
@humanmerelybeing1966 13 сағат бұрын
“The wrong duplication is better than the wrong abstraction” I wish I’d heard this when I was starting out!
@zahklam2
@zahklam2 2 күн бұрын
"There is no other programming community that's as cult-like as Rust" wait till this guy heard about Vlang...
@adamnixon5503
@adamnixon5503 2 күн бұрын
Laughs in Haskell. Also I have nothing but respect for Haskell, its practitioners, and its secret police force, and orgy initiations.
@masterchief1520
@masterchief1520 2 күн бұрын
So culty I've never seen vlang dev 😂.
@owlmostdead9492
@owlmostdead9492 2 күн бұрын
Or Gleam
@sergiobost7434
@sergiobost7434 2 күн бұрын
Swift / iOS Dev is also cult like.. now that I think about it, all fanatics of a language normally trend towards their language… which is really the point.
@samuraijosh1595
@samuraijosh1595 2 күн бұрын
@@sergiobost7434 isnt swift THE language for ios development. why would a maimstream language be cult-like?
@antontsvil245
@antontsvil245 2 күн бұрын
We need friendliness in tech communities, and irl too. It makes everything easier
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
This is why I like Primeagen. He fosters a friendly community.
@antontsvil245
@antontsvil245 2 күн бұрын
@@7th_CAV_Trooper he is the chosen one! :D
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
@@antontsvil245 but I still don't feel like I can openly admit to being a C# enjoyer. Lol
@Kane0123
@Kane0123 2 күн бұрын
Clearly a bot. Get bent buddy.
@devOnHoliday
@devOnHoliday Күн бұрын
@@antontsvil245 did you say be nice and touch some grass
@-parrrate
@-parrrate 2 күн бұрын
the moment you write Pin
@Ruhrpottpatriot
@Ruhrpottpatriot Күн бұрын
True. At some point _even Clippy_ recommends using aliases
@FrankHarwald
@FrankHarwald 2 күн бұрын
5:20 the biggest problem with Rust & async is that Rust _still_ hasn't cleaned its own house up about it, meaning it only very very recently has decided on how to do async functions in traits. That's a big problem because its standard library still hasn't fully caught up to it. & even its very latest release still doesn't seem to have closed the issue entirely as there are still corners which are unimplemented / causes compiler bugs when combined with aliases to traits which are sync but are aliasing async functions.
@earx23
@earx23 Күн бұрын
I'm just sticking to doing enum powered state machines. It's more work, but it's very understandable.
@Reydriel
@Reydriel Күн бұрын
Yeah it all feels very "work in progress", but I don't envy the ppl that work on trying to solve this. Rust has to type check, memory lifetime check, static dispatch for generics (and probably more) all at compile time, which is hard enough to do for strictly synchronous code. Imagine the nightmare trying to create a standard solution for all these constraints in an asynchronous context, whew
@hannessteffenhagen61
@hannessteffenhagen61 2 күн бұрын
I feel like the fact that apparently their first version was written in TS of all things isn't really a good sign. Makes you wonder what exactly they're comparing it to.
@svuvich
@svuvich 2 күн бұрын
He was probably more familiar and proficient with TS at the moment of starting, what's wrong with that?
@krux02
@krux02 2 күн бұрын
You have to start somewhere. And first versions are usually written in popular languages, not languages that are good for the job. Maybe Go would have been better for this. But the borrow checker witnesses are everywhere and ringing the door bell to talk about Rust.
@vitalyl1327
@vitalyl1327 2 күн бұрын
​@@svuvicheverything. Chosing a platform based on familiarity instead of purely techical characteristics is a sign of incompetence.
@17Codiferus
@17Codiferus 2 күн бұрын
​@@vitalyl1327choosing a platform you literally cannot use because it's technically superior is just as incompetent. Life is funny that way sometimes.
@hannessteffenhagen61
@hannessteffenhagen61 2 күн бұрын
@@svuvich Do you know what 'algorithmic trading' is?
@martijn3151
@martijn3151 2 күн бұрын
The moment a language constantly battles against the programmer, I'm out. It can be as annoying as the forced indenting in Python to the idiotic loops and hoops you have to go through in Rust. I want to enjoy writing code. Fighting it, isn't enjoying it. And all that crap about milliseconds and "whichever language is the fastest"-futile discussions: don't fall for it. Choose a language that you enjoy writing in, and one that gets the job done. For me that's TypeScript most of the time. And when I want to get down to millisecond level, which I hardly need to do anymore, it's C++.
@kevinweir2499
@kevinweir2499 Күн бұрын
I'm just glad I write C# for a living. Almost Heavan by comparison.
@jagagemo8141
@jagagemo8141 2 күн бұрын
In terms of higher than C++11, anything bigger than 11 has all the baggage of everything 11 and before. There's a lot of artifact foot guns built in to the reverse compatibility. The one horrible/great thing that came after Java 8 was that they were willing to just kill the unsafe functions and force people to update or stay in the old unsafe version.
@isodoubIet
@isodoubIet 2 күн бұрын
You're free to not use the old stuff. The footgun potential is WILDLY exaggerated.
@the_kovic
@the_kovic 2 күн бұрын
Yeah, the fact that C++'s STL has this huge ball chain of forever backwards compatibility is what causes all those footguns, esoteric best practices, random terrible performance, and inconsistencies.
@earx23
@earx23 Күн бұрын
Yep, and safety is still opt-in. When you put me in charge, I'll just throw safety in the wind, and this will come back to bite me later. I'm a lot better of with Rust than even modern C++.
@isodoubIet
@isodoubIet Күн бұрын
@@earx23 Unsafe code is just one aspect of "bad code". Rust won't prevent you from writing bad code. If you can't stop yourself from writing bad code, you need someone else to guide you until you can. Regardless of language.
@pyrocentury
@pyrocentury 2 күн бұрын
The article where a game dev reviews Rust after using it for 3 years is much better, though maybe too long for Prime to react on stream.
@kevinrineer5356
@kevinrineer5356 2 күн бұрын
Est 96 minutes? I'll read it at work...
@isodoubIet
@isodoubIet 2 күн бұрын
Most articles criticizing Rust (including the one you mention) usually end up saying something along the lines of "C++ is better for my use case". That is a reasonable take. This article says instead "typescript is better (in general)", which is a troll take at best.
@samuraijosh1595
@samuraijosh1595 2 күн бұрын
@@isodoubIet this article said Go is better, not typescript.
@tinrab
@tinrab 2 күн бұрын
@@isodoubIet There are a lot of issues with that gamedev article. The most offensive part, in my opinion, is not talking about `wgpu`, `naga` or `egui` crates. But, other stuff like talking about the "orphan rule" is also weird. Or the mutability, which Bevy's ECS addresses.
@isodoubIet
@isodoubIet 2 күн бұрын
@@tinrab Dunno about the rest but talking about the orphan rule is 100% on point and justified.
@dork_side
@dork_side 2 күн бұрын
Rust backtraces only apply to panics. He's talking about how a function returning Result::Err doesn't convey information about where it was constructed. You only know where it was handled, not where it originated.
@jonnyso1
@jonnyso1 2 күн бұрын
If you know where it were handled, you can easlity figure out where it came from, no ?
@dork_side
@dork_side 2 күн бұрын
@@jonnyso1 Depending on the codebase it could be easy to figure out. But like he points out in the video, if you use "?" to bubble up errors a lot and have an app that does lots of file IO, and your app errors with "No such file or directory"... What file did it not find? what function returned the error? Obviously you can code around those issues, but it's not always straight forward and doesn't come out of the box really.
@jonnyso1
@jonnyso1 2 күн бұрын
@@dork_side That's what I didn't get, you need to specify what type of error you're returning, you can't just use ? and it bubbles everything, if your function is returning an error, you know which error it is, its right there on the signature, no ? Or is it some anyhow thing ?
@dork_side
@dork_side 2 күн бұрын
@@jonnyso1 that only works if your function only has one failure mode. If you use IO and some other fallible thing that returns another error type in one of your functions you either have to use anyhow, make a custom error type that wraps both, box dyn error, etc. Eventually you usually get to a point where you can easily bubble up many similar errors from a potentially large codebase and tracing them back to the origin can be hard. There are ways to solve that problem yourself, but I can see how this could be a pain point when you’re used to exception stack traces.
@Ruhrpottpatriot
@Ruhrpottpatriot Күн бұрын
@@dork_side You simply write a custom error type and use "thiserror" (or similar) to compose said errors. After that knowing where your error comes from becomes dead simple.
@maximenadeau9453
@maximenadeau9453 Күн бұрын
Acually catched this article on medium before you covered it, the whole time I was reading it I was thinking about how you would react to this article, haha.
@ThePrimeTimeagen
@ThePrimeTimeagen Күн бұрын
Let's go
@rogergalindo7318
@rogergalindo7318 2 күн бұрын
that “rust is haskell dressed as C” imo is very wrong, when getting into crazy types like that, Rust is MUCH more difficult and unintuitive, if you think you can extract a closure into a function with parameters you encounter problems, if you try to do the opposite you also do, and as “friendly errors”, still they are considerably difficult. In haskell you are much more free to do that sort of stuff.
@samuraijosh1595
@samuraijosh1595 2 күн бұрын
thats because the type system of rust isnt as robust as it seems on the surface, its not that Haskell is forgiving in the example youve given
@dira4734
@dira4734 2 күн бұрын
2022: Rust is the best 2023: Go is the best 2024: Zig is the best 2025: Gleam is the best 2026: ???????
@meanmole3212
@meanmole3212 2 күн бұрын
Gleam is the best for making political statements on their main page, Rust comes close
@MrKlarthums
@MrKlarthums Күн бұрын
@@meanmole3212 I just checked Gleam's homepage. So do you hate black people, hate trans people, or do you sympathize with Nazis? This is a pretty low bar for setting a community standard around decency.
@meanmole3212
@meanmole3212 Күн бұрын
​@@MrKlarthums Why does the page not say that white lives matter since whites are a global minority in the world and about to go extinct as a result of uneven birthrates and immigration to their home countries, and that black people commit disproportioned amount of violent crimes against whites? Deportation and closed borders matter! World peace and a home to live for all people of the world! Is that statement a problem with you, or with THEM? If so, it seems you hate white people and you sympathize with silent on-going genocide. That's pretty unfortunate since all I am suggesting is that we set a low bar community standards surrounded around decency for everyone to enjoy equally. If you think this is "trolling" or "yep, you are a nazi", then explain to me what in my statement was wrong or trolling?
@meanmole3212
@meanmole3212 Күн бұрын
​@@MrKlarthums Why does the page not say that v\/hite live5 m_4tter since whites are a global m1_nority in the world and about to go extinct as a result of uneven birthrates and 1mmigrati_on to their home countries, and that 8 l4ck people commit disproportioned amount of \/i0lent crimes against whites? D_3portati0n and closed borders matter! World peace and a home to live for all people of the world! Is that statement a problem with you, or with THEM? If so, it seems you hat_3 white people and you sympathize with silent g3n*cic|e. That's pretty unfortunate since all I am suggesting is that we set a low bar community standards surrounded around decency for everyone to enjoy equally. If you think I am trolling or the n-word, please correct me on what I said and correct my wrong statements. The numbers exist because of 1984 censorship.
@devOnHoliday
@devOnHoliday 11 сағат бұрын
It's Mojo baby, yeah
@darkerisbetter8699
@darkerisbetter8699 2 күн бұрын
17:50 ``` if err != nil { // handle error here } ``` I am surprised that people dislike this form of error handling - it's my favorite. Great point by Prime.
@petrus4
@petrus4 2 күн бұрын
My own response to complaints about the Rust community, would be to cite my experiences with the World of Warcraft and No Man's Sky's player communities. World of Warcraft was a game which was highly competitive; during classic World of Warcraft, Naxxramas, the endgame dungeon, was sufficiently difficult that less than 5% of the overall playerbase was able to even enter it. As a result, WoW had a playerbase that was much more inclined towards elitism, and influenced by the immense competitive stress that that difficulty caused. No Man's Sky, by contrast, is the complete opposite. It's an almost exclusively PvE game with no elite or end game content, where resources are infinitely abundant and renewable, and where everyone can obtain anything. The community are correspondingly far more relaxed, friendly, and welcoming. When someone encounters a negative community related to any particular interest, therefore, I think it's important and constructive to realise that there are almost always structural variables which incentivise said negative behaviour; and that rather than simply complaining about said behaviour, it should be realised that if the structural elements are modified, the behaviour will improve by itself.
@sealsharp
@sealsharp 2 күн бұрын
My favorite anecdote in terms of wow elitism is how at the end of Wrath with all the catchup mechanics the game was so accessible that everyone had amazing gear and everyone was "uh, i'm so great but all the noobs got my gear, so wish the game was harder" and Blizzard listened and in Cataclysm the same people whined that heroics are too hard.
@JohnDoe-ji1zv
@JohnDoe-ji1zv Күн бұрын
They always say it’s a skill issue because they want to see you suffer as they did. Once they overcome that skills issue themselves they will never admit how hard it was or that it is bad design or anything, they will tell you that it is just a skill issues and will take a popcorn and watch ur struggles 😂
@abrarshaikh2254
@abrarshaikh2254 2 күн бұрын
Snake 🐍 and big yellow square 😂🤣😂
@user-yc4cp7ue2w
@user-yc4cp7ue2w 2 күн бұрын
Rust is easy, you just have to use it both at work and personal projects for 5+ years without polluting your mind with any other language.
@tempname8263
@tempname8263 2 күн бұрын
I failed and switched to BeefLang. Never been happier (unironically)
@dwight4k
@dwight4k 2 күн бұрын
Is that even possible?
@isodoubIet
@isodoubIet Күн бұрын
@@tempname8263 I just opened the language website and there on the first page was a drop down with a bunch of examples. I have no idea why more languages don't do this.
@isodoubIet
@isodoubIet Күн бұрын
@tempname8263 I just opened the language website and there on the first page was a drop down with a bunch of examples. I have no idea why more languages don't do this.
@isodoubIet
@isodoubIet Күн бұрын
"BeefLang" I just opened the language website and there on the first page was a drop down with a bunch of examples. I have no idea why more languages don't do this.
@diadetediotedio6918
@diadetediotedio6918 2 күн бұрын
I like how almost everyone that call rust userbase "cultists" have a cultist way of talking and thinking about things.
@maniacZesci
@maniacZesci 2 күн бұрын
Couldn't agree more. I always see that, they call Rust users cultists and than they engage in cultist behaviour about their favorite programming language, mostly Go and Zig.
@baconmanthelegend
@baconmanthelegend Күн бұрын
idk where this "rust cultists" stereotype comes from. If you go on the biggest rust discord server and say "rust is better than c++" you will get checked and people will argue with you and call you out. I think they're just making stuff up...
@corinnarust
@corinnarust Күн бұрын
eu encontrei vc dnv kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
@rusi6219
@rusi6219 Күн бұрын
@@baconmanthelegend because C++ is better than Rust and I don't even like C++
@rusi6219
@rusi6219 Сағат бұрын
41% of Rust devs abandon the language after 5-7 years (don't ask me how I know)
@philosophiabme
@philosophiabme 2 күн бұрын
22:15 is definitely more indicative of Redditors than it is the Rust community. Redditors HATE giving you real advice instead of just shitting on your already made decisions.
@philosophiabme
@philosophiabme 2 күн бұрын
(That said, I don't have any more anecdotes for how the Rust community is compared to the others. So I defer to the bad experiences you seem to have had)
@rusi6219
@rusi6219 15 сағат бұрын
Rust people will be nice to you as long as you have a rainbow flag in your bio and at least one thread where you defend sex change surgery for children
@GrizikYugno-ku2zs
@GrizikYugno-ku2zs 2 күн бұрын
I regret learning Rust as well. It's so painful to write, but you know what? My program is way too complicated for me to be chasing down bugs. Rust's error handling allows my program constant uptime with ultra-precise error handling that I use to do anything: generate code to execute, write out to local memory, return to a previous step in the program with modifications in the app state that will avert the error, etc. Seriously, my program has to constantly deal with input that causes errors because it wasn't prepared for said input. Every 20 lines is another error to handle. I tried doing it in Python, but I'm too skill issues to put a try except everywhere one needs to be. I miss Python, I hate writing Rust, but at least I know I'm safe. Rust's got my back. Also, Python is slower than a sloth suffering from crippling arthritis. If your language punishes using for loops, than it's your language with the skill issues. Ridiculous.
@rusi6219
@rusi6219 Күн бұрын
You're not "safe" with rust that's just placebo
@zactron1997
@zactron1997 2 күн бұрын
This guy is pretty infamous in the Rust subreddit. I obviously can't know what's in his heart-of-hearts, but every article he's posted has been pretty sloppy and transparently just advertising for his AI powered finance tools. I distinctly remember one where he claimed to have forked and "fixed" a finance crate, to the point where it warranted an announcement on the subreddit. But, all that he'd changed was a single statistical function to give a different result (that he preferred), and then deleted all the documentation and made himself the only author on the crate. In every interaction I've had with him, he's come across as quite unpleasant.
@StarksTech
@StarksTech Күн бұрын
I “fixed” the finance crate to have a radically different design and fixed a bug. I deleted the documentation because it was outdated with the radically different design. Old design: put in a number (like 5) New Design: put in a duration (like 5 days) Apologies if I came across as unpleasant
@stochastic84
@stochastic84 2 күн бұрын
I personally dislike that so much emphasis is placed on memory management when it comes to performance. Yes, languages like C/C++/Rust with a more manual memory management approach can be faster than GC. However there's a lot more to performance than just memory management and often times those other aspects are far more important. If you use Rust but use the wrong data structures and algorithms it's probably going to be dramatically worse than say a GC language with the right ones. That said I do really like Rust.
@rusi6219
@rusi6219 Күн бұрын
OK if you need a part of your program to be performant and other part you don't worry too much about it then write the performant part in C and the rest in some GC language then link them together what's so hard about this
@taragnor
@taragnor Күн бұрын
Yeah, really what GC-less languages give you is a much more predictable performance. The thing with GC is that you never know when the GC is going to kick in and create a slowdown in your code. In many cases though, the GC doesn't actually have that big of a performance hit, which is why it's not really a great idea to use a systems programming language like Rust for everything.
@isodoubIet
@isodoubIet Күн бұрын
@@rusi6219 The thing is the GC isn't buying you as much as you think it is. The fact that the GC pervades the entire language design can in fact make things substantially worse. Compare for example C++ where closing a file stream is as easy as letting it go out of scope, versus something like C# where you need to be mindful of what's a "disposable" and place all such objects in a using block or try... finally. RAII languages like Rust or C++ understand that memory allocation is just one of the many types of resources a program needs to manage, and provide a general solution suitable for all of them. It's a simple solution, which only asks you to consider what objects own what and then you're set. Once you've internalized this way of thinking, GC languages just seem awkward and limiting. GC pressure is something you straight up _don't have to think about_ in C++ or Rust.
@isodoubIet
@isodoubIet Күн бұрын
@rusi6219 The thing is the GC isn't buying you as much as you think it is. The fact that the GC pervades the entire language design can in fact make things substantially worse. Compare for example C++ where closing a file stream is as easy as letting it go out of scope, versus something like C# where you need to be mindful of what's a "disposable" and place all such objects in a using block or try... finally. RAII languages like Rust or C++ understand that memory allocation is just one of the many types of resources a program needs to manage, and provide a general solution suitable for all of them. It's a simple solution, which only asks you to consider what objects own what and then you're set. Once you've internalized this way of thinking, GC languages just seem awkward and limiting. GC pressure is something you straight up _don't have to think about_ in C++ or Rust.
@rusi6219
@rusi6219 14 сағат бұрын
​@@isodoubIetidk man I just write C and am content with my life 🤷🏻‍♂️
@ericshimizukarbstein6885
@ericshimizukarbstein6885 2 күн бұрын
My personal view on how nice the Rust community is: Reddit is the most toxic, but also an unofficial one. Discord has their share of toxic members (they increased their numbers after the remaining official teams moved to Zulip), overall very nice and friendly but you can end up ignored because of the amount of message traffic there. Zulip is the nicest and also the official one, I honestly never saw someone being toxic without consequences there. Besides the general community, on the Rust teams, there are around 2 or 3 members that are more prone to torvalds someone (yeah, I turned Linus into a verb), one of them sure did say quite unfair (to say the least) things to you. I did have very nice interactions with them before and I feel it is something like Linus Torvalds (heart in the right place, but can be very extra on particular occasions) and I hope they improve like Linus did in the past years.
@drno87
@drno87 Күн бұрын
That post reminds me of the old line that REAL PROGRAMMERS can write Fortran in any language. Learning a new programming language isn't just learning new syntax, just as learning a natural language isn't just learning new vocabulary. This sentence is German to English without grammar adjusting translated. With programming languages it naturally gets frustrating when the familiar patterns no longer work and you have to learn new ways of structuring your programs.
@deedlefake
@deedlefake 2 күн бұрын
The sheer irony of Prime claiming skill issues on the part of the article's author and then totally not understanding the reasoning for Go's channel semantics that he can barely even remember but can claim don't make sense...
@user-oj7uc8tw9r
@user-oj7uc8tw9r 2 күн бұрын
I see Rust as largely a C replacement. C would not be my first language to build a trading platform with. It would be my first language to build an OS with. Just imagining writing a UI in Rust gives me nightmares.
@dwight4k
@dwight4k 2 күн бұрын
Isn't Zig a replacement for C?
@NostraDavid2
@NostraDavid2 2 күн бұрын
​@@dwight4kye
@sillymesilly
@sillymesilly Күн бұрын
How is it C replacement if C still a language to make OS. If you make OS then it is good for anything.
@user-oj7uc8tw9r
@user-oj7uc8tw9r Күн бұрын
@@sillymesilly By replacement, I mean C was pretty much the only language used for systems programming until Rust came to be popular. I dont literally mean C will just go away and Rust will be the new defacto thing
@dwight4k
@dwight4k Күн бұрын
@@sillymesilly Good point.
@elixirfun
@elixirfun Күн бұрын
Elixir's pattern matching and guards (and crashing itself) are a perfect example of such assertions built into the language philosophy.
@chris.davidoff
@chris.davidoff 2 күн бұрын
I've spent 24 months using Rust professionally and I have 0 regrets and have moved my career into 100% rust because everything else feels awful to use now
@Requiem100500
@Requiem100500 2 күн бұрын
"give me garbage collection" just use go dog
@TheNoirKamui
@TheNoirKamui 2 күн бұрын
Rust channels are actually amazing. Including several types of channels like oneshot etc. The tokio docs are great on it as well.
@okseaj
@okseaj 2 күн бұрын
I just started learning Rust and I'm working on a very similar project as the article author - I've landed on channels for a lot of what I want to do within the system and so far, it's working well and is pretty straightforward and intuitive to write. Not having any issues that the OP had.
@TheNoirKamui
@TheNoirKamui 2 күн бұрын
I was reading in detail through the official tokio tutorials recently and all I can say, is that if you use Pin and you are not absolutely sure why you have to reach for it, you will not finish your project well. Generally it should be possible to never touch Pin. And as far as I understand, the main reason to use it, is to save an async boundary manually, so it doesn't drop for example in a switch when something else finishes sooner, making it possible to re-pull later. It is a too-manual way to manage awaits. Like mutex, it exists only in case you really need it and you know what your are doing. Channels on individual spawns are the way to go.
@jonnyso1
@jonnyso1 2 күн бұрын
@@TheNoirKamui I was going to say that but I think in that case he needed to anotate the type to satisfy the trait bounds in the function signature. Technically he didn't "use" pin, he just needed to say that his function would receive a closure that returns a Future. Really its not even that big of a deal, it looks wierd the first time you see it, but then you understand why and move on, OP was beeing very dramatica about it, maybe if the had taken the time to learn instead of asking chat GPT he might have handled it better.
@TheNoirKamui
@TheNoirKamui 2 күн бұрын
​ @jonnyso1 You are absolutely right. Considering there was no async in rust just a few years ago, it is amazing that it works. But there are still small gaps with async. For example tokio::join! will let you run 2 async functions that cary a lock over .await giving you a deadlock. Doing the same in spawn gives correctly an error. I remember bringing that up in some tokio chatroom and being told that they wouldn't fix that because it is all as expected and restricting otherwise... I also heard some people criticize the push vs pull model of the polling mechanism... though I don't understand that enough to comment. And lastly, the problem of async runtime lockin, that you can't just transfer your code to another runtime... That you can't just use a crate written for another runtime than yours. Rust async... is in some way amazing and in other kinda... Feels like much more inteligent people than me should think about how to improve it. But there is definitely space for improvement.
@EDEN-ex7wh
@EDEN-ex7wh 6 сағат бұрын
34:54 It's the enthu, Prime. The childlike enthusiasm of discovering something new or finally realizing the potential in something that you are already aware of, it's what makes you an avid learner and a great developer. I wish people didn't lose that enthusiasm over time but they just do, it's what results in loss of interest and I fear eventually Burnout!
@pif5023
@pif5023 13 сағат бұрын
The more I learn Rust the more I find aspects that I dislike. I like minimal tools whose power resides in advanced combinations of its basics, Rust fails at this so hard. I like explicit operations and Rust hides a lot behind the compiler, things that you need to memorize. I think that knowing it can mislead you easily into doing it the wrong way is another thing I dislike. Now I have it on pause (I need to learn C# for work) but I am not sure I am returning to it. Zig for me checks a lot of the boxes of what I like, at least from outside.
@sortof3337
@sortof3337 2 күн бұрын
SKILL ISSUE. i rewrote lot of our telco stack in rust. I also have huge regrets, not using it earlier.
@someman7
@someman7 2 күн бұрын
Stop speaking in memes. It makes you look like your profile pic.
@CatFace8885
@CatFace8885 2 күн бұрын
​@@someman7 you're boring
@someman7
@someman7 2 күн бұрын
​@@CatFace8885 Chasing dopamine isn't good for you.
@rusi6219
@rusi6219 Күн бұрын
​@@CatFace8885you're childish
@CatFace8885
@CatFace8885 Күн бұрын
@@rusi6219 you're the one who clicked on a video from a guy who regularly makes deez nuts jokes, soooooooo
@wolfgangrohringer820
@wolfgangrohringer820 2 күн бұрын
I agree that C++ is about as hard to master as Rust. The difference is that until you're there, in contrast to Rust, C++ does have a pit of success where you obliviously write code that appears to work but is actually full of undefined behaviour, particularly if concurrency or threading is involved. Note that I really like using C++. But even the newer language features have their gotchas and footguns and can fail in surprising ways if you try to be an ounce more clever than you really are.
@LWmusik
@LWmusik 2 күн бұрын
C++ is pretty chill tbh
@tinrab
@tinrab Күн бұрын
How about the build system, docs system, package manager, modern features like streams, iterators, great macros? I think you're missing a lot.
@rusi6219
@rusi6219 Күн бұрын
​@@tinrabyou just want a language to do the work for you how about stop being lazy and do the work you're supposed to do
@stevenhe3462
@stevenhe3462 Күн бұрын
They both get this wrong: garbage collectors do not solve the complexity of generic programming, boxing and type erasure does.
@morglod
@morglod Күн бұрын
"they rather say it's a skill issue" "It's probably the skill issue" Ahah ookey
@some1and297
@some1and297 2 күн бұрын
I think that if this author used Enums instead of traits and then have some macro for evaluating all variants, a lot of the problems wouldn't be as bad. That being said I don't know their exact use case and haven't done that much async.
@rusi6219
@rusi6219 14 сағат бұрын
Why does Rust call structs enums? Are Rust people so skill issue ridden that they don't know what a struct is?
@szirsp
@szirsp 2 күн бұрын
26:10 I understand that shadowing seems useful when writing code... but I don't get how is it not just evil, when you end up having to maintain someone else's code. A variable changing type/meaning in the middle of a code block seems like an awful idea for code readability, maintainability. It's misleading, harder to understand and probably more error prone.
@2xsaiko
@2xsaiko 2 күн бұрын
Blame the one who wrote the unreadable code, not the tool that was abused
@callumbirks
@callumbirks 6 сағат бұрын
The `thiserror` crate in Rust is really nice for handling errors IMO. You can easily define errors that hold data, so any error where the message alone isn't enough to know what happened, can also have additional context.
@ArtoPekkanen
@ArtoPekkanen 2 күн бұрын
Some positive and inspiring Zig hype is what I need right now :p
@user-lr3sm3xj8f
@user-lr3sm3xj8f 2 күн бұрын
Can you do a video on what you currently think about GO? Are you still using it? Did you ditch it after not liking it? Curious..
@Kane0123
@Kane0123 2 күн бұрын
He did this already. Search the you tubes
@orterves
@orterves 2 күн бұрын
"Doctor! Doctor! It hurts when I do this!"
@technolung
@technolung Күн бұрын
Regarding language performance, unless all your development is CPU bound just choose the language that's most productive for you.
@WillDelish
@WillDelish 5 сағат бұрын
I enjoy learning rust to improve my way understanding of core CS concepts that I skipped / missed by being self taught
@simonfarre4907
@simonfarre4907 2 күн бұрын
I don't understand why everyone just HAVE to write async code either. It doesn't make sense to use coroutines for like 95% of all problems if not 99% (not exaggerating). Why not just do it normal and multi threaded? It is NOT that hard. It is only coroutines that make it hard! STOP USING COROUTINES. You are NOT getting a performance benefit out of it.
@okseaj
@okseaj 2 күн бұрын
OP was probably not aware given his background
@christopher8641
@christopher8641 2 күн бұрын
@@okseaj The mongodb crate he was using has a massive signpost on the docs about how the offer a convenient non-async api if you flip on a feature flag. If you cant read the docs for the crate that has been ruining you for the past 18 months, idk what to tell ya.
@simonfarre4907
@simonfarre4907 2 күн бұрын
@@leeroyjenkins0 I think this is a problem for people who has worked exclusively (or for all intents and purposes) in a single threaded environment with promises/futures/coroutines. Managing your own thread pool where you post tasks and work to and from is absolutely trivial in C++ and it is even easier in Rust. If you need async IO, use C++ and the OS utilities (epoll, poll, select, io_uring) and real parallelism with multi threading. Not only will your code be much, much easier to read and reason about, you don't sacrifice any performance either. Because coroutines comes with overhead. I think you are right, too, that the appeal is that it "looks synchronous" (guess what, a thread pool where you post tasks and await on the promise also looks synchronous, because you need to collect/wait at some point). I don't see how introducing tokio and async for downloading a bunch of files (as an example) is *easier* than having a simple thread pool where you post a lambda that downloads a file and signals back when it's done. Because the thread pool will not leak into every corner of your application, it will have a crystal clear API-surface. This is not to say that coroutines or async/await shouldn't be used. It works *superb* in JavaScript/typescript land. And it has its use cases. But I argue that is 1 out of a 100 times, if even that.
@simonfarre4907
@simonfarre4907 2 күн бұрын
@@leeroyjenkins0 right, but that's my thing; you can get `const result = read().wait();` using hand rolled thread pools where you post a task and get a future back that you wait on. What's also better about this approach is that the API-surface is crystal clear. This large, obstructive and intrusive system doesn't loom over your entire code base making it hard to reason about, while also making performance (probably) less good, seeing as how coroutines always comes with an overhead. Handrolling your own thread pool and using message passing is trivial in C++ even, it's even easier in Rust (using channels for instance). We have all the building blocks, mutexes, atomics. We have ways of signalling readyness on sinks/channels, using for instance operating system utilities like epoll, poll, select etc. Using these are also easy. And they don't come with the mental context that using something incredibly intrusive like Tokio comes with. But yeah, I think you're right the appeal comes with that it "looks synchronous" but as I said, using read().wait() on a thread pool future is *exactly* that same thing (std::future in c++, I don't know the name off the top of my head Rust, but technically a mpsc channel works just fine here). Add to that that debuggability is many times easier with multi threading than it is with coroutines. Many, many times easier.
@notarealperson9709
@notarealperson9709 2 күн бұрын
unless you program rust every day, your forget speed is 10x that of learning speed
@keffbarn
@keffbarn 10 сағат бұрын
At some point it's not skill issues anymore, it's just bad design.
@PouriyaJamshidi
@PouriyaJamshidi 2 күн бұрын
We wrote a bunch of our network applications in Nim in a company that has applications in Python, Golang and Rust. Nim beats all of them in terms of developer productivity and run time speed.
@arimill1045
@arimill1045 2 күн бұрын
The biggest annoyance with rust is everything I need to use rust for needs a dependency thats just a rust wrapper of some C primitave library. Start rebuilding the libs and I'll come back to it
@Reydriel
@Reydriel 2 күн бұрын
Yeah but that's literally an issue every single language not named C/C++ has to deal with lol
@arimill1045
@arimill1045 2 күн бұрын
@@Reydriel Guess its good I know C, everything else is half baked.
@houstonbova3136
@houstonbova3136 2 күн бұрын
“Just give me the garbage collector” perfectly sums up how uninformed this man was before choosing Rust. People choose Rust for performance and security because their difficult compiler forces you to write secure code while still granting the flexibility to be fast. This article 100% reads as I didn’t understand the idioms of the language I chose to work in and it’s Rust’s fault not mine.
@secondson4536
@secondson4536 2 күн бұрын
How many times have I heard "We chose Rust for it's safety/types, not for its performance!" on twitter and in different articles... Furthermore, Rust evangelists generally advise to use Rust for everything. At least that has been my experience. I am soo close to muting the word Rust on twitter because of how much I hear about it, wanna guess how many of them preface with "Only use this when you need absolute performance"? Correct. Zero.
@o__sama
@o__sama 2 күн бұрын
@@secondson4536 I'm using rust in 100k lines codebase, and not for performance, but for correctness and I'm very happy with it. best decision I've made. He defintely had skill issues. I did have struggles in previous "side projects" trying to learn rust over around 2 years (was working in TS in my main job), only when I was confident with my skills did I start with a real project. He jumped straight in and got destroyed, and now blames the languages, yes, Rust learning curve is steep, nobody is denying that. if you want easier language go with Go. but don't blame your incompetence on the language.
@secondson4536
@secondson4536 2 күн бұрын
Also so many people saying how Rust is great because of all of those features, which normally have nothing to do with its speed. Yet when it is critisized people like you show up defending bad parts of the language (that are omitted from those praising articles) with either skill issue argument or the "Well its speed is why it is like this". Here you don't get one of the main points of this article: nothing really told this person about those bad parts, as though they don't exist. This person, probably just like me, heard from every corner of programming fan infested internet about how Rust is great with approximately 0% of them mentioning parts where you might encounter some issues.
@houstonbova3136
@houstonbova3136 2 күн бұрын
@@secondson4536 I mean if they read the book they would have realized that it wasn’t going to be as “easy” as they had hoped for. I don’t know a single person who doesn’t recommend the official book as a first learning resource. And I’ve know plenty of people who have struggled because they refused to read it. In no way am I saying that it’s a perfect language. I’m just saying that the complaints this particular guy is making are in complete antithesis to the objective of the language itself. So stop putting words in my mouth saying that I’m claiming things. I understand his points. I also understand that he completely missed the point of Rust and is now painting it as a problem that anyone who bothered to learn what Rust is about before refactoring their entire project in it would have understood.
@tinrab
@tinrab 2 күн бұрын
@@secondson4536 The problem is that it is a skill issue. For beginners, I'd recommend building up your "repo of patterns" that you can introduce while coding. For example, knowing when to borrow or clone, what container type to use, how to work with features/streams/iterators in specific cases, ... The way I've learned it is by playing around with simple examples in a playground project.
@levizin917
@levizin917 2 күн бұрын
thats why in my company we just Arc everything, Arc
@calvinfernandes1054
@calvinfernandes1054 2 күн бұрын
Haskell doesn’t have this problem, it has a much nicer async experience relative to Rust but there is a learning curve to doing functional concurrency - this I don’t disagree with
@obamagaming3802
@obamagaming3802 2 күн бұрын
People often forget that async in rust is still a work in progress and it certainly will be better in a few years
@LtdJorge
@LtdJorge 2 күн бұрын
@@obamagaming3802 Is it really a work in progress? It has shipped in stable Rust long ago. Maybe, though, if you consider the different executors as “async Rust”.
@7th_CAV_Trooper
@7th_CAV_Trooper 2 күн бұрын
Erlang even better. An Erlang dev told me this.
@oldyoutubeaccount
@oldyoutubeaccount 2 күн бұрын
​@@obamagaming3802 It won't be. The fundamental guarantees of Rust as a language conflict with the async paradigm and result in the mess that is Rust's async. It would take a 2.0 with breaking changes that degrade the language in other domains to improve async. The async paradigm itself is terrible independent of language, but that's another topic beyond the scope of a yt comment. Rust is one of the best and most eloquent languages for parallelism provided you don't use async. It solves many, many problems that the other languages have and is a genuine force multiplier.
@viniciusmachadorodrigues1724
@viniciusmachadorodrigues1724 2 күн бұрын
​@@7th_CAV_Trooper Green threads is not viable to a system language
@michaelhart8928
@michaelhart8928 2 күн бұрын
I built a bunch of trading algos at one of the largest banks, doing trillions of dollars in volume annually. I can tell you that speed depends a lot on the market dynamics. For equities, you tend to require a lot of speed because the market data isn't throttled. For most markets, you can get away with even python in the trading logic layer. Having said that, Rust is being looked at for the market data and execution layers in the tech stack. Pretty much anything trading infrastructure is a good fit because you do get the speed, safety, and great handling. Typically that has been dominated by C++ since forever. To me, it sounds like the writer chose to do the entire system in Rust, which probably isn't the best. Writing to databases doesn't need to be bare metal speed. These days, I like the idea of using an easy language that I can trust to maintain great uptime metrics for basic server infrastructure like database writing, which Go would be a great choice.
@samuraijosh1595
@samuraijosh1595 2 күн бұрын
trillions of dollars? sure buddy....
@michaelhart8928
@michaelhart8928 2 күн бұрын
@@samuraijosh1595 in FX the two primary spot exchanges, EBS and Reuters, do anywhere from 50-80 billion on a normal day. Over the course of a year, you're in the trillions. Different story if you're talking equities which trades in the hundreds of millions.
@michaelhart8928
@michaelhart8928 2 күн бұрын
@@samuraijosh1595 the two primary exchanges in FX, EBS and Reuters, do roughly 50-80 billion in spot volume daily. Over the course of the year, that is in the trillions. FX also trades primarily OTC, i.e. you're trading directly with a bank, not over the exchange.
@michaelhart8928
@michaelhart8928 2 күн бұрын
"Average daily volume in total over-the-counter (OTC) foreign exchange instruments (including spot, outright forward, foreign exchange swap, and option transactions) was $1,021.0 billion in October 2023." - New York FED
@thingsiplay
@thingsiplay 2 күн бұрын
Fun Fact: Every human has skill issues. Therefore pointing to skill issues, because programming language is not optimally designed makes no sense. Sometimes, the skill issue is not the actual problem.
@itermercator114
@itermercator114 2 күн бұрын
This perfectly describes my issues with C++, raw memory access with (until recently) no automated managed memory because "it's something the devs should do" is utterly insane, and not a gotcha for a design flaw. To add to your point, the idea of "skill issue" implies that especially on a team, everyone is 10x devs with no human error and knows exactly what they are doing 100% of the time. Obviously that's not the case which is why most devs try to automate much of the work to avoid these issues (checkers, linters, static analysers, CI, etc)
@isodoubIet
@isodoubIet 2 күн бұрын
@@itermercator114 "raw memory access with (until recently) no automated managed memory " How old are you? Automated memory management has been in C++ since Cfront.
@isodoubIet
@isodoubIet 2 күн бұрын
@@itermercator114 " C++, raw memory access with (until recently) no automated managed memory" Destructors have been in the language since Cfront. Vector has been in the standard since C++98.
@isodoubIet
@isodoubIet 2 күн бұрын
"raw memory access with (until recently) no automated managed memory " How old are you? Automated memory management has been in C++ since Cfront. Vector has been in the standard since 98.
@Hastur_TKY
@Hastur_TKY Күн бұрын
34:56 I "recently" discovered that you can use catching an exception for correcting the user input (aka during something useful, instead of just throwing an error and or moving on). Ofc u can't use it everywhere but at that time i thought it was pretty neat (was like 6y ago)
@stanrock8015
@stanrock8015 2 күн бұрын
anytime someone says "try to do something clever" we should all have a red flag.
@_Aarius_
@_Aarius_ 2 күн бұрын
Seems like a lot of words to say "I have skill issues"
@user-kv4cc8mu7k
@user-kv4cc8mu7k Күн бұрын
yeah calling a language garbage with bad designs when after admitting you can't even properly structure error message is so weird . Rust is so great because it humbled many of these dudes with god complex thinking they actually know everything , a truly smart & humble person will sit down and learn these stuff instead of lashing out and insulting everyone and everything edit: typos
@beans2939
@beans2939 2 күн бұрын
I think this guy has bigger problems than learning Rust... just based on the title - Someone who's tried to build multiple algorithmic trading bots
@bonsairobo
@bonsairobo 2 күн бұрын
You don't use reference counting and synchronization primitives to "get around Rust". You use them because you are implementing systems that require these tools for correctness. They would still be necessary in any other language with concurrency, but Rust forces you to use them for correctness.
@martingreler6236
@martingreler6236 2 күн бұрын
nil channels can be quite useful when you combine a for loop with a select of multiple channels. Once one channel closes you can assign it to nil and avoid busy waiting. This was discussed in 100 Go mistakes.
@trapexit
@trapexit 2 күн бұрын
That "orelse return null" gives me Perl vibes.
@dloorkour1256
@dloorkour1256 Күн бұрын
I went back to writing some Perl for some personal scripting tasks. I haven't found anything comparable as a utility scripting language.
@scheimong
@scheimong 2 күн бұрын
Skill issue I agree. That being said, when the language is as arcane and difficult as Rust, it certainly has to take some of the blame. I say this being a strong advocate of rust, having written it for 4 1/2 years and counting.
@rusi6219
@rusi6219 Күн бұрын
It's a skill issue not on the users' part but on the part of whoever engineered that language, if that's the case that it's incredibly difficult to pick up. It's just bad engineering. You don't create an overly-complicated to use car then blame the customer when something doesn't work.
@johnyepthomi892
@johnyepthomi892 2 күн бұрын
“I’m cool” Async: “no, you’re not”
@Lemmy4555
@Lemmy4555 Күн бұрын
Can't agree more with "wrong duplication is better than wrong abstraction", i hate when for the sake of not writing the same 2-3 lines of code in different places we make the codebase unmaintainable by abstracting increasing the actual code complexity 10x and making almost impossible to change a little bit without breaking everything.
@AlexanderHyll
@AlexanderHyll 2 күн бұрын
Algorithmic trading != HFT (high frequency trading). HFT uses algo trading, but you can trade slow with algorithms as well (and is done with virtually all institutional trade orders).
@anj000
@anj000 2 күн бұрын
37:35 forget about FPGAs and code... They are literally putting data centers in building NEXT TO THE EXCHANGE to minimize the delay. This is insane.
@piff57paff
@piff57paff 2 күн бұрын
At some stock exchanges, everyone gets a fiber connection WITH THE SAME LENGTH AS EVERYONE ELSE. Just so everyone has the same latency to the server(s). It's just madness.
@Takyodor2
@Takyodor2 2 күн бұрын
@@piff57paff I often feel like those resources could have been put to better use by doing, like, _anything else with them_
@isodoubIet
@isodoubIet 2 күн бұрын
It's very hard to say anything in general about what the performance requirements for algo trading are like because every company is doing something slightly different. There are some companies doing the FPGA thing and worrying about speed of light delays, but there are also companies just running python. Jane Street famously runs OCaml (not super slow, but far from the fastest). There're probably extremely few people who can speak authoritatively about algo trading in general.
@MaxHaydenChiz
@MaxHaydenChiz 2 күн бұрын
@@Takyodor2 Depends, do you want to have predictable prices at the gas station and grocery store? Do you want people to be able to afford to grow food? People think that some guy at work trading stocks on "hot tips" is somehow representative of the entire industry. People working there full time only make money by providing value to their customers.
@Takyodor2
@Takyodor2 2 күн бұрын
@MaxHaydenChiz Buying groceries and growing crops worked fine for thousands of years before low-latency trading was invented. I wouldn't mind if stock trading disappeared as a whole, and companies could focus on providing good products instead of making the graph go up, but specifically low-latency trading is on a different level of unnecessary.
@btarg1
@btarg1 Күн бұрын
12:50 made me scream "just use Java!" The author did not choose the right language for them 😂
@AqoCyrale
@AqoCyrale 2 күн бұрын
the weirdness with golang channels has mostly to do with the underlying implementation, doing it with err the way you'd prefer would hurt performance. you can always make your own wrapper to have the err if you prefer that, but you'd probably prefer not once you get around to it
@LoFiAxolotl
@LoFiAxolotl 2 күн бұрын
Rust has the same weakness as any language without garbage collection... they're blazing fast in the right hands... but there's only like 3 people in the world with the right hands... the rest broke their hands punching the monitor when they got angry at those languages
@bandito_801
@bandito_801 2 күн бұрын
skill issue
@isodoubIet
@isodoubIet 2 күн бұрын
I can confidently say that never while developing any of our core applications in C++ I felt the need to say "gee, this would be much easier with random pauses and if I didn't understand when resources would be deallocated". Not once.
@Kane0123
@Kane0123 2 күн бұрын
Rust makes any project closed source.
@Leonhart_93
@Leonhart_93 Күн бұрын
@@bandito_801 Your whole life is a skill issue.
@livinghypocrite5289
@livinghypocrite5289 2 күн бұрын
I'm coming from a different language background and if I hear skill issue, than that seems wrong to me, after your explanations what you mean. Skill issue to me sound like he doesn't have the proper skills to learn the language. But what I get from your explanations is: It is a knowledge issue, he hasn't learned how to use the language yet, but he can still have the skills to learn it and get a great programmer in Rust.
@alexsmart2612
@alexsmart2612 2 күн бұрын
Depending on what kind of algorithmic trading we are talking about, we measure latencies in nanoseconds, not milliseconds. These days most HFTs are able to achieve sub 100 nanosecond tick to trade latency by using predefined order triggers on FPGA.
@callumbirks
@callumbirks 6 сағат бұрын
Rust's learning curve is a 4 dimensional shape on a 2d graph but I still love it
The End Of Jr Engineers
30:58
ThePrimeTime
Рет қаралды 158 М.
The Plight Of Cobol Mainframe Programmers
29:15
ThePrimeTime
Рет қаралды 191 М.
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 30 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 132 МЛН
ExFAANG Engineer Watches ExFAANG Take JavaScript Quiz | Prime Reacts
28:07
How to Detect and Respond to Polyfill Attack (Polykill)
13:37
Latio Tech - Learn Product Security
Рет қаралды 675
Is pool actually just mathematics?
26:40
Stand-up Maths
Рет қаралды 495 М.
The Rabbit Is A Scam
56:17
ThePrimeTime
Рет қаралды 203 М.
The President's Incredible Travel System
25:17
Megaprojects
Рет қаралды 363 М.
new SSH exploit is absolutely wild
11:59
Low Level Learning
Рет қаралды 243 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 199 М.
The Real 10x Engineer
8:06
ThePrimeTime
Рет қаралды 191 М.
UK Election charts are a nightmare
28:16
Stand-up Maths
Рет қаралды 279 М.
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 4,8 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 2,6 МЛН