Facebook Recommends Rust?

ThePrimeagen · Intermediate ·💻 AI-Assisted Coding ·3y ago

Key Takeaways

ThePrimeagen discusses Facebook's recommendation of Rust, with a focus on live coding on Twitch and editing by Flip.

Full Transcript

some actually pretty big news was dropped today from meta of course giving us the sweet acronym of manga in which i get to be a part of the end of manga but nonetheless they said something that actually quite surprised me and i'd like to kind of think about these implications so one of the first things that they talk about is actually recommending rust for performance sensitive back ends now i think this just makes sense inherently if you're already writing things in c plus rust is just going to be a safer way better alternative to c plus and i just fully agree with that this is just simply a good move so them recommending this is not really big news and i think there was some focus on this which i think is the wrong place to focus i think the real big place to focus is this right here now it says for cli tools we recommend rust now to me that is incredibly big news what this means to me is that they have observed building cli tools in probably tons of languages i assume there's a bunch in node there's a bunch in python c plus plus hack if they can i have no idea and of course some emerging tools in rust and what they're probably observing is that tools written in rust those slower probably to begin with to get started tend to be better maintained probably have less problems and eventually have better velocity and kind of that mid level that is my guess and that is why they're recommending this because they would never over recommend a cli tool from python to rust right python is fast so there must be really good reasons and i just doubt that it comes down to performance and solely performance and so what does this mean for us well what i think it means is that carbon was right that you should use rust and not carbon okay don't do that that's stupid no but really what does it mean it means that something is shifting within our ecosystem much faster than i thought it was going to happen i thought 2023 we should start seeing the larger companies really leaning into rust i did not expect it this early into 2022 which means that i myself have already been going down this path of learning rust but it's time for me to lean in even more and i think it'd be a good recommendation for you to lean in even more a good place to start of course is exactly what they said build some cli tools using rust see how it feels see if it's the right place for you to kind of excel at and yeah of course learning rust is just awful it is a very hard language to begin with but once you get going it becomes easier and easier but i don't think you should just stop at cli tools i do think it's very valuable to build about four or five servers that you could make last for some amount of time say three weeks without crashing at all that way you really get the idea of proper error handling check out this air versus anyhow play with saturday play with clap really just understand some of the primary libraries used in the ecosystem along with tokyo async rust all of that i think by the time you get through building a few cli applications plus a few servers you're going to feel pretty adept with the language and you're going to really understand its capabilities because when i first started using rust i mostly found it annoying i thought it was way too pedantic i didn't want anything to do with it and honestly i was just a pain in the ass and i'd largely agree with that initial assessment it is kind of a pain in the ass but benefits that i've seen down the road are fairly big and the type system is just out of this world i want to use it all the time when programming something like typescript which is so close to it but at the same time so far from it it's a lot like learning javascript if you were to start a career today i would just recommend knowing javascript to the point where it's your it's a pretty good language for you you can build things fairly and naturally fast because it's just used everywhere but i think that the next wave coming in is not going to be more typescript i do think it's going to be something different and i think that something different is going to be rust and i think we're going to get into this weird bimodal nature coming up where you have javascript on one side and you have rust on the other side and people will be able to largely choose where they want to be now i always have a soft spot for go i think it's a beautiful language but i think for the next year my primary focus personally is going to be on rust and this article is going to be one of the primary drivers for why i'm going to get even more intense about learning it and becoming a master of it and i do think you should too now i know that's a bit of a hot take and you know that's just what i do i take a little bit of a hot take here and there okay it's just i can't help it but one other thing that i think is pretty awesome look at this we are about to cross 100 000 subs so if you haven't subbed before hey do it and i really want to do something awesome for that hundred thousand mark so if you have ideas say it down below in the comments personally i have a really good idea that involves a button an arduino a server rust zig and go and try to make the world's most complicated button that does something extremely special gonna do that all on twitch but if you have some other ideas let me know get on in you gotta talk to me so i know what you want any of you thanks for watching i love you but seriously press the like button

Original Description

This means its time to lean in! Facebook actually just rec'd it so hard ### Twitch Everything is built live on twitch Twitch : https://bit.ly/3xhFO3E Discord: discord.gg/ThePrimeagen ### Editor All my videos are edited by Flip. Give him a follow! https://twitter.com/flipmediaprod He is also open to do more editing, so slide deeeeeeeeep into his dms. ### Links Linode: https://linode.com/prime https://discord.gg/ThePrimeagen Twitch: https://twitch.tv/ThePrimeagen Insta: https://instagram.com/ThePrimeagen Twitter: https://twitter.com/ThePrimeagen VimRC & i3: https://github.com/ThePrimeagen/.dotfiles Keyboard (15% off, I don't earn commission): https://bit.ly/primeagen-adv2 #vim #programming #softwareengineering
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from ThePrimeagen · ThePrimeagen · 28 of 60

1 Two Simple Steps to go from IDE to Vim
Two Simple Steps to go from IDE to Vim
ThePrimeagen
2 Git's Best And Most Unknown Feature
Git's Best And Most Unknown Feature
ThePrimeagen
3 My Developer Workflow - How I use i3, tmux, and vim
My Developer Workflow - How I use i3, tmux, and vim
ThePrimeagen
4 Github Copilot MAKES A CLI GAME IN GOLANG FROM SCRATCH?!?!
Github Copilot MAKES A CLI GAME IN GOLANG FROM SCRATCH?!?!
ThePrimeagen
5 I made the greatest tool ever! | tmux & cht.sh & fzf
I made the greatest tool ever! | tmux & cht.sh & fzf
ThePrimeagen
6 Is TypeScript (NodeJS) Faster than Go?? |  A server comparison
Is TypeScript (NodeJS) Faster than Go?? | A server comparison
ThePrimeagen
7 How to make TypeScript Blazingly Fast (JavaScript/NodeJS)
How to make TypeScript Blazingly Fast (JavaScript/NodeJS)
ThePrimeagen
8 Learn Vim in Less than 2 Minutes
Learn Vim in Less than 2 Minutes
ThePrimeagen
9 The biggest lie about programming?  REACTING to tech twitter
The biggest lie about programming? REACTING to tech twitter
ThePrimeagen
10 Rust or Go for my next project? WHAT TO CHOOSE? (as a senior intern engineer)
Rust or Go for my next project? WHAT TO CHOOSE? (as a senior intern engineer)
ThePrimeagen
11 Go is faster than Rust??!  Go vs Rust vs TypeScript Servers (as a scientist)
Go is faster than Rust??! Go vs Rust vs TypeScript Servers (as a scientist)
ThePrimeagen
12 You only Git Merge?!? feat Theo : DevHour #1
You only Git Merge?!? feat Theo : DevHour #1
ThePrimeagen
13 YOU DONT UNIT TEST??? DevHour #1 Theo
YOU DONT UNIT TEST??? DevHour #1 Theo
ThePrimeagen
14 Tech TikTok - Is this really programming? | React
Tech TikTok - Is this really programming? | React
ThePrimeagen
15 I am dying
I am dying
ThePrimeagen
16 Comparing Rust (Yew) vs TypeScript (React) NodeJS | SSR times
Comparing Rust (Yew) vs TypeScript (React) NodeJS | SSR times
ThePrimeagen
17 Why I use Vim in 2022
Why I use Vim in 2022
ThePrimeagen
18 How programming feels
How programming feels
ThePrimeagen
19 Why I Quit Netflix
Why I Quit Netflix
ThePrimeagen
20 Programming on TikTok
Programming on TikTok
ThePrimeagen
21 If I could give advice to myself when starting as a software engineer
If I could give advice to myself when starting as a software engineer
ThePrimeagen
22 How am I suppose to get a job as a software engineer?
How am I suppose to get a job as a software engineer?
ThePrimeagen
23 Why do I feel burnt out? (software engineering)
Why do I feel burnt out? (software engineering)
ThePrimeagen
24 I am done with vim
I am done with vim
ThePrimeagen
25 Maintaining Motivation as a Software Engineer
Maintaining Motivation as a Software Engineer
ThePrimeagen
26 Bun (TypeScript) is faster than Rust!?!
Bun (TypeScript) is faster than Rust!?!
ThePrimeagen
27 Go is blazingly faster than Zig?
Go is blazingly faster than Zig?
ThePrimeagen
Facebook Recommends Rust?
Facebook Recommends Rust?
ThePrimeagen
29 5 Things I Hate About JavaScript
5 Things I Hate About JavaScript
ThePrimeagen
30 Why I Make Content
Why I Make Content
ThePrimeagen
31 Is ADHD Bad For Programming?
Is ADHD Bad For Programming?
ThePrimeagen
32 Vim As You Editor - Advanced Motions P1
Vim As You Editor - Advanced Motions P1
ThePrimeagen
33 How I Would Get My First Job If I Started Over
How I Would Get My First Job If I Started Over
ThePrimeagen
34 Vim as your editor - Advanced Motions P2
Vim as your editor - Advanced Motions P2
ThePrimeagen
35 My Best Decision Professionally
My Best Decision Professionally
ThePrimeagen
36 Should you use RUST as your FIRST programming language?
Should you use RUST as your FIRST programming language?
ThePrimeagen
37 How I Made JavaScript BLAZINGLY FAST
How I Made JavaScript BLAZINGLY FAST
ThePrimeagen
38 Is JSON Blazingly Fast or...?
Is JSON Blazingly Fast or...?
ThePrimeagen
39 Vim As Your Editor - Introduction
Vim As Your Editor - Introduction
ThePrimeagen
40 Vim As Your Editor - Horizontal
Vim As Your Editor - Horizontal
ThePrimeagen
41 Astro IS SO GOOD
Astro IS SO GOOD
ThePrimeagen
42 STOP LYING, The truth about Software Engineering
STOP LYING, The truth about Software Engineering
ThePrimeagen
43 Does Your Editor Matter?
Does Your Editor Matter?
ThePrimeagen
44 React Is This Fast???
React Is This Fast???
ThePrimeagen
45 Vim As Your Editor - Vertical Movements
Vim As Your Editor - Vertical Movements
ThePrimeagen
46 Rust for TypeScript devs : Borrow Checker
Rust for TypeScript devs : Borrow Checker
ThePrimeagen
47 Will ChatGPT Terminate Your Job?
Will ChatGPT Terminate Your Job?
ThePrimeagen
48 0 to LSP : Neovim RC From Scratch
0 to LSP : Neovim RC From Scratch
ThePrimeagen
49 From Meth To Netflix
From Meth To Netflix
ThePrimeagen
50 Faster than your favorite JS framework?
Faster than your favorite JS framework?
ThePrimeagen
51 Primeagen Answers the Webs Most Asked Questions for a Software Engineer
Primeagen Answers the Webs Most Asked Questions for a Software Engineer
ThePrimeagen
52 This Algorithm is 1,606,240% FASTER
This Algorithm is 1,606,240% FASTER
ThePrimeagen
53 Looking Under the Hood of JavaScript
Looking Under the Hood of JavaScript
ThePrimeagen
54 What Next...Finding a New Job In Software
What Next...Finding a New Job In Software
ThePrimeagen
55 JSON, I hardly know 'er
JSON, I hardly know 'er
ThePrimeagen
56 RUST Enums ARE Better
RUST Enums ARE Better
ThePrimeagen
57 CoPilot Review: My Thoughts After 6 Months
CoPilot Review: My Thoughts After 6 Months
ThePrimeagen
58 How to Vim in 2023: Tips and Tricks
How to Vim in 2023: Tips and Tricks
ThePrimeagen
59 Twitter's Algorithm Has MASSIVE Problems
Twitter's Algorithm Has MASSIVE Problems
ThePrimeagen
60 Rust Foundation IS DOING WHAT????
Rust Foundation IS DOING WHAT????
ThePrimeagen

ThePrimeagen explores Facebook's recommendation of Rust and demonstrates live coding on Twitch, highlighting the importance of efficient coding workflows.

Key Takeaways
  1. Set up a Twitch stream for live coding
  2. Choose Rust as a programming language
  3. Use VimRC and i3 for efficient coding
  4. Edit videos with Flip
💡 Facebook's recommendation of Rust highlights the language's growing importance in the software engineering community.

Related AI Lessons

Up next
Azure Security Priorities for 2026: Identity, Governance, AI Security & Zero Trust
Valto Microsoft Specialists
Watch →