P99 CONF - Zig vs Rust

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 388

  • @fyndor
    @fyndor 4 месяца назад +252

    "I started a new project inspired you, Prime, called Ligma"... hahahaha this man project names with the best of us

    • @character640p
      @character640p 4 месяца назад +7

      8:24

    • @xazzzi
      @xazzzi 4 месяца назад +19

      That head nod, he was dying inside.

    • @cryptonative
      @cryptonative 4 месяца назад +1

      a secret project

    • @jjpp1993
      @jjpp1993 4 месяца назад +1

      it wasn’t a project, it was something bigger

    • @ukazap
      @ukazap 4 месяца назад

      @@jjpp1993 and plural

  • @xavhow
    @xavhow 4 месяца назад +74

    Programmers conference...
    A: I don't get XX. B: This is a skill issue.
    Announcement: A has left the room.

    • @Lugnear
      @Lugnear 4 месяца назад

      😂

    • @TheSulross
      @TheSulross 3 месяца назад +2

      Came for a cage match and got Hollywood Squares instead 😒

  • @johanngambolputty5351
    @johanngambolputty5351 4 месяца назад +84

    The thing that unites rust and zig enjoyers: not having to put up with c++ anymore ;) brings a tear (of joy) to my eye

    • @PixelThorn
      @PixelThorn 4 месяца назад +3

      And why is c++ so bad?

    • @UsatiyNyan
      @UsatiyNyan 4 месяца назад +10

      @@PixelThorn ppl don’t really learn how to build their projects.
      Also, it has a vast number of implicit features, different syntax, and oh templates, which is basically a 2nd language that you have to learn.
      Value semantics are almost nonexistent, since you have to know when the move/copy will be elided.
      Rust, similarly, has complex syntax too, but at least it has value semantics and there is no void.
      Ppl go for zig, because it’s a language that you almost build yourself, thanks to comptime and stuff.
      (I like C++ and CMake, but you gotta know where these tools are underperforming.)

    • @DefaultGuy84
      @DefaultGuy84 4 месяца назад

      because people have a skill issue​@@PixelThorn

    • @TheSulross
      @TheSulross 3 месяца назад

      Is true - C++ does filter out the script kiddies

    • @AsheAve
      @AsheAve 3 месяца назад

      You can’t encapsulate an object if you can reach in with a pointer and manipulate it. That’s why I used Java for so long. Now I just don’t care about OPP anymore.

  • @josemata8865
    @josemata8865 4 месяца назад +425

    I haven't watched the video but obviously C# is going to win

  • @pmcgee003
    @pmcgee003 4 месяца назад +18

    Mostly Zig vs Rust.
    23:00 Build & Distribution
    32:50 Interfaces
    35:50 Tools
    39:20 Mojo
    44:50 C++

  • @alanbaumann
    @alanbaumann 4 месяца назад +46

    Both Zig and Rust are cool. But this came off mostly as three zig users trying to convince a rust user that they really should be using zig.

    • @anonymousalexander6005
      @anonymousalexander6005 4 месяца назад +41

      TL,DR:
      They start complaining about Rust based off of dubious skill issues, then pretend like the Rust user has a skill issue for not using Zig, and finally the Rust user tries to defend Rust in a 1v3 without any prior preparations or expectations of a 'debate'.
      They then proceed to pretend like Rust somehow has less capabilities, with somehow the same target audience and use cases as Zig despite their prior admission that Rust isn't a C replacement unlike Zig, and have nostalgia for C libraries that give us 30 years of preventable bugs and cve's.
      In essence, a normal WebDev's podcast, nothing short of what you would expect, and no critical industrial experience with best practices or strict code standards.
      Thank you RUclips for not hiding this reply!

    • @rubiskelter
      @rubiskelter 4 месяца назад +10

      @@anonymousalexander6005 i doubt Prime has a skill issue regarding Rust. He had a fallout with some prominent members of the Rust community and now doesn't like it that much. It used to be his favorite language and he made sure to let others know.

    • @marcelaodev
      @marcelaodev 4 месяца назад

      ​@@anonymousalexander6005 didn't mentioned some drama for the guys that works together.
      having another Rust enjoyer would be great but it was fair regardless

    • @blarghblargh
      @blarghblargh 4 месяца назад

      @@anonymousalexander6005 rust and zig can both be good. zig isn't a shipping language yet, so the comparison is half-moot. but rust has a huge and bought in fan base, bordering on cult-like sometimes, so some extra defense of zig can feel necessary to zig enthusiasts.
      but yeah, eventually we all realize that this video content (and most old school blogs) are mostly for entertainment, and for catching keywords you might not otherwise hear. we all have to make up our minds for ourselves, and we're not really actually driving towards any sort of consensus in language war conversations. after all, it's all got to run on arm/x86/GPUs in the end, and the base technology itself isn't THAT complicated. it's all just registers, alu ops, compares, RAM, gotos, SIMD, and synchronization primitives etc in the end. and the microcode/instruction decode/layered caches/branch prediction of course, but our current architectures hardly let us control those directly, nor do our programming languages do much at all to directly support it.
      most of us just want a language to have a bag of features on top of a universal set of flow control, and a few bumpers to keep us from doing things too stupidly. it's usually bikeshedding to argue TOO much over the exact shape and width of those bumpers. and as much as I like C, it has too much ambiguity for the non-existent amount of safety it has. almost all of us can probably agree on that. I wouldn't say zig is "just C", if you're insinuating that, then I'd quibble. it has less ambiguity than C. but if you're not saying that, then we probably are mostly on the same page.
      too much coffee. sorry for some of the rambling, but not for all of it.

    • @rubiskelter
      @rubiskelter 3 месяца назад

      @@anonymousalexander6005 that is not fair, he worked with Rust for years, he clearly has absolutely no issues with the borrow checker, the only thing he ever complained in the past was the macros and how hard they are, and lack of support for async programming. How can it be a skill issue if he was prolific with the language, writing professionally for Netflix , code that processed billions of requests? He doesn't complain about borrow checker more than any other person that uses Rust, sometimes complains about it on a normal basis. I complain about it sometimes, the same way i sometimes complain about nil pointer deref in Golang, the same way i complain about my wife sometimes and i love her still, nothing too serious.
      I dont believe you know much about ThePrimeagen, he used to love Rust, and was really good at it.

  • @dv_dream
    @dv_dream 4 месяца назад +102

    DreamBerd wins.

  • @shampoable
    @shampoable 4 месяца назад +14

    seems like having a producer for such events would be nice, dealing with technical issues distracted Prime from the talk

  • @StingSting844
    @StingSting844 4 месяца назад +114

    Bun guy wearing his mascot on his head is so cute 🥰

  • @krellin
    @krellin 4 месяца назад +21

    it is so strange how i can recognize colleges that are just like these 3 gents,
    there is the rust believer, there is me who tried it and passed on it,
    there is the guy that dives so low level i feel like a junior.

  • @nomadtrails
    @nomadtrails 4 месяца назад +21

    Prime, always a man of the people, puts the chat up, while talking shit on the chat's opinions 😂... EDIT: CHAT IS GONE

    • @airkami
      @airkami 4 месяца назад +1

      Could have completely removed that whole pre-intro tech wrestling but wanted chat to know this layout doesn’t work with them lol

  • @rubiskelter
    @rubiskelter 4 месяца назад +69

    Please, someone create a cross compiler between Zig and go, we can have Zigo

    • @AloisMahdal
      @AloisMahdal 4 месяца назад +7

      too close to Zygote

    • @airkami
      @airkami 4 месяца назад +21

      Zig needs to 1.0 first

    • @abo3zzzam
      @abo3zzzam 4 месяца назад +1

      Zigo is Arabic for the verb shit. As in ordering a group of people to take a shit.

    • @plaintext7288
      @plaintext7288 4 месяца назад

      ​@@abo3zzzamfitting for the code I write😅

    • @khanra17
      @khanra17 4 месяца назад +13

      Why do you have a word for "ordering a group of people to take shit" ? 😐
      ​@@abo3zzzam

  • @UsatiyNyan
    @UsatiyNyan 4 месяца назад +27

    I, personally, didn’t like this public execution of a “talk”.
    The dynamic here is much like riding the scapegoat and the atmosphere of zig hype didn’t help at all.
    Also it seems that the Rust “advocate” came unprepared.
    The conversation was very poorly moderated, and host should have had expressed less favouritism, otherwise it simply isn’t fair.
    I couldn’t bear it, sorry.
    Prime, you can do better.

  • @daltonyon
    @daltonyon 4 месяца назад +21

    Watching again!! I want see more opinions of Rust vs Zigs

  • @cariyaputta
    @cariyaputta 4 месяца назад +13

    Holy cow, the channel has many of the heavy hitters lately. And I'm all for it.

  • @Propherex
    @Propherex 4 месяца назад +119

    3 zig hypers vs 1 rust enjoyer.

    • @CommanderRiker0
      @CommanderRiker0 4 месяца назад +11

      Nobody "enjoys" rust. Look at the toxic community.

    • @linkernick5379
      @linkernick5379 4 месяца назад

      ​​@@CommanderRiker0Almost all large enough communities are toxic.
      The one of the few large strictly non-toxic community is the Trump supporters.😂

    • @linkernick5379
      @linkernick5379 4 месяца назад +13

      ​​@CommanderRiker0 Almost all large enough communities are toxic.
      The one of the few large strictly non-toxic community is the T-candidate supporters.

    • @kobibr9362
      @kobibr9362 4 месяца назад +2

      Rust documentation sucks. It took me 3 hours to recover run and query and query questing yesterday with tikv. Today I am trying to run graphql schemas and I bet it won’t take less time 😂 Any database or lib written in rust has better documentation for integration with other languages than with rust. It like they all chose to poop in they own water and drive a little sip of it over the next 100 days. I love the language but this doc is far from any other language.

    • @linkernick5379
      @linkernick5379 4 месяца назад +15

      ​@@kobibr9362Skill issue.

  • @curio78
    @curio78 24 дня назад +1

    The point is simply. a role of a language is not just limited to what it writes but also how it can be managed. Rust fails at that part, ease of reading a written code is a serious requirement.

  • @the12arrow
    @the12arrow 4 месяца назад +58

    This was just a 3 zig dudes trying to bully the rust non english native speaker for 55 minutes...

    • @theinsane102
      @theinsane102 4 месяца назад +8

      yet everyone ends up programming in JS most of the time

    • @ITSecNEO
      @ITSecNEO 3 месяца назад

      ​@theinsane102 no 😂

    • @Jan-gl7mn
      @Jan-gl7mn Месяц назад +1

      It was kinda sad to watch. It was more about their small pipi egos than actual tech talk.

  • @Garejoor
    @Garejoor 3 месяца назад +5

    For the Turso people, it's not a good idea to expose company dynamics in public - EVERY company has that one guy who is very set on their choices

  • @SnowDaemon
    @SnowDaemon 4 месяца назад +17

    I think Pekka makes the best point:
    yes, while some things in Rust suck, and "may" be better in Zig.
    it's not THAT big of a deal.
    it would have to be a HUGE deal to switch languages, fire your engineers that dont want to write Zig, find and hire Zig engineers, and re-write your codebase.
    like all that, just because Zig does a minor thing better. lol. You can tell Glauber doesnt have to write the code or deal with the engineers.

    • @blarghblargh
      @blarghblargh 4 месяца назад +3

      if you can't spend the time to train your engineers in a new language, then you shouldn't be considering anything but what you're already shipping.

    • @misalambasta
      @misalambasta 4 месяца назад

      Totally agree 👍

    • @SnowDaemon
      @SnowDaemon 4 месяца назад +2

      @@blarghblargh the problem is, if you know engineers, a certain number of them will not want to learn a new language. most people choose their job based on the language and tools the job uses. thats what i said. some will quit.

    • @hagaiak
      @hagaiak 3 месяца назад

      Why would you switch language if you're already using the best one?

    • @SilasDuarte-e9k
      @SilasDuarte-e9k 13 дней назад

      @@hagaiak
      Zig > Rust, that's the point of all this.

  • @kobi665
    @kobi665 4 месяца назад +12

    When did prime stop saying blazingly ?

  • @hanes2
    @hanes2 4 месяца назад +6

    The Bryan Cantrill talks always awesome to watch

  • @kanji_nakamoto
    @kanji_nakamoto 4 месяца назад +10

    Regardless of languages, I'd rather work with Jarred, then the cult guy!
    Jarred just answered the questions, provided good feedback, open to the idea of using other languages, e.g. C++. That's exactly the right mindset. Glauber made great points but Pekka seems to not be open to other ideas, which I believe would be very hard to work in his team.

  • @vsrikarunyan
    @vsrikarunyan 2 месяца назад

    Thank you so much for this discussion. Helps a lot !

  • @ASmith2024
    @ASmith2024 4 месяца назад +32

    there doesn't appear to be a healthy relationship between CEO and CTO. Short term relationship on the cards.

    • @jedimoose32
      @jedimoose32 4 месяца назад +8

      At the very least it seems like Pekka is not willing to budge on his defense of Rust. It's almost like he's internalized the point that he's trying to defend rather than being willing to honestly discuss the pros and cons of Rust versus Zig. In particular when they were discussing distribution, he comes close a few times to saying that Zig makes distribution easy but he backs away every time and instead repeats that he thinks distributing with Rust is good enough.

    • @perc-ai
      @perc-ai 4 месяца назад +2

      @@jedimoose32 rust is NOT the future i mean its just common sense lol. Zig is literally rewriting the entire stack and rethinking the LLVM while rust has no place there.

    • @jedimoose32
      @jedimoose32 4 месяца назад +2

      @@perc-ai Yeah, I really like Zig but I haven't used Rust very much, so I'm not going to comment on that. I was just trying to say that I found Pekka's responses to be almost too aggressively pro-Rust in a conversation that otherwise had some good pros-vs-cons discussion.

    • @perc-ai
      @perc-ai 4 месяца назад +1

      @@jedimoose32 yeah its true Rust is sort of like a cult at this point =/. It's still a great language nonetheless.

    • @glommeryt
      @glommeryt 4 месяца назад +28

      We've been working together for 15 years, which is 15 years more than what I ever wanted. I hate him so much.

  • @FerPerez-mc3wr
    @FerPerez-mc3wr 4 месяца назад +1

    Thank you so much from South Africa! 🇿🇦

  • @ThePOVKitchen
    @ThePOVKitchen 4 месяца назад +6

    "oopsie i stopped the recording" right at the end is the best outro. go Prime

  • @jjpp1993
    @jjpp1993 4 месяца назад +10

    you should’ve brought noboilerplate to this

  • @DogeMultiverse
    @DogeMultiverse 4 месяца назад +3

    left-right mirrored prime hits different

  • @MartialBoniou
    @MartialBoniou 4 месяца назад +3

    I chose Zig, but still prefer Lisp.

  • @arimill1045
    @arimill1045 4 месяца назад +6

    Still just a fan of using C w/ Zig build tools rather than the syntax

    • @ZombieLincoln666
      @ZombieLincoln666 Месяц назад

      yeah I found using zig for build tools made using C on windows way easier

  • @lifespell-omega
    @lifespell-omega 4 месяца назад +3

    i like rust more because i value the type system. it's worth noting that zig is not an easy language to learn relative to something like javascript for example. the idea that you can just pick it up and immediately be productive is not true. the way people talk about it made me think that it would be like learning go. the main benefit of zig to me is calling c libraries because doing that with rust is very painful.

  • @vikingthedude
    @vikingthedude 4 месяца назад +9

    In zig we rust

  • @DmitryVoytik
    @DmitryVoytik 4 месяца назад +11

    Switching from Rust to Zig - it’s like downshifting. Loosing safety guarantees and for what?

    • @PiotrPavel
      @PiotrPavel 4 месяца назад +4

      for not ready to prodaction tool set. maybe in 2-4 years when zig matures....but Rust then will be in many places. I was reading that Apple promotes Swift over c++, so yet another competitor for zig(if zig is a replacement for c++ and C)

    • @matress-4-2323
      @matress-4-2323 4 месяца назад +2

      @@PiotrPavel zig came in at the wrong time. if it came a few years earlier it might've had a completely different trajectory. i see it being more of a niche language used for specific tasks. i don't see wide adoption in it's future. a lot of that is a timing thing.

    • @mgord9518
      @mgord9518 4 месяца назад +4

      Zig has much better type safety than C and allows you to do unsafe actions with a lot less headache than doing so in Rust. Imo it gives a good amount of safety while not having to fight the compiler on literally everything
      It's also a much simpler language than Rust. So it's really for a different group of people than those who like Rust or C++. You get fast compile times, an extremely powerful build toolchain, much better C interop than Rust among other things.

    • @Solid_Fuel
      @Solid_Fuel 3 месяца назад +1

      speed:
      - faster development
      - faster compile time
      - faster deployment

    • @maxoumimaro
      @maxoumimaro Месяц назад +1

      Also not everybody wants to do Rust.
      As a c++ dev, my attempts at Rust were annoying, hard and I never got very far into the language.
      Problem that it raised for me is that EVEN IF i take the time learning it, it will just be the same problem as C++ which is "team skill issues". Not everybody is willing to learn a complex language and deal with all the fancy stuff that comes with it. Zig can be learned on the spot and just do stuff because there is only comptime as magic which limits what can happen.

  • @SnowDaemon
    @SnowDaemon 4 месяца назад +12

    this may be the first time Prime has decided to use the "flashy new thing" instead of the proven one.
    at my company people love Zig but every one also says they would choose Rust over it.
    Zig is a cool choice and a good language, but it's not "better" than Rust. Rust may not be "better" than Zig neither...
    its just preference, and since Rust is more mature it usually wins out.

    • @blarghblargh
      @blarghblargh 4 месяца назад +1

      don't use zig until it ships unless you want to be a contributor to zig.
      they say it themselves.

  • @owlmostdead9492
    @owlmostdead9492 4 месяца назад +21

    Go and Zig are the only two languages where cross-compiling is just a command, Rust is actually no better than C or C++ in that regard IMO, it's terrible. Especially if you're cross-compiling for a different architecture + OS.

    • @Mooooov0815
      @Mooooov0815 4 месяца назад +6

      The only problem with go is that shit kind of hits the fan when you have a single CGo dependency, that’s mostly it for your nice cross compilation. Although Zig can (often) help with that as well

    • @SimonBuchanNz
      @SimonBuchanNz 4 месяца назад +2

      Dunno what go is doing (I think that they directly call syscalls?), but zig at least is "just" effectively packaging the platform SDKs, which may or may not have copyright issues? (IANAL).
      You can get the same cross-compile setup in Rust without *that* much trouble, it's really just SDK copyright that prevents someone packaging this up.
      Rust is getting close to adding raw-dylib, which is basically the ability to write platform SDKs in pure Rust, and the windows crate at least already has support, so you can already cross compile pure Rust to Windows at least on nightly builds.

  • @AloisMahdal
    @AloisMahdal 4 месяца назад +25

    Glauber seems like such a nice guy..
    to Pekka, basically "I can fire you".
    to Jarred "you said (opposite what he did)"
    Jarred to Pekka: "you have skill issue" -- Glauber nods heavily
    I mean, he's funny but would make me swimming in cortisol if he was my boss. (that's my skill issue)

    • @theLowestPointInMyLife
      @theLowestPointInMyLife 4 месяца назад +14

      turso sucks also

    • @SnowDaemon
      @SnowDaemon 4 месяца назад +9

      i was thinking the same thing!
      i would NOT want that guy being my boss! lol
      maybe they're such good friends and thats just how they are though...idk.
      deff dont seem like Glauber is a nice or likeable person thought, that sounded like an ACTUAL threat, and Pekka didnt laugh....

    • @AloisMahdal
      @AloisMahdal 4 месяца назад +7

      @@SnowDaemon I mean, he's probably very smart and one could learn a lot from him, but whoa, with that power dynamic, those "jokes" felt like barbed wire.
      I really got the vibe that Pekka is just suffering through him and trying to keep his calm, which he did. (I hear Finnish people can have pretty thick skin but that's just a sterotype and even if true, still...)

    • @SnowDaemon
      @SnowDaemon 4 месяца назад

      @@AloisMahdal agree.

    • @glommeryt
      @glommeryt 4 месяца назад +1

      @@AloisMahdal I actually fired him today.

  • @NotherPleb
    @NotherPleb 4 месяца назад +9

    Surprised prime thinks Rust standard library is hard to read, I very often go to the source to understand stuff, especially coming from C++ where going to the definition is useless. Also, I agree that Rust macros are not the best but they look scarier than they are!

  • @byskawica1919
    @byskawica1919 4 месяца назад +2

    Imagine that someone once had to discuss whether binary or assembly programming is better

  • @isaacyonemoto
    @isaacyonemoto 4 месяца назад +6

    I dont think pekka actually used zig

  • @Burgo361
    @Burgo361 4 месяца назад

    That was super interesting to listen to, I would love to see more of this discussion in the future.

  • @wb3904
    @wb3904 3 месяца назад +1

    Learning Zig and it’s tough but you pick it up over time.

  • @krtirtho
    @krtirtho 4 месяца назад +4

    Zig vs Rust❌
    Zig & Unsafe Rust✅

  • @TheFreshMakerHD
    @TheFreshMakerHD 4 месяца назад +6

    As someone who tried to learn rust and is currently learning zig, I must say zig syntax just makes more sense to me, I feel like I understand what the language is doing, where as with rust I felt like I was falling into a pit of despair cuz I was so confused and annoyed. That being said, it feels like there's only beginners resources for learning zig and I don't know how I can go about learning the language in a deeper level or more advanced usage. Rust on the other hand is way more developed and has more of a community to guide people along

    • @ForeverZer0
      @ForeverZer0 4 месяца назад +1

      I am very much more of a Zig fan over Rust, but the lack of learning resources is indeed currently a huge obstacle for attracting new users. Having used it for ~6 months, I rarely need to look things up anymore, but it is always a struggle when I do, and I remember the pains of trying to find any sort of comprehensive resource, usually just having to "figure it out" with trial and error. They have stated many times that by 1.0 they will have a more fleshed out stdlib with better documentation, but until then (and wider adoption) I assume it will continue to be a struggle.

    • @TheFreshMakerHD
      @TheFreshMakerHD 4 месяца назад +1

      @@ForeverZer0 zig needs Brian kerning to write the "Zig Programming Language" book

    • @Munchyydl
      @Munchyydl 4 месяца назад +4

      I'm in the opposite corner here when it comes to the syntax. While I agree that the Rust type and lifetime syntax might be a bit to verbose at times, there is a lot more syntax constructs in Zig that I don't like. Having said that, I must confess that I have put off trying to learn Zig just by the looks of it's syntax, so I just might learn to love it if I give it a try... 🤔

    • @TheFreshMakerHD
      @TheFreshMakerHD 4 месяца назад

      @@Munchyydl I just worked through Ziglings and Zig Guide to learn zig so far, I recommend them. And yes 100% I agree even zig has syntax issues in some spots, for example: the built-in operators seem to mix up case formatting, some of them start upper case, some are all lowercase, some are camel, etc. it would just be nice to have them uniform or have the differences explained. Then I don't get why "inline" exists as a keyword when "comptime " exists... inline loops run at compile time, why not just use the comptime keyword only? Then the LSP doesn't pick up on capture groups (|value|) or type unions, so the LSP definitely needs work

    • @ForeverZer0
      @ForeverZer0 4 месяца назад

      @@Munchyydl I was also initially very put off by its syntax which made me delay learning it for nearly a year. Early this year I finally decided to give it an honest try, anyways and the syntax actually grows on you, and your realize that it does make sense (i.e. there is a reason for it). Difficult to explain in detail in a YT comment, but there is some very convenient things that it allows for which are simply satisfying to use once you get the hang of it.

  • @ebmpinyuri
    @ebmpinyuri 4 месяца назад +3

    Prime had to stand up for us Vimmers !!!!!!!!!

  • @clintquasar
    @clintquasar 4 месяца назад +10

    Jarred looks like bun's logo 🤔

  • @ASmith2024
    @ASmith2024 4 месяца назад +15

    CSS has my vote.

    • @bananahammock924
      @bananahammock924 4 месяца назад +3

      By far the best programming language

    • @gcxs
      @gcxs 4 месяца назад

      CSS and Spelunking into mdn docs wins.

  • @TheSulross
    @TheSulross 3 месяца назад

    Zig vs Rust - the final battle for the fate of the galaxy for next 100,000 Terran years

  • @abrahamv09
    @abrahamv09 4 месяца назад +4

    what's the name or link of the zig discord?

  • @jgndev
    @jgndev Месяц назад +1

    All in on Zig, like where this is headed

  • @theLowestPointInMyLife
    @theLowestPointInMyLife 4 месяца назад +20

    I love the idea of Zig, its practically ideal in theory for my taste, but I dont like the implementation, the syntax also turns me off. That said there was a time when I thought Rust was ugly but after using it a while you come to appreciate it, maybe the same would happen with Zig if I gave it a real chance. I also doubt Zig has the ecosystem to compete with Rust, libraries are a big part of what make a language good.

    • @plaintext7288
      @plaintext7288 4 месяца назад +3

      I'm neither a rust nor a zig dev, but aren't c libs easy enough to use with zig? I know same can be said about many languages, but zig seems to have one of the best integrations

    • @lmnts556
      @lmnts556 4 месяца назад +5

      I absolutely agree, the syntax itself could have been done so much better. It just feels bad to write honestly.

    • @TJackson736
      @TJackson736 4 месяца назад +3

      ​@plaintext7288 you can use C libraries as if they were zig libraries.

    • @arimill1045
      @arimill1045 4 месяца назад +4

      Zig as a tool to use C is the best of all worlds imho, sorta wish they just stopped there to bring C into modernity

    • @AloisMahdal
      @AloisMahdal 4 месяца назад

      @@lmnts556 which parts? I pretty much love zig syntax but I have no real comparison (i only worked with higher level languages, Python, Bash, nowadays JS, ugh...); wonder what could have been done better.

  • @mattius17
    @mattius17 4 месяца назад

    Can we take a minute to appreciate Prime resisting the urge to immediately yell TOKIO

  • @Tony-dp1rl
    @Tony-dp1rl 4 месяца назад +2

    Market share of both combined ... probably 3%

  • @JoeJoeTater
    @JoeJoeTater 4 месяца назад +1

    I'm learning Rust right now. I have to agree, interacting with libc stuff is painful. Like, I wrote a TUI minesweeper game... Half of my time was spent trying to figure out how to flush stdin. The other half was spent actually writing code.

    • @SimonBuchanNz
      @SimonBuchanNz 4 месяца назад

      std::io::stdout().flush() didn't work/was hard to find?

    • @SimonBuchanNz
      @SimonBuchanNz 4 месяца назад +2

      Sorry, saw you said stdin. That's more complicated, yeah, especially since it's pretty os sensitive.

    • @SimonBuchanNz
      @SimonBuchanNz 4 месяца назад +1

      ​@@Tom-dd3vlthat's not really true, there's environmental buffers like readline you may need to talk to get character based input at a terminal.

  • @Hyperbog
    @Hyperbog 4 месяца назад +7

    I haven't started my CS degree yet, but as a musician I'll give my outside looking in opinion.
    Almost everything on RUclips regarding programming languages is like working in a music store where the inevitable love of music dies and every conversation devolves into talking about gear. Nothing but gear. Gotta change the pickups. What capacitor are you using? I use GraphTeq nuts you're still using acrylic? How about them brass trem blocks? Do you use pure nickel wound strings or Cobalt? I prefer stainless steel jumbo frets. I like these tubes because they breakup dirtier than those tubes. I put greenback speakere in my cab. Gear. Gear. Gear.
    Everyone is busy talking gear that they get sucked into obsessing about things that literally don't matter. The professionals don't think about that stuff. Their techs are using Fractals or Kempers backstage anyway.
    People who work in music stores understand. When you snap out of it you realize you just gotta make music, man. Just make music. The nuances of gear are a distraction from the love and fun of making music.
    That's what I hear with all of these discussions. Programmers talking about gear and not making enough music. So-to-speak.
    I can't wait to just find my language and make some music instead of getting into debates about what's better and never having the focus to just settle on my instrument to write with.

    • @xomiachuna
      @xomiachuna 4 месяца назад +2

      For most applications the language choice is not terribly important, but some important applications do require certain properties that only a subset of languages adequately covers. On this regard it is closer to the regular engineering - the choice of tools and materials does indeed matter as you cannot build a safe bridge without proper equipment/materials

    • @Hyperbog
      @Hyperbog 4 месяца назад +1

      @xomiachuna knowing the essentials is fine. Obsessing to the point where all one does is hyper focus on every little inconsequential nuance of every language makes it seem like either no language is good enough or every language is only as good as your knowledge and that there's always something better. Which then makes it seem like modern programmers have a massive issue with jumping from one language to another in search of the perfect language. It also seems incredibly counterproductive to have so many languages competing for a user base.

    • @PassifloraCerulea
      @PassifloraCerulea 4 месяца назад +1

      Awesome perspective. As an Old Guy Programmer who has seen a lot of stuff come and go, I tend to agree. Unfortunately, we have a constant influx of inexperienced folks creating shiny new "gear" to replace the not so great old "gear" but all of it ends up feeling sub-par over time. My personal solution is to stick with C because I still _get stuff done_ no matter who tells me I'm being unproductive, unsafe, irresponsible, etc. I don't want to work with those young whippersnappers anyway 😁

    • @blarghblargh
      @blarghblargh 4 месяца назад

      @@Hyperbog as someone who's been programming for a long time, programming languages get pretty easy to pick up after a while. a for loop in one language doesn't look that different from another. there's reason to have competition in the space, because we learn better ways to make tools. but I fully agree that finding The One True Language isn't going to happen, and is a distraction. Pick up languages when it makes sense for your projects. You'll know when it does.

  • @petrusboniatus
    @petrusboniatus 4 месяца назад +4

    I think The case for Rust was not really well presented. For me it boils down to the power of the time system. People use Haskell for a reason even if it's worst to some other language in every other thing (comparing it to languages of that size and age) but the type system.
    Also this thing about writing the macros in the language Itself exist since before I was born in lisps/schemes. And yes they are powerfull... But there is a reason they didn't catch on in the mainstream. The less you metaprogram and the more you use standard concepts of the language the easy is your code to understand, so having it too easy I think in practice is detrimental to code reuse in the long run.

    • @ForeverZer0
      @ForeverZer0 4 месяца назад +1

      I agree with your point, but i think Zig's case for the metaprogramming with comptime is that it struck a very good balance of being extremely useful without over-complicating or making it difficult to understand.

  • @neonshadow9667
    @neonshadow9667 4 месяца назад +3

    How could you do a performance related conference and not include Casey?

    • @SnowDaemon
      @SnowDaemon 4 месяца назад +1

      Casey really doesnt do Rust or Zig

  • @JLarky
    @JLarky 4 месяца назад +1

    It took me two minutes to realize that it was Jarred

  • @smaplessmap5355
    @smaplessmap5355 4 месяца назад +1

    Atm cpp is the go until zig improve to the final release! Zig needs more support by community! Hopefully they prevent big tech companies to sneak in! Rust is cumbersom except the tooling, which is rly great!

  • @F.a797
    @F.a797 4 месяца назад +18

    This seems like a nothingburger tbh.

    • @AloisMahdal
      @AloisMahdal 4 месяца назад +11

      i got bored pretty fast, only thing i remember is Glauber being kinda jerk to Pekka
      their chemistry was like they started a massive fight just 5 minutes before the talk, and it seems that the best Prime could do was to put their thumbnails in a different corner so that they don't bite each other.
      i mean interesting but this ain't a reality show

  • @Jabberwockybird
    @Jabberwockybird 4 месяца назад +1

    Yes, Walther P99 for the win!

  • @zxnnightstalker2289
    @zxnnightstalker2289 3 месяца назад +1

    That was such a great conf.

  • @maxmustermann5590
    @maxmustermann5590 4 месяца назад +9

    I don't get these topics tbh. Zig tries to be a better C, Rust tries to be a funamentally save C++, they can coexist being a good at their own thing lol

    • @steveoc64
      @steveoc64 4 месяца назад +6

      They are fundamentally different approaches to the same problem
      Rust is like “my child isn’t allowed out of the house without wearing a mask, and must be under supervision at all times”
      Zig is like “get outside and play in the dirt, make sure you are home before it gets dark”

    • @blarghblargh
      @blarghblargh 4 месяца назад +1

      @@steveoc64 sort of. but zig's parents taught their teens how to use condoms, proper traffic safety, situational awareness, and had some talks about safe drugs/alcohol experimentation, safety at parties, and gave them some confidence against peer pressure, whereas C programmers said "you'll figure it out. want a hit off my vape? watch out, it's high THC. nerd".

    • @rusi6219
      @rusi6219 4 месяца назад

      ​@@blarghblarghthats not what a responsible parent does

    • @tychoides
      @tychoides 4 месяца назад

      @@steveoc64 and Rust child becomes and engineer, and Zig child becomes a crack head.

  • @Hardware-pm6uf
    @Hardware-pm6uf 4 месяца назад +13

    Ada ftw

  • @krumbergify
    @krumbergify 4 месяца назад

    Ever since the C++ committee voted against breaking the ABI in order to increase performance the reason for using C++ in new software where Rust is available simply doesn’t exists.
    C++ is not memory safe and no longer the fastest option, it is simply a complex legacy language.
    Zig is cool and the cross compiler is awesome, but I think its niece is quite small since it tends to get squeezed between Go and Rust.

  • @airkami
    @airkami 4 месяца назад

    Algorithm interactions are nice. I think I am okay with learning Smaug using the discipline I used to learn Go. I’m not sure I find it as fun with it looking more like c++ than like c#

  • @k0rnburn
    @k0rnburn 4 месяца назад +1

    D is a nice alternative that can be used for both low-level code (C, Zig area) and high-level code (C#, Rust, Go area)

  • @clarencemoss1227
    @clarencemoss1227 4 месяца назад +1

    No one's talking to accountability

  • @lisinsignage
    @lisinsignage 3 месяца назад

    C3 language also looks good.
    Still need to find time to play with it but I like what I read...

  • @FlaggedVideoGuy
    @FlaggedVideoGuy 4 месяца назад +7

    Hearing the CEO of a database company not understand why python was chosen as the analytics/ML language of choice is hilarious. Here's a question.... why write SQL when you can just query the data with rust/zig....? Python is a language to USE tooling not build tooling. Most major python packages use c/c++ or rust under the hood to get only slightly worse performance but at a benefit of writing simpler, faster to write and faster to iterate code.

    • @blarghblargh
      @blarghblargh 4 месяца назад +2

      people who build databases don't tend to be the people crunching data to put in databases. they usually try to be agnostic of that level. they're focused on their own performance, and the interface they expose to their own software. unless you're a giant provider like oracle or something, in which case you're trying desperately to integrate farther into customer's solution stack.
      but yeah, historically python has been seen as a very low performance language. many people (probably wrongly) assume it's inherent at all levels of the langauge, even at an abstract level, and not an aspect of the specific implementation(s), or more subtle choices in the mainstream variant of the language. if the person hasn't been implementing python-like languages themselves, or doing high perf optimization work directly on a python codebase, there's probably not a ton of reason to question that part of the language's reputation. mojo is probably going to be a little bit of a shock to a lot of systems-level programmers.

  • @demarcorr
    @demarcorr 4 месяца назад +1

    c# es numero uno, zig is a far low #2 and rust has a solid footing at dead last

  • @carstenrasmussen1159
    @carstenrasmussen1159 4 месяца назад

    I like ctfe(comptime) and the introspection I use it in D a lot

  • @treehouseskoolie2515
    @treehouseskoolie2515 3 месяца назад

    Fighting compilers is a feature.

  • @Shaunmcdonogh-shaunsurfing
    @Shaunmcdonogh-shaunsurfing 4 месяца назад

    Sorry, rookie question. I’m guessing “comp time vs generics” is not referring to compile time vs generics in this discussion?

    • @steveoc64
      @steveoc64 3 месяца назад +3

      It is exactly that. Zig implements generics as compile time functions that return a type
      That covers both generics and macros, without needing to introduce a new meta-language or pre-processor

  • @p99chan99
    @p99chan99 4 месяца назад +9

    This feels so weird... lmao

  • @flamakespark
    @flamakespark 4 месяца назад +3

    JDSL ftw. Tom is a genius

  • @meldeebueno
    @meldeebueno 4 месяца назад +3

    Prime is like the DrDisrespect of devs. The loyal version lol

    • @manishshaw1002
      @manishshaw1002 4 месяца назад

      initial few days i watched him thinking doc without glasses doing coding i realized way later that he doesn't play cod he code. and he codes fast...faster .....very very faster that too in vim 😮

    • @blarghblargh
      @blarghblargh 4 месяца назад

      they look similar, prime does memes, and they both stream. the comparisons mostly stop there

    • @meldeebueno
      @meldeebueno 4 месяца назад

      @@blarghblargh Yeah haha

  • @AFGautonompunk
    @AFGautonompunk 4 месяца назад

    really anticipate this conversation and the conference, however, the echo is annoying!

  • @sorek__
    @sorek__ 3 месяца назад

    I want ZIG++ with operator overloading and other fun stuff from C++.
    Otherwise I prefer ZIG to Rust totally!

    • @Solid_Fuel
      @Solid_Fuel 3 месяца назад +1

      you monster

    • @sorek__
      @sorek__ 3 месяца назад

      @@Solid_Fuel hey. I do embedded. Smart pointers aren't needed. People complain about Cpp11 but you don't have to use all those funky features. Just operator overloading, inheritance, templates and other QOL things.
      If you write C++ like C code with QOL stuff and take care of memory yourself it's really good to use.

  • @dennisestenson7820
    @dennisestenson7820 6 дней назад

    Nothing like watching 4 talking heads freeze trying to do 60fps... sigh.

  • @krunkle5136
    @krunkle5136 4 месяца назад +9

    C is Rust's daddy.

    • @SirSomnolent
      @SirSomnolent 4 месяца назад +8

      Rust is that son that went to college and came back a little off.

    • @CatFace8885
      @CatFace8885 4 месяца назад

      C is the daddy of all languages tbf

    • @blarghblargh
      @blarghblargh 4 месяца назад

      @@CatFace8885 ALGOL

    • @niggacockball7995
      @niggacockball7995 4 месяца назад

      @@SirSomnolent with a mutilated genital...

    • @sn-xc7rv
      @sn-xc7rv 4 месяца назад

      That shows in the kind of programmers who use it too​@@SirSomnolent

  • @pmcgee003
    @pmcgee003 4 месяца назад

    The involvement some of these guys are displaying for "their language". 😅

  • @frankenmint
    @frankenmint 4 месяца назад +1

    Talk about that setup pls, two obs???? 😮

    • @AloisMahdal
      @AloisMahdal 4 месяца назад +2

      yeah it wouldn't be polite to keep bringing it up but "i think we can all agree" that was the most interesting topic of the video
      (i mean zig vs rust would have been interesting, just this particular talk didn't work very well tbh)

  • @RobertGardnerEngineer
    @RobertGardnerEngineer 4 месяца назад +4

    I use Rust every single day.
    I have used Zig, and prefer Rust.
    I *wish* Rust had comptime.

    • @PiotrPavel
      @PiotrPavel 4 месяца назад

      Maybe create some change request for Rust? and comptime,, some error handling, in Unsafe mode add more manual memory allocation itp,

  • @Alcani3ca
    @Alcani3ca 4 месяца назад +4

    Is CSS better than SQL?

    • @user-eg6nq7qt8c
      @user-eg6nq7qt8c 4 месяца назад +4

      well you can't center a div with SQL can you.

  • @darak2
    @darak2 3 месяца назад

    I had no fun with either of them. Both languages are extremely opinionated, in a way that feels like programming with shackles. If you agree with their opinions, those shackles may even feel comfortable, but I've been born previously by buying into excellent meta ideas that ended up being hurtful in the long run, and not really worth the compromises (compromises that are always *very* hard to see in advance).

  • @eldarshamukhamedov4521
    @eldarshamukhamedov4521 4 месяца назад +9

    The Turso guy is sooo biased.

    • @suede__
      @suede__ 4 месяца назад +1

      Aren't two of them from Turso?

    • @AloisMahdal
      @AloisMahdal 4 месяца назад

      @@suede__ maybe that's what they mean by "biased" -- like "doubled" :D

    • @blarghblargh
      @blarghblargh 4 месяца назад +1

      despite what some people think, bias is good and normal. every idea has a bias of some sort. the important part is to understand your biases, and to reexamine assumptions based on those. becoming bias-free is a non-goal. your biases (ideally) should be changing over time anyway.

  • @haniffaris8917
    @haniffaris8917 4 месяца назад

    The audio volume consistency is awful.

  • @kahnfatman
    @kahnfatman 4 месяца назад +1

    When tech guys act politically and play nice, it is awkward and awful. I have to filter out so many fillers.

  • @pablopico93
    @pablopico93 4 месяца назад +2

    It seems that the only current purpose of Rust is just the f**ing blockchain jobs, there is not more jobs about it and this is why I prefer learn more in C++ or C than Rust and Zig

  • @engineeranonymous
    @engineeranonymous 4 месяца назад

    English will be the programming language you will all end up using soon.

  • @LethalBubbles
    @LethalBubbles 6 дней назад

    rust is bad because it has drm in the "safety" stuffz if zig has that "safety" stuff, it is also bad if not then maybe it's alright. Elther way oldschool C doesn't have that so it wins by default.

  • @TheCyberBully420
    @TheCyberBully420 4 месяца назад

    What up my Ziggy

  • @nevokrien95
    @nevokrien95 4 месяца назад +2

    I wish we had C and C++ in here as well

    • @blarghblargh
      @blarghblargh 4 месяца назад

      the only reason to prefer those is legacy. they don't have anything going for them that rust and zig won't, besides compatibility with existing libraries/dev ecosystem.

    • @nevokrien95
      @nevokrien95 4 месяца назад

      @blarghblargh ehhh... no like categorically no.on c++ there are stuff c++ lefs you so no other languge does. (I am not the biggest fan but its true)
      And C is simpler than zig, also zig compatibility with C is not that great (try importing errno.h) when you compare to C/C++

  • @dami-i
    @dami-i 4 месяца назад

    Ada is the real deal.

  • @user-jt7wb3zc1m
    @user-jt7wb3zc1m 4 месяца назад +2

    *Well, don't worry, you don't have to be amazing.* _Rust_ 🦀

  • @kobi665
    @kobi665 4 месяца назад +5

    Dude in red doesn't feel like he knows much

    • @perc-ai
      @perc-ai 4 месяца назад

      pekka in red is a 7x engineer lol primagen is like 15x engineer jacob is like 100x engineer and the bald dude is like 10x... thsese are very smart people much smarter than the avg engineer. Chris Lattner that was mentioned is a 500x engineer that is creating Mojo now

    • @kobi665
      @kobi665 4 месяца назад +1

      @@perc-ai whats a 1x ?

    • @RishaadKhan
      @RishaadKhan 4 месяца назад

      ​@@kobi665a regular engineer

    • @Plorpoise
      @Plorpoise 4 месяца назад +5

      ​@@kobi665don't ask, it's not worth it. Software engineer inflation is real and by next year a 1x engineer will be considered a 13x engineer.

    • @perc-ai
      @perc-ai 4 месяца назад

      @@kobi665 your average engineer in any tech company really

  • @matress-4-2323
    @matress-4-2323 4 месяца назад +2

    i don't get the zig hype. there's nothing groundbreaking about it. it's just another language. more similar to odin or something like that than it's own unique language. there is value in that but it's not typescript or what kotlin is to java. it's too different from c to be that but also too similar at the same time to be widely adopted.

  • @abdelmalek_djamaa
    @abdelmalek_djamaa 4 месяца назад +5

    Let's go python

  • @lawrencejob
    @lawrencejob 4 месяца назад

    That mic feedback is ADHD repellant