Тёмный

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

Thoughtworks
Подписаться 40 тыс.
Просмотров 24 тыс.
50% 1

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

Наука

Опубликовано:

 

8 окт 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 78   
@ian3084
@ian3084 8 месяцев назад
We need Zig to work. The only real alternative to be honest.
@maxoumimaro
@maxoumimaro 9 месяцев назад
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 8 месяцев назад
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 8 месяцев назад
@@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 7 месяцев назад
Do you have an opinion on ODIN?
@maxoumimaro
@maxoumimaro 6 месяцев назад
@@chickenstrangler3826 only heard of the name.
@minatonamikaze2637
@minatonamikaze2637 6 месяцев назад
skill issue
@vildis.
@vildis. 9 месяцев назад
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 3 месяца назад
thank you!
@anderstty
@anderstty 9 месяцев назад
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 3 месяца назад
I thought it could be used as a C compiler but not as a C++ compiler?
@Tom-dd3vl
@Tom-dd3vl Месяц назад
@@andrewdunbar828 Zig has an archiver, C compiler, C++ compiler, dlltool.exe, lib.exe, ranlib, objcopy, and rc.exe
@dij117
@dij117 2 дня назад
​@@andrewdunbar828it does both
@Onyx-it8gk
@Onyx-it8gk 3 месяца назад
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.
@CartoType
@CartoType 6 месяцев назад
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 4 месяца назад
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 3 месяца назад
@@ska4dragonsZig will be overtaking C/C++/RUST in the coming years for new projects.
@andrewdunbar828
@andrewdunbar828 3 месяца назад
There's also Sean Baxter's Circle.
@wabilemotswasele8705
@wabilemotswasele8705 8 месяцев назад
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.
@StaffyDoo
@StaffyDoo Месяц назад
I’m just starting with Rust, I like it, but I see more and more comments like yours. Thanks for sharing your experience!
@anon-fz2bo
@anon-fz2bo 3 месяца назад
i hope i live to see zig win but im interested in try carbon coz ive alr tried rust
@deNudge
@deNudge 7 месяцев назад
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 5 месяцев назад
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 4 месяца назад
wait till you hear about c and c++
@jozsefk9
@jozsefk9 7 месяцев назад
Zig
@StaffyDoo
@StaffyDoo Месяц назад
Zig’s philosophy of being a programming language _and_ a toolchain reminds me a lot to Nix.
@dieyproductions4403
@dieyproductions4403 7 месяцев назад
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?
@meanmole3212
@meanmole3212 6 месяцев назад
ZICK dude!
@thanatosor
@thanatosor 9 месяцев назад
Rust for safe stuffs. Zig for unsafe things that you can’t do in Rust.
@linkernick5379
@linkernick5379 8 месяцев назад
For example?
@baxiry.
@baxiry. 8 месяцев назад
rust is not safe
@linkernick5379
@linkernick5379 8 месяцев назад
@@baxiry. It is. Haven't you heard anything about "Rust Belt" project?
@TON-vz3pe
@TON-vz3pe 6 месяцев назад
Says the guy who probably never wrote ​one line in rust @@baxiry.
@devnexen
@devnexen 5 месяцев назад
@@baxiry. as long you re not using unsafe code, it s safer than zig
@alomac8976
@alomac8976 4 месяца назад
I recommend ignoring carbon until it's actually available
@stanrock8015
@stanrock8015 3 месяца назад
Vapor ware currently. Gonna be awhile too
@NoX-512
@NoX-512 3 месяца назад
Wdym? Carbon has been available since like the dawn of time.
@alomac8976
@alomac8976 3 месяца назад
@@NoX-512 I agree. It's easier to make things with carbon that to make things with carbon
@renegadeace1735
@renegadeace1735 3 месяца назад
Rust is too messy, zig ftw!
@abdlhamidwaziz9164
@abdlhamidwaziz9164 9 месяцев назад
Rust ❤👍
@JohanvonSchlesien
@JohanvonSchlesien 9 месяцев назад
Rust ❤
@0xd3c0d3d
@0xd3c0d3d 9 месяцев назад
Rust --> Zig
@CaptTerrific
@CaptTerrific 9 месяцев назад
I had no idea Rust could dereference a pointer passed to it from a Zig struct! ;)
@0xd3c0d3d
@0xd3c0d3d 9 месяцев назад
@@CaptTerrific
@frechjo
@frechjo 7 месяцев назад
@@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); }
@vprodus9119
@vprodus9119 9 месяцев назад
A good way to reinvent the wheel...
@jamesgood7894
@jamesgood7894 8 месяцев назад
What other language has lifetimes?
@peepermcbeeper2997
@peepermcbeeper2997 6 месяцев назад
Except youre inventing the wheel and previously used a square (c++ compiler linker clusterfuck unusable bullshit without proprietary software)
@andrewdunbar828
@andrewdunbar828 3 месяца назад
Log rollers were already perfect.
@the_original_dude
@the_original_dude 8 месяцев назад
boon
@wiktorwektor123
@wiktorwektor123 7 месяцев назад
It was painfull to listen.
@edism
@edism 7 месяцев назад
What does boon mean?
@the_original_dude
@the_original_dude 7 месяцев назад
@@edismexactly
@edism
@edism 7 месяцев назад
@@the_original_dude what you said was intentionally meaningless? Very smart.
@pookiepats
@pookiepats 6 месяцев назад
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 4 месяца назад
u meant her? The guy spoke good
@NoX-512
@NoX-512 3 месяца назад
Savage 😐
@qosujinn5345
@qosujinn5345 3 месяца назад
they’re not that bad. turn your brain on and pay attention.
@jonbikaku6133
@jonbikaku6133 Месяц назад
Such a sad comment.
@khanra17
@khanra17 8 месяцев назад
Zig could have a better speaker
@NoX-512
@NoX-512 3 месяца назад
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. 🎶🤖✨
@叵
@叵 2 месяца назад
​@@NoX-512😂
Далее
The Road to Zig 1.0 - Andrew Kelley
59:48
Просмотров 128 тыс.
▼ЕГО БОЯЛИСЬ МОНГОЛЫ 🍣
32:51
Просмотров 485 тыс.
Best KFC Homemade For My Son #cooking #shorts
00:58
Просмотров 16 млн
When Zig Outshines Rust | Prime Reacts
23:31
Просмотров 136 тыс.
Carbon Language - Who is it even for?
17:36
Просмотров 28 тыс.
The Rust Standard Library is SO Confusing...Until Now!
11:45
Rust & Zig Combined • Richard Feldman • GOTO 2023
45:34
Trying Zig Part 1
1:30:00
Просмотров 85 тыс.
Paid Zig Stream
3:20:37
Просмотров 88 тыс.
iPhone 15 Pro в реальной жизни
24:07
Просмотров 355 тыс.
APPLE дают это нам БЕСПЛАТНО!
1:01
Просмотров 621 тыс.