@kodekloud: Why Rust Is Gaining Ground in AI!🦀 Most AI code is written in Python, but companies building AI tools keep moving their performance-critical code to Rust. Before a model can answer a chat message, the server has to split the text into tokens and turn each token into a number. OpenAI’s tokenizer, tiktoken, does this step in Rust. In a laptop test, it tokenized 1,000 questions more than 20 times faster than OpenAI’s Python teaching version, while still being called from Python. Python remains the language for training and research. Rust runs the code that has to be fast and safe on every request. Would you learn Rust next, or stay with Python? Comment below. #Rust #Python #AI #RustLang #MachineLearning #AIEngineering #Tokenization #OpenAI #MemorySafety #Programming #SoftwareEngineering #DevOps #KodeKloud #Shorts

KodeKloud
KodeKloud
Open In TikTok:
Region: PL
Thursday 29 October 2026 12:46:58 GMT
207593
14562
150
765

Music

Download

Comments

akn_28
dream mds :
as a programmer reading rust code is actually not fun, so yea probably for vibe coders mostly would prefer rust
2026-10-29 16:29:50
656
sebastian23kws
El maldito :
rust is so bad it needs AI agents to be usable
2026-10-29 17:18:54
288
lucalypthic
Luca :
Is there something even better than rust?
2026-11-11 14:05:43
0
ur_hiro27
Foxiro :
haven't touched python for months since I start using rust.
2026-11-11 09:54:25
1
mrfauziyahaya
Fauzi.Yahaya :
okay time to go to claude and ask him "rebuild my apps to rust, make no mistake"
2026-10-29 16:34:38
306
gosho9224
Gosho :
with rust and c++ you can use simd like std::simd and python is just slow ash and the worst language ever created
2026-10-29 12:53:37
162
jotalkfunny
iTalkSpace :
nobody want to use Rust
2026-10-29 17:19:22
14
user152981352
Lasko Envion :
Faster and memory safe, same reason anybody uses rust for anything, the reason rust was created.
2026-11-01 11:36:50
6
llun.tes
llun tes 🇨🇦 :
C++ has terrible tooling and personally it's the only reason I do everything in rust now.
2026-10-29 14:11:48
24
dice.corp
DICE Corp. :
I hate Rust but I also hate C++ so I've learned Rust
2026-10-30 06:05:38
20
mervlot_
Black Atlas :
many use python as the frontend for you know aesthetics when the backend is c c++ rust and go
2026-10-29 15:42:18
0
soli_rsa
Soli :
python tooling is slow as shit
2026-10-29 15:03:22
24
uni19619
The real Tsaritsa from Genshin :
rust is furry and is trash
2026-10-31 23:53:04
2
juustukeefir
Kaarel🇪🇪 :
I think one of the main reasons is that rust is fast enough so that any unoptimised code will be less impacting than python unoptimised code but it also babies it more than like c++ or similar so that the language forces the model to be safer
2026-10-29 13:45:37
15
nottellingyou83
nottellingyou83 :
Rust is made for computers to understand, python is made for humans to understand
2026-10-29 23:03:10
7
ttok0714
TTOK0714 :
It’s not
2026-10-30 03:24:10
0
meet_potential_man
meet potential man :
I thought rust is goin to be ai resistant, my assumption were completely incorrect
2026-10-30 05:29:23
4
markngunjiri964
Njenûrû Njeru Ngunjiri 🔥 :
I've written a few tools in rust. it's a good one. One of the tools is my autotyping tool with cli👌
2026-11-03 15:42:04
1
nickhuynh54
Nick Huynh :
why not make AI write it in assembly?
2026-10-30 01:48:51
4
matthr26
M :
Python is the easiest to learn and comprehend, rust is one of the most efficient. Ai knows both, so they use the most efficient one. Python has its place, but rust does too.
2026-10-29 18:15:04
0
an_die_arbeit
Andi :
The last project I did in Rust, it was much harder for the Ai to produce functional rust code compared to python. But that's a few months ago, so like a decade in Ai timespace
2026-10-30 09:32:38
4
deeismeee
deeismee :
The real reason is because less people know it and everything ai does is trying to get you to spend more money you can test this yourself by using api credits with basically any of them get it to write the exact same function in a new chat window until your credits run out then save errors that need to be fixed each run as well as usage per run the closer you get to running out the more it uses
2026-10-30 11:34:36
2
realghastverse
Realghast15 :
God dam
2026-10-31 15:37:52
1
icreatr
iCreatr :
It’s fast!
2026-10-30 07:20:29
0
To see more videos from user @kodekloud, please go to the Tikwm homepage.

Other Videos


About