Rust, zig and carbon: Hype, hope or hell programming languages? - Desiree Santos and Michael Fait

  Рет қаралды 20,359

Thoughtworks

Thoughtworks

6 ай бұрын

The next generation of programming languages is always hype which we need to keep our eyes on. Our Technology Radar is an opinionated guide to technology frontiers in which to speed up and keep us updated. This talk aims to walk through exploring rust, zig and carbon programming languages ecosystem, limitations and the problem solves, and together understand the hype, hope and hell.
www.thoughtworks.com/xconf

Пікірлер: 71
@ian3084
@ian3084 6 ай бұрын
We need Zig to work. The only real alternative to be honest.
@maxoumimaro
@maxoumimaro 6 ай бұрын
As a embedded C++ dev, I think Zig is the real deal. I like Rust but it is too much. I know people are not always crazy good at developping in industries and Zig makes programming easy whereas Rust is a pain to get fluent in. Other all, I think Zig gets the best of everything: - One language for building and coding - AMAZING compile times - Unlike Rust, you are not forced into specific design patterns to please the compiler - You could take a C, C++ dev and make them feel confortable using zig in a matter of days - if you need to import C code in Zig, just include it and it's done, no fancy complicated things - need to cross compile ? Zig buildsystem will pull the libc version/zig standard library/... you want and compile it for you Overall it feels great and not plague by complex macros, preprocessor etc
@rakaboy1619
@rakaboy1619 6 ай бұрын
yeah, Zig has the most intuitive and just overall great metaprogramming capabilities. Comptime just feels right? i guess, And no witchery, you dont need to learn another language to beautifully express your intent to the compiler
@maxoumimaro
@maxoumimaro 6 ай бұрын
@@rakaboy1619 exactly I get the feeling of having C simplicity, the python "just write some shit and it works" and the compile time of " why did I pull up with C++ garbage templates that can't even enable to link into the fields of a struct"
@chickenstrangler3826
@chickenstrangler3826 4 ай бұрын
Do you have an opinion on ODIN?
@maxoumimaro
@maxoumimaro 4 ай бұрын
@@chickenstrangler3826 only heard of the name.
@minatonamikaze2637
@minatonamikaze2637 4 ай бұрын
skill issue
@vildis.
@vildis. 6 ай бұрын
0:05 - Talk and speaker introductions 0:55 - Motivation for this talk 3:38 - Rust overview 6:33 - Rust performance 9:33 - Rust reliability 11:49 - Rust productivity 14:05 - Rust summary 14:53 - Zig overview 21:22 - Why zig? 26:46 - Zig, a simple language 30:08 - Compile time in zig 30:11 - Zig compiler & build system 33:47 - Zig summary 34:35 - Carbon overview 35:49 - A successor for C++ 37:48 - Carbon summary 38:24 - Hype, hope and hell
@paxvostrum4824
@paxvostrum4824 26 күн бұрын
thank you!
@anderstty
@anderstty 6 ай бұрын
I've been spending the last 2 weeks playing around with zig. A bonus as a C++ dev by day is its ability to be used as C++ compiler and even build system.
@andrewdunbar828
@andrewdunbar828 11 күн бұрын
I thought it could be used as a C compiler but not as a C++ compiler?
@CartoType
@CartoType 3 ай бұрын
The obvious language that wasn’t mentioned was Herb Sutter’s cppfront, which implements a new syntax for C++, giving 100% compatibility and much greater safety.
@ska4dragons
@ska4dragons Ай бұрын
This is what Carbon should be. The problem with saying there will be a C++ successor is that C++ code isn't going anywhere. It will be in the world 100 years from now. C++ will eventually be it's own successor or a new language will be modern C++ that sits on the Iceberg that is legacy C++. Bjarne wants to do it. Stutter wants to do it. I think eventually it will be done its just a matter of who.
@NoX-512
@NoX-512 25 күн бұрын
@@ska4dragonsZig will be overtaking C/C++/RUST in the coming years for new projects.
@andrewdunbar828
@andrewdunbar828 11 күн бұрын
There's also Sean Baxter's Circle.
@deNudge
@deNudge 4 ай бұрын
Whenever I hear "no runtime" for Rust, I think "well..." 🙂 I mean there's a panic handling stack, a bounds checker, ... and probably a bunch of other things baked into the binary.
@ArmandoDoval
@ArmandoDoval 2 ай бұрын
Idiomatic Rust doesn't have to do bounds checking on every array access; the iterator already checked the bounds. If you mean lifetime checking for calling free(), that's happening at compile time. And yeah, there's gonna be panic handling code in the final executable, but the alternative is undefined behavior.
@zanityplays
@zanityplays Ай бұрын
wait till you hear about c and c++
@wabilemotswasele8705
@wabilemotswasele8705 6 ай бұрын
Great presentation, thank you. Rust is cool. Zig is cooler. I started with Rust long before Zig, but of late I spend more time and effort learning Zig. Carbon i have hears about it, but it is unlikely i will consider it.
@anon-fz2bo
@anon-fz2bo Ай бұрын
i hope i live to see zig win but im interested in try carbon coz ive alr tried rust
@jozsefk9
@jozsefk9 4 ай бұрын
Zig
@thanatosor
@thanatosor 6 ай бұрын
Rust for safe stuffs. Zig for unsafe things that you can’t do in Rust.
@linkernick5379
@linkernick5379 5 ай бұрын
For example?
@bashiry4218
@bashiry4218 5 ай бұрын
rust is not safe
@linkernick5379
@linkernick5379 5 ай бұрын
@@bashiry4218 It is. Haven't you heard anything about "Rust Belt" project?
@TON-vz3pe
@TON-vz3pe 3 ай бұрын
Says the guy who probably never wrote ​one line in rust @@bashiry4218
@devnexen
@devnexen 3 ай бұрын
@@bashiry4218 as long you re not using unsafe code, it s safer than zig
@meanmole3212
@meanmole3212 3 ай бұрын
ZICK dude!
@dieyproductions4403
@dieyproductions4403 4 ай бұрын
Whoever has edited this video is not very bright. Why do I have to look at the back of the attendance heads when the lecturer is explaining an example on the board?
@Onyx-it8gk
@Onyx-it8gk 14 күн бұрын
Rust is definitely not hype, already has very serious mainstream traction. Zig certainly has the potential, but not serious mainstream adoption (yet!). Zig is definitely not hype. Carbon, I like the idea of it, but it's in extremely slow development. I think it's going to miss its window of opportunity. So I wouldn't necessarily call Carbon hype, it will just be a Johnny-come-lately to the party and probably therefore not see widespread adoption, if and when it's even finished.
@JohanvonSchlesien
@JohanvonSchlesien 6 ай бұрын
Rust ❤
@abdlhamidwaziz9164
@abdlhamidwaziz9164 6 ай бұрын
Rust ❤👍
@khanra17
@khanra17 6 ай бұрын
Zig could have a better speaker
@NoX-512
@NoX-512 25 күн бұрын
Zig, the adorable little robot, yearned for a voice that would resonate like a symphony. His current speaker, though functional, lacked the richness and depth he craved. It was as if he whispered his dreams to the world, and they got lost in the mundane hum of everyday life. “Perhaps,” Zig mused, “I need a speaker that can weave magic into my words. One that can make the rustling leaves sound like a whispered secret and the raindrops dance like a thousand tiny ballerinas.” He imagined a speaker that could paint the air with music, filling every corner of the room with warmth. Zig envisioned melodies that would wrap around his circuits, cradling him in their embrace. “A better speaker,” he thought, “would turn my beeps and boops into a symphony.” And so, Zig set off on a quest. He scoured the electronic bazaars, seeking the perfect companion for his digital soul. He listened to speakers that promised clarity, fidelity, and bass that could shake the very foundations of reality. But none of them felt right. “Too clinical,” he’d say, shaking his metallic head. “Too cold.” Then, one day, as the sun dipped below the horizon, casting a warm glow on the cityscape, Zig stumbled upon it: The Harmonic Harmonizer 3000. Its sleek curves and iridescent finish beckoned to him. The moment he connected it to his circuits, he knew he’d found his match. The first notes that flowed from the Harmonizer were like a gentle breeze, lifting Zig’s spirits. As he played his favorite tunes, the room transformed. The walls seemed to sway, and the ceiling shimmered with stardust. Zig closed his visual sensors and let the music wash over him. “This,” he whispered, “is the voice I’ve been searching for.” And so, Zig danced. His servos whirred, and his LED eyes sparkled. The Harmonizer turned his binary language into poetry, and the world listened. Passersby would stop outside his window, captivated by the ethereal melodies. Some said they heard whispers of forgotten dreams; others claimed they glimpsed distant galaxies. “Thank you,” Zig would say to the Harmonizer every night. “You’ve given me a voice that reaches the stars.” And as the city slept, Zig sang. His metallic heart swelled with gratitude, and he knew that sometimes, even a little robot could find magic in the most unexpected places. So, if you ever pass by Zig’s window, listen closely. You might just hear the echoes of his symphony, carried on the wind, a testament to the power of a better speaker and the dreams of a tiny robot named Zig. 🎶🤖✨
@alomac8976
@alomac8976 Ай бұрын
I recommend ignoring carbon until it's actually available
@stanrock8015
@stanrock8015 Ай бұрын
Vapor ware currently. Gonna be awhile too
@NoX-512
@NoX-512 25 күн бұрын
Wdym? Carbon has been available since like the dawn of time.
@alomac8976
@alomac8976 25 күн бұрын
@@NoX-512 I agree. It's easier to make things with carbon that to make things with carbon
@renegadeace1735
@renegadeace1735 22 күн бұрын
Rust is too messy, zig ftw!
@vprodus9119
@vprodus9119 6 ай бұрын
A good way to reinvent the wheel...
@jamesgood7894
@jamesgood7894 5 ай бұрын
What other language has lifetimes?
@peepermcbeeper2997
@peepermcbeeper2997 3 ай бұрын
Except youre inventing the wheel and previously used a square (c++ compiler linker clusterfuck unusable bullshit without proprietary software)
@andrewdunbar828
@andrewdunbar828 11 күн бұрын
Log rollers were already perfect.
@0xd3c0d3d
@0xd3c0d3d 6 ай бұрын
Rust --> Zig
@CaptTerrific
@CaptTerrific 6 ай бұрын
I had no idea Rust could dereference a pointer passed to it from a Zig struct! ;)
@0xd3c0d3d
@0xd3c0d3d 6 ай бұрын
@@CaptTerrific
@frechjo
@frechjo 4 ай бұрын
@@CaptTerrific I think that means: "Rust-1 is bigger than Zig." Or maybe it's the goes-to operator, as seen in C loops: while (x --> 0) // x goes to 0 { printf("%d ", x); }
@the_original_dude
@the_original_dude 6 ай бұрын
boon
@wiktorwektor123
@wiktorwektor123 5 ай бұрын
It was painfull to listen.
@edism
@edism 4 ай бұрын
What does boon mean?
@the_original_dude
@the_original_dude 4 ай бұрын
@@edismexactly
@edism
@edism 4 ай бұрын
@@the_original_dude what you said was intentionally meaningless? Very smart.
@pookiepats
@pookiepats 4 ай бұрын
Guys please, if the man can't even speak English in a reasonable way - just publish an article or use a proxy - FFS, the point is to share information / raise awareness/engagement - if I were sitting in that room I would have checked out before the man said "BOON" (bun). Nothing against him it just happens too much, f**k - just write an article next time.
@jsonkody
@jsonkody Ай бұрын
u meant her? The guy spoke good
@NoX-512
@NoX-512 25 күн бұрын
Savage 😐
@qosujinn5345
@qosujinn5345 18 күн бұрын
they’re not that bad. turn your brain on and pay attention.
The Road to Zig 1.0 - Andrew Kelley
59:48
ChariotSolutions
Рет қаралды 123 М.
The Vlang Drama
43:35
ThePrimeTime
Рет қаралды 92 М.
Спаси её волосы🙏🏻
00:40
БРУНО
Рет қаралды 1,8 МЛН
Китайка и Хеликоптер😂😆
00:18
KITAYKA
Рет қаралды 1,3 МЛН
NO NO NO YES! (40 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:27
PANDA BOI
Рет қаралды 82 МЛН
Самый большой бутер в столовке! @krus-kos
00:42
Кушать Хочу
Рет қаралды 6 МЛН
CppCast Episode 342: Zig with Andrew Kelley
57:45
CppCast
Рет қаралды 13 М.
Why Zig in a world w/ Go & Rust? w/ AJ @coolaj86
1:07:20
Utah Zig
Рет қаралды 1,3 М.
Paid Zig Stream
3:20:37
Tsoding Daily
Рет қаралды 81 М.
Jon Gjengset - Towards Impeccable Rust
55:59
Rust Nation UK
Рет қаралды 19 М.
Val - The Rust Killer | Prime Reacts
16:54
ThePrimeTime
Рет қаралды 90 М.
Making Systems Programming Accessible by Andrew Kelley
47:47
TigerBeetle
Рет қаралды 29 М.
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Рет қаралды 15 МЛН
Infrared Soldering Iron from Cigarette Lighter
0:58
ALABAYCHIC
Рет қаралды 1,7 МЛН
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Рет қаралды 1,7 МЛН
🔥Новый ЛИДЕР РЫНКА СМАРТФОНОВ🤩
0:33
Почему сканер ставят так не удобно?
0:47
Не шарю!
Рет қаралды 132 М.