Creator of Ghostty talks Zig over Go

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 642

  • @ThePrimeTimeagen
    @ThePrimeTimeagen  3 дні тому +25

    Today's talk with Mitchell Hashimoto - we cover his career, experiences writing open source software professionally and as a passion project, as well as his thoughts after writing a lot of zig for Ghostty. We really hope you enjoy the episode!
    0:00 - Intro
    0:52 - CTO to Open Source
    7:00 - Graphite Ad
    8:10 - Future Of Ghostty
    21:30 - How It Started
    25:29 - Zig vs Rust
    29:53 - Go’s Place In The Stack
    34:28 - Managing Open Source
    42:42 - Motivation
    45:49 - AI
    52:21 - Live Q&A
    Thanks to our sponsor, Graphite! Check them out for stacked pull requests, assisted PR review and more! gt.dev/topshelf

  • @jebrengl
    @jebrengl 4 дні тому +423

    now zig is the new cool thing?

    • @AG-ur1lj
      @AG-ur1lj 4 дні тому +62

      When they Zig I zag

    • @FlanPoirot
      @FlanPoirot 4 дні тому +191

      zig is now the current thing on the prime programming industrial complex

    • @keyboard_g
      @keyboard_g 4 дні тому +187

      Yes. For the next 6 months every other language is terrible.

    • @LeChuck.x17
      @LeChuck.x17 4 дні тому +1

      Naa

    • @omicron1100
      @omicron1100 4 дні тому +48

      Zig has been cool for a while now

  • @Exilum
    @Exilum 3 дні тому +78

    I never wrote Zig, Rust, or Go and I'm having a great time through the entire talk

    • @bobanmilisavljevic7857
      @bobanmilisavljevic7857 3 дні тому +2

      I'm glad you wrote this comment even if you never wrote any of those languages

    • @MadMan123654
      @MadMan123654 2 дні тому +5

      Brother I’ve probably written less than 1,000 lines of code, ever. I’m subbed and actively watch like 10 programming and compsci channels and I don’t even do it lol

    • @christianm4906
      @christianm4906 День тому +1

      Me too. It's funny to see those Rust fan boys angry as if Rust were a religion.

    • @Exilum
      @Exilum День тому

      @ idk, I didn't really much of that at all. I'm not an anti-fanboy kind of guy, people like whatever they like

  • @ximon-x
    @ximon-x 3 дні тому +319

    I used to love Prime's takes on programming languages. It all just feels like content farming now. I don't see the need to put down Go or Rust just to talk about Zig or vice versa.
    We're simply confusing junior devs who don't know any better on what to focus on by constantly picking and pushing a new "favorite language" every 6 months.
    Pick whatever you think works best for whatever you're trying to get done.

    • @aarholodian
      @aarholodian 3 дні тому +21

      It's funny because nobody in the industry talks about languages or tech in general like they do. It's not even the matter of using the right tool for the job, although it's that too. Nobody with any experience has these abstract debates about languages or tools that they use or would prefer to use, for that matter.

    • @complexity5545
      @complexity5545 3 дні тому +14

      I think most of us professionals don't want to use zig, but he's most definitely targeting new viewers and languages that can better pin-down those algorithms. I actually only listen to him in the background because he's one of the few tubers that actually does programming correctly without being boring as h311. Personally I'd like to see him dig into LLVM/clang, the GCC compiler, and A.I. compilers/engines/modeling. But that would be too deep for most programmers.

    • @sub-harmonik
      @sub-harmonik 3 дні тому +7

      Here's the issue: C is almost a perfect language, but compile time 'metaprogramming' support consists of basically the preprocessor which is capable of a lot but even in the case where it is capable of something it's very cryptic.
      C++'s 'solution' to C's limits works ok for some things like simple classes but added a bunch of confusing semantics for templates etc.
      Languages like zig are a step in the right direction but I think Nelua is even easier to do metaprogramming in.
      Of course you could hypothetically modify any language with compiler plugins but having the compiler toolchain, parser, AST etc. be more easily accessible from within something like lua or the language itself (such as zig) is the key.

    • @JeremyAndersonBoise
      @JeremyAndersonBoise 3 дні тому +27

      Content farming is literally the business model, and this is pretty high-quality content. I think you may misunderstand the reasoning behind those switches, or maybe I do, but it isn’t really out of nowhere.

    • @JeremyAndersonBoise
      @JeremyAndersonBoise 3 дні тому +12

      @@aarholodian “nobody with any experience” 😂 You made me laugh, good one. You ARE trolling, right?

  • @noahtah1511
    @noahtah1511 4 дні тому +83

    very strong ad i actually watched it. good job dudes

    • @Rakstawr
      @Rakstawr 4 дні тому

      Agreed. Now I'm curious how long it will take for it to be suggested in our office.

    • @amogh708
      @amogh708 4 дні тому +1

      @@Rakstawr You suggest it. You become the leader

  • @metaltyphoon
    @metaltyphoon 4 дні тому +130

    A trait in Rust doesn’t necessarily mean dynamic dispatching.

    • @weirddan455
      @weirddan455 3 дні тому +40

      It’s not even the default behavior. You have to opt into dynamic dispatch with the dyn keyword.

    • @codeman99-dev
      @codeman99-dev 3 дні тому +3

      Sure, but it feels dynamic. The example they gave was using an editor's "Go to definition" feature and getting multiple results.

    • @hectobit
      @hectobit 3 дні тому +13

      Exactly. Rust monomorphizes generic types to perform static dispatch. You have to explicitly opt in to dynamic dispatch by using trait objects.

    • @anonymousalexander6005
      @anonymousalexander6005 3 дні тому +17

      The JavaScript web bros acting like they have degrees in compilers and language design always colors me pink. It’s great entertainment.

    • @womiro
      @womiro 3 дні тому +4

      @@codeman99-dev This part of the podcast is strange. Yes, it sucks if you want to find a specific trait and get like 20 that match. But it also does suck to have to parse the code of generic Zig functions to figure out what my type needs to implement so that I can pass it to the function. It's not something where I see huge benefits of the Zig approach.
      Don't get me wrong, Zig does look cool and I need to dig in a bit more, but this specific thing was a bit unexpected to be pointed out as an advantage of Zig.

  • @codeman99-dev
    @codeman99-dev 3 дні тому +36

    54:47 Strong disagreement with this statement "...even if AI autocomplete is right 1 out of 50 times you can just ignore the other 49..."
    AI is expensive to run. You either pay for someone else to buy hardware or you buy the hardware yourself.
    When IDEs like Eclipse were new to the scene there's no way this statement would have flown. Today is no different. I have workstation level compute, but it gives me correct suggestions just 2% of the time?
    Nope Nope Nope. All of my nope.

    • @thesenamesaretaken
      @thesenamesaretaken 3 дні тому +10

      To me the bigger issue is how do you ensure the one you go with is the 1 correct result out of 50? Maybe you can "just ignore" half of the bad results but the whole premise of LLMs is that the outputs are plausible so once you've narrowed it down to that point it's going to become increasingly hard to choose which ones are wrong. And in reality there's no guarantee that even 1 result in 50 is correct. It's looking for a needle in a haystack made of fake needles and there may or may not be a needle inside it.

    • @tonyhart2744
      @tonyhart2744 3 дні тому

      Yeah it is hyperbole I think, but you cant argue about AI utility usage

    • @Satook
      @Satook 3 дні тому +10

      Sifting through every pile of junk code it offers up is just annoying.
      I find it so much faster to get a mental grip on what I’m doing and just do it.

    • @elcapitan6126
      @elcapitan6126 3 дні тому +3

      ​@Satook in the long run, same. these tools give a slight boost out of the gates compared to classic search but at some point knowing the ins and outs of what you're doing wins out

    • @blubblurb
      @blubblurb 3 дні тому +3

      I also disagree with this one. If it's that bad it adds a lot of cognitive load. It's the reason I turned off AI suggestion and instead prompt it when I feel like it might speed up something.

  • @diachkow
    @diachkow 3 дні тому +20

    I really enjoyed the video, but Prime, can you please title it with the name of the guest or mentioning this is TopShelf episode that were released, so that it gets more attention and hype when getting to someones feed?

  • @lian_drake
    @lian_drake 3 дні тому +21

    19:44 if that's the definition, then at this moment, any wayland environment in linux has secure entry enabled globally, this is a design limitation of wayland itself (they wanted to make it secure), there isn't currently a way for apps to listen on inputs outside of themselves (that is native to wayland of course).

    • @Satook
      @Satook 3 дні тому

      Pretty sure any app can just read the dev(s) directly unless it’s sandboxed.

    • @lian_drake
      @lian_drake 3 дні тому +3

      @@Satook No, no program can read devices under /dev/input unless the user that executes the program is in the input group or has root permissions.

    • @notuxnobux
      @notuxnobux 7 годин тому

      and under x11 you can use XGrabKeyboard to prevent other applications from receiving input events while you are inputting the password

  • @pokefreak2112
    @pokefreak2112 4 дні тому +49

    Loving this podcast! It would be cool if you could get Andrew Kelly (Zig creator) on.

    • @blubblurb
      @blubblurb 3 дні тому +1

      And then the odin creator, or both at the same time and let them talk.

    • @pokefreak2112
      @pokefreak2112 3 дні тому +2

      @blubblurb They already did an episode with the Odin creator

    • @blubblurb
      @blubblurb 3 дні тому +1

      @pokefreak2112 Didn't know. Thanks.

  • @Gambloide
    @Gambloide 4 дні тому +50

    Secure entry mode was probably the worst example they could have chosen. Applications cannot listen to keyboard inputs in other applications on Linux on Wayland by default. It has been like this for years and to this day still prevents most applications from being able to have globally available keyboard shortcuts.

    • @necuz
      @necuz 4 дні тому +3

      Yeah I wasn't sure I understood the feature correctly, but it does sound like what we have by default all the time.

    • @2Kaleb
      @2Kaleb 3 дні тому +13

      Prime and teej are both on X11 (i3 and AwesomeWM). They wouldnt know this about wayland.😅

    • @brice.rhodes
      @brice.rhodes 3 дні тому +2

      the secure input is for macos specifically how is that a bad example

  • @The1RandomFool
    @The1RandomFool 3 дні тому +6

    Dude, the ad was amazing.

  • @leptir1
    @leptir1 4 дні тому +19

    58:10 - 58:19
    this needs to be an animated emote. It needs to. I want it.

    • @azeek
      @azeek 3 дні тому

      100%

  • @jhqcat
    @jhqcat 3 дні тому +7

    i'll be honest i usually skip those ads but that one was actually funny lol

  • @aarholodian
    @aarholodian 3 дні тому +24

    Need more serious programming content like this where serious experts discuss serious industry trends that employed software engineers obviously talk about (they only talk about making a CRUD apps and pointless terminal games). For the next video titles I propose "PoopScript is just better than CSHART", "Grumbo is just better than Mlep", and my favorite, "A slice of tangerine is just better than the color blue"

    • @rzyr
      @rzyr 3 дні тому +3

      the last one is demonstrably wrong and I'm willing to argue about it

  • @M0J0-RL236
    @M0J0-RL236 3 дні тому +3

    Great timing. I just got the zig init program running yesterday. Looking forward to actually building something soon

  • @blubblurb
    @blubblurb 4 дні тому +12

    @20:00 In Wayland by default only the application you currently are can listen to the input, that's why global shortcuts don't work. At least that's how I understand. On mac, every application can listen to input events, unless you activate secure input. That sounds to me like the better approach.

    • @brice.rhodes
      @brice.rhodes 3 дні тому

      that was specifically for macos

    • @blubblurb
      @blubblurb 3 дні тому

      @@brice.rhodes Yes if you are talking about ghostty. What I meant is, Wayland should have been this way around. Offer a feature like SecureInput and otherwise let programs be able to listen to the keyboard inputs. This way, global shortcuts would work.

    • @LtdJorge
      @LtdJorge 3 дні тому +2

      ​@@blubblurbor, make the listening for inputs be configurable by the user. Right now, this is something the compositors have to implement in their own protocols.

    • @blubblurb
      @blubblurb День тому

      @ That also sounds like a good idea.

  • @droja519
    @droja519 4 дні тому +35

    I fucking understand man why zig > go when you want to do stuff that's involve some what low level go doesn't go that far. it starts to sucks. Btw I love Golang.

    • @Rakstawr
      @Rakstawr 4 дні тому +2

      I really am looking at the language spec of zig right now and it's super easy to follow. I main go but zig looks like it will be quick and easy

    • @TheSulross
      @TheSulross 4 дні тому +11

      Golang is not a systems programming language (so is not a legit successor language to C).
      I put Golang as being closer to Java - but without the JIT overhead, and Golang objects get allocated at life-time fixed positions in memory whereas Java heap objects can be compacted so as to lessen memory fragmentation.

    • @droja519
      @droja519 3 дні тому

      I meant when you already start whatever the fucking project in go by the time you realised you need low level things. You have to rewrite in whatever your fucking system programming languages.

    • @ggcc3261
      @ggcc3261 3 дні тому

      glad you fucking understand

    • @codey1391
      @codey1391 2 дні тому

      @@kidpudel If he sticks to the same language it's harder to keep making new videos

  •  15 годин тому +1

    5:17 hat off, Having worked at various job levels and led a company, I fully understand the importance of recognizing and accepting the trade-offs between financial gain and status. Admitting this is a significant achievement. I have been following Mitchell since the Ruby days, and these statements are as impressive as all his past achievements and contributions.

  • @apatterndarkly
    @apatterndarkly 3 дні тому +16

    I've literally been pondering the implications of LLMs training on GPL licensed code for the past few days, so that bit of discussion was wild to hear. The conclusion I've come to (as a non-lawyer, to be clear) is that training your LLM on GPL code is using GPL code to build [the functional utility of] your product, and therefore your product is beholden to the terms of the license. I have zero faith it'll play out that way in an actual court of law, but to my mind that logic is intact.
    Also, it'll be tragically and disgustingly ironic if these products partially built from the open source fruits of altruistic labor are leveraged in a manner that steals jobs from and deprives of livelihoods the very people responsible for writing and freely sharing that code in the first place.

    • @attentioncestpaslegal7847
      @attentioncestpaslegal7847 3 дні тому +1

      It's highly probable that an LLM one day will spit out the exact name and content of a function from some GPL code.

    • @keoghanwhimsically2268
      @keoghanwhimsically2268 3 дні тому +3

      That’s not how copyright law works. A GPL challenge would fundamentally be a copyright challenge, and if you can’t clearly show what you claim was copied, and it’s significant enough and distinct enough to survive fair use analysis, you’ll just be wasting the court’s time.
      Indeed, if things worked that way you want it to, a lot of major open source projects would themselves be at risk, as there are both enough common idioms in software programming as well as natural ways to do specific things in specific languages and platforms, that it would be too easy otherwise to claim that some code in the the projects copied something else.
      Fortunately, the Oracle/Google Java libraries case places a high bar in the U.S. for what you have to prove to get a court to agree that code was not only copied but that it was significant and distinct enough to matter.

  • @SandeepKumar-ot5im
    @SandeepKumar-ot5im 3 дні тому +2

    Mitchell Hashimoto is such an amazing and charismatic person; I loved his enthusiasm for technology. The combination of you three was perfect and I laughed several times.

  • @voidmind
    @voidmind 4 дні тому +8

    The issue with using GTK / Adwaita to render the UI parts of Ghostty on Linux is that it only really looks native on Gnome.

    • @ForeverZer0
      @ForeverZer0 3 дні тому

      I am sure there will be other ports, the primary project is libghostty, the front-end can change. Think of it as mpv: you can create different front-ends for the same underlying library.

    • @brice.rhodes
      @brice.rhodes 3 дні тому +2

      you can disable adwaita, and the large majority of DE on linux use GTK so it looks native beyond gnome

    • @codey1391
      @codey1391 2 дні тому +1

      gtk-adwaita = false
      gtk-titlebar = false
      gtk-wide-tabs = false
      window-theme = system
      gtk-tabs-location = hidden

  • @necuz
    @necuz 4 дні тому +76

    Ghostty having it as a stated goal to feel native and then completely failing to deliver that on everything that isn't Gnome really highlights the big problem with client-side decorations (and libadwaita).

    • @InfinityN
      @InfinityN 4 дні тому +18

      Great macOS terminal, mediocre Linux terminal at best.

    • @XDjUanZInHO
      @XDjUanZInHO 4 дні тому +7

      it's still fast af, tho as the backend is meant to be pluggable, anyone can go and make a qt front-end or with any other UI toolkit for that matter

    • @noomade
      @noomade 4 дні тому

      @@XDjUanZInHO is it faster than all other terminals?

    • @LucasAndradeX
      @LucasAndradeX 4 дні тому +3

      @@noomade It is the slowest to open that's for sure

    • @noomade
      @noomade 4 дні тому +1

      @@LucasAndradeX interestings. I am not on a Mac. Was just wondering, because of all the noise around it.

  • @koalakakes
    @koalakakes 3 дні тому +81

    we have to stop with these lame things where codefluencers hype up every new thing and everything else is all of a sudden bad. Ghostty is like a very slight improvement in terminal emulation that 99% of people wouldnt even fucking notice. Zig is popular right now but its not the best tool for most people in most jobs so few people will use it anyway.
    also clapping for someone not using reddit and then talking about twitter is a hilarious meme. They're both terrible platforms

    • @simquinoa2030
      @simquinoa2030 3 дні тому +6

      Idk if I’d categorize billionaire hashimoto as a “codefluencer”. I also strongly disagree with ghostty being a slight improvement. I was in the beta and even then it was MUCH more stable, bug free, and performant than kitty, Wezterm, foot etc

    • @vinceplatt8468
      @vinceplatt8468 3 дні тому +4

      Sticking around for when he's at it long enough and realizes the only "edgy" option left is to go back to standard Java or PHP with a claim of "tried and true is best" or something.
      Of course using nvim. 🙄

    • @famoustoxo5644
      @famoustoxo5644 3 дні тому

      How do you want these suckers to get money ? They need to hype things up otherwise no money in the bank.

    • @phene-449
      @phene-449 3 дні тому +1

      code influencers don't really have that much influence. it's mostly new developers that don't have jobs and too much time on their hands. if i had to bet on zig getting mass adoption i wouldn't. the main reason rust got adoption was because it aimed to solve a very specific problem and is very radical in that. these "swiss army knife" languages are never successful. if it was that simple then the most popular languages in the world would not be the most popular.

    • @mareksicinski3726
      @mareksicinski3726 3 дні тому

      Well prime had this choosing a language talk

  • @dranon0o
    @dranon0o 3 дні тому +23

    Go is boring but it works perfectly for small to big teams for backend services.

    • @ferociousjuggler2668
      @ferociousjuggler2668 3 дні тому +23

      Boring for generating content, amazing for generating revenue

    • @MaxJM711
      @MaxJM711 3 дні тому +7

      ​@@ferociousjuggler2668 Such a great way to put it. I love it when people unironically have a strong dislike for Go because "it just lets them work" like what? Like I could understand if you wanted to learn about something specific and the language abstracted a lot of the steps needed to understand said concept, but if it's to make money then it literally is the best thing ever lmao

    • @dranon0o
      @dranon0o 3 дні тому

      @@ferociousjuggler2668 Very well said

  • @black-snow
    @black-snow 4 дні тому +55

    > "It's just so fRUSTrating ..."

    • @JG-nm9zk
      @JG-nm9zk 4 дні тому +11

      The door is over there

    • @TheSulross
      @TheSulross 4 дні тому +4

      Does this weak pun mean that the Rust hype cycle is on the downslope now?

    • @keshav2136
      @keshav2136 3 дні тому +1

      😂​@@TheSulross

  • @stardawggunrocks5152
    @stardawggunrocks5152 3 дні тому +4

    Zig is the Zag she told you not to worry about

  • @severgun
    @severgun 4 дні тому +8

    21:00
    freedesktop and Linus can cut and say DO IT. Wayland 15 years old project can implement that.
    Yes, people will cry and use system-v in 2025 but it is doable.

  • @JG-nm9zk
    @JG-nm9zk 4 дні тому +58

    Has anybody ever thought man my terminal is too slow?

    • @alek282
      @alek282 4 дні тому +29

      Yes

    • @pythagoran
      @pythagoran 4 дні тому +6

      No

    • @hanes2
      @hanes2 4 дні тому +8

      yes. hope you ain't a windows terminal user.

    • @niruniruniru2904
      @niruniruniru2904 4 дні тому +3

      Yes

    • @matta5749
      @matta5749 4 дні тому +2

      Yeah, gvim is somehow noticeably more responsive than vim in my terminal both in powershell and zsh in WSL. Not sure if that’s normal though

  • @PetrGladkikh
    @PetrGladkikh 4 дні тому +5

    I was out of job for over a year, could not find any, and one of my biggest gripes was feeling uselessness. Even doing some personal projects did not quite solved it. By chance there was an opensource project I now support and that filled a big gap for me. After that I were almost upset when found a new job :) So no, I do believe most people (not everyone, but most) will still want to find something to work on even if UBI will becomes a thing.

    • @feralaca123
      @feralaca123 4 дні тому +1

      Learn a language that has a considerable amount of freelance jobs and become independent (PHP is good for that). Or just learn something different, demand for programmers will decrease yearly.

    • @mattymattffs
      @mattymattffs 18 годин тому

      This is a factual statement. It's an actual research concluded fact

  • @kirillgimranov4943
    @kirillgimranov4943 День тому +2

    Zig is basically a golden mean when ya can't choose between Rust and Go

  • @LukasRotermund
    @LukasRotermund 3 дні тому +2

    Great discussion! 🙂👍 now I'd like to take a look at Zig...

  • @morjor-1
    @morjor-1 3 дні тому +2

    26:40 as crazy as it sounds that's partly why i enjoy rust a lot. i enjoy the process of it. it drives me crazy when i see very unstructured and imprecise code. it makes me more productive too because i think that way in general. following the step by step process and thinking more logically than creatively.

  • @darukutsu
    @darukutsu 4 дні тому +10

    20:00 wayland should have had such feature opt in so there wouldn't be problem with global shortcuts

    • @brice.rhodes
      @brice.rhodes 3 дні тому

      that was specifically for macos

    • @darukutsu
      @darukutsu 3 дні тому

      @brice.rhodes i know i was saying it as suggestion

    • @PassifloraCerulea
      @PassifloraCerulea День тому +1

      Even opt out would be fine, so long as there's some standard behavior for application portability. I will probably be forever bitter about Wayland due to how terribly it's evolved over the years with basic features getting rejected time and time again because it didn't fit someone's idealistic vision.

  • @LyntonGrice-v1n
    @LyntonGrice-v1n 3 дні тому +2

    Probably the best content I have seen in ages! Zig all the way👊👌

  • @us4tiyny4n
    @us4tiyny4n 3 дні тому +133

    Echo chamber keeps echoing and chambering

    • @ForeverZer0
      @ForeverZer0 3 дні тому +28

      People love to hate. Hating ghostty and Zig has become fashionable at this point. Everybody wants to show how NOT on the bandwagon they are by hating on software that no one is asking them to use.

    • @JeremyAndersonBoise
      @JeremyAndersonBoise 3 дні тому

      @@ForeverZer0 Those people don’t get it, they may never, and they can wallow in their own mental filth for all I care.

    • @us4tiyny4n
      @us4tiyny4n 3 дні тому +8

      @ well I could tell ya the same about Rust. Or C++. Or CMake. Or …
      What’s clearly lacking is recognition of biases and fair assessment.

    • @Miginyon
      @Miginyon 3 дні тому +1

      And echoing

    • @zimdogmail
      @zimdogmail 3 дні тому

      Cope and seethe

  • @m.minkov
    @m.minkov 3 дні тому

    This episode was great, by far my favorite so far in the series.

  • @hamm8934
    @hamm8934 4 дні тому +174

    Ghostty has got to be the most over hyped mediocre software product ever released. It’s so mid lol. Tech influencers are pushing it like Raid Shadow Legends.

    • @StingSting844
      @StingSting844 4 дні тому +50

      It's free software. No one is saying it's the best everyone is hyped because the author has previously delivered incredible OSS work

    • @m4saurabh
      @m4saurabh 4 дні тому +39

      over hyped sure,
      mediocre nope

    • @VoyivodaFTW1
      @VoyivodaFTW1 4 дні тому +27

      Ghostty will do for terminals what retroarch did for emulation. You don't understand it now. likely never will, but the fact that it's boring is easily the best thing about it.

    • @pencilcheck
      @pencilcheck 4 дні тому +4

      in your opinion what is better then? I downloaded ghostty and it is really good. it is high quality by default.

    • @She-Jinping
      @She-Jinping 4 дні тому +1

      True It's definitely mediocre. Idk why the colors and fonts look much more better in kitty and I am satisfied with kitty. So I'll not be moving to Ghostty.

  • @kenneth_romero
    @kenneth_romero 3 дні тому +4

    Feel like you guys should make a dedicated channel for this type content and just post a community post to get the word out there. keep all the old episodes up on this channel, but make a playlist where people can find all the episodes.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  3 дні тому +2

      There is a playlist

    • @kenneth_romero
      @kenneth_romero 2 дні тому

      @@ThePrimeTimeagen I meant a playlist that the new channel would hold, unless you can pin other accounts playlists as your own.
      but basically the same thing Epic Rap Battles did when moving away from posting on one of the co-creators channel.

  • @AloisMahdal
    @AloisMahdal 3 дні тому +2

    dynamic dispatch be like "let's use the whole computing paradigm to solve this little code cleanliness problem". Zig comptime be like "let's use the whole computing paradigm to solve this little code cleanliness problem .... but let's do it in build time".

  • @AI-xi4jk
    @AI-xi4jk День тому +2

    Can someone explain to me why another terminal? I’ve just installed it but didn’t get the point of it yet. I’m on Linux. I don’t see any special features except that it’s cross platform

  • @sczoot6285
    @sczoot6285 3 дні тому +12

    Nice try but nothing beats GOATlang when writing rock solid production grade web apis

  • @jonthoroddsen6467
    @jonthoroddsen6467 2 дні тому +1

    What an awesome interview! So many takeaways!
    Also, I understand why people are frustrated with Prime abandoning Rust, but save that comment for some other video. This is great content.

    • @jonthoroddsen6467
      @jonthoroddsen6467 2 дні тому +1

      Oh, and to be clear. I don't think Prime is disingenious with leaving Rust, I understand completely where he is coming from and I think Mitchell really drives it home why people might want to do (Zig, Jai, Odin) instead of Rust. For some, Rust gives joy. For others not so much.

  • @Beam_Teamer
    @Beam_Teamer 4 дні тому +49

    lol statements like "Zig is just better than go" are horribly misleading

    • @christophernoneya4635
      @christophernoneya4635 3 дні тому +8

      "fishing is just better than farming". These are two very different things with very different goals. You're not comparing zig and c or whatever, youre comparing zig with a very very high level language, it's just a weird comparison

    • @tofikadigozalov9472
      @tofikadigozalov9472 3 дні тому +4

      its clickbaity, if you base your opinions on a video exclusively from the title that's concerning behaviour

    • @Beam_Teamer
      @Beam_Teamer 3 дні тому

      ​@@christophernoneya4635 exactly, if the comparison is in the networking domain, do we have a lot of real-world examples of a real-service or real network software written in zig? I am not the biggest go fan I'm a C programmer primarily and do C++ at my work but for networking I don't see why zig would be better in terms of productivity, code readability, "enjoyment", or anything with zig I don't even see them as the same class of language. It'd be like comparing C to Php they're like two different languages meant for totally different things. Like yeah sure I could write a web server in C or C++ if I wanted to but why would I do that? Does it really matter if your main bottleneck is ping delay 😂😂 it all depends on what you're trying to do.

    • @Beam_Teamer
      @Beam_Teamer 3 дні тому

      ​@@christophernoneya4635 I've been writing Go for about 3 years now almost and I've got a few complaints with it, it does enforce a certain style which I hate, it has Gc, etc, but if you follow the guidelines and write dumb simple code you can get a lot done in it and I've never had a problem where there was no library to do x that I wanted I always found something to solve my problem in Go can't say the same about any other language. Plus, you can use go by itself with only the standard library and do a lot you don't even need to install third-party code. Why would I overcomplicate my life with C or Zig if all I want is a dumb simple web site or some server that barely does any computing (or not to the level where you'd want to manage memory yourself for example or want precise control over your output asm) ?

    • @attentioncestpaslegal7847
      @attentioncestpaslegal7847 3 дні тому

      I use Dearrow

  • @justadrop1317
    @justadrop1317 3 дні тому +15

    next year: zig sucks

  • @nomads_._land
    @nomads_._land День тому +1

    you and teej should do a cheap greenscreen series where you read out feature requests in a snowstorm or in a desert when you're dying of dehydration or at a rock concert or on the titanic or inside the oceangate sub

  • @JeremyAndersonBoise
    @JeremyAndersonBoise 4 дні тому +1

    Great ad read boys, Graphite is straight dope.

  • @ThePandaGuitar
    @ThePandaGuitar 3 дні тому +2

    once you reach based programmer level, "i write it in X because i have fun" is all you need

  • @anarchymatt
    @anarchymatt 3 дні тому +2

    I appreciate Mitchell & Prime's pragmatism, but for me most of the joy I get from coding is being able to reuse something. FP style composition is useful and exciting for me. I would be more excited to learn Rust over Zig for that reason (though, Ocaml and Haskell are more even more appealing). Being able to say "X lets me do what I want, it's fun for me, and I used it to build cool thing Y" is a based take.
    Some day I hope I can say that I built cool thing Y with Ocaml or Haskell. I just need to go back to school and get a PHD first.

  • @nichohells
    @nichohells 4 дні тому +9

    Nobody is going to pull me out from Alacritty, ballz deep loyalty till the end.

  • @dough-pizza
    @dough-pizza 3 дні тому +3

    Friendship broken with Go
    Now Zig is my new best friend

  • @alberttapia9854
    @alberttapia9854 4 дні тому +65

    I need to go to sleep

  • @JLarky
    @JLarky 3 дні тому +1

    That career growth is impressive

  • @AlexandrGoncharov
    @AlexandrGoncharov 3 дні тому

    aaaactually with TJ looks like going to be the new best meme in my surrounding

  • @yalnisinfo
    @yalnisinfo 4 дні тому +4

    for reference the title was "HashiMoto" at first pthis video published

    • @matta5749
      @matta5749 4 дні тому

      Thanks I’ve always remembered this video as having that title (for the first hour it was up) and I was confused when I couldn’t find it anymore

    • @attentioncestpaslegal7847
      @attentioncestpaslegal7847 3 дні тому

      I use Dearrow.

  • @keyboard_g
    @keyboard_g 4 дні тому +1

    The video thumbnail is peak.

  • @KingJahfy1
    @KingJahfy1 День тому

    Good job with the layout of the speaker panels 👍🏾

  • @StingSting844
    @StingSting844 4 дні тому +5

    Super excited for this 🎉 his work record is phenomenal

  • @carlhicks3491
    @carlhicks3491 День тому

    The penguin in the office is a great analogy

  • @Draconhart
    @Draconhart 3 дні тому +2

    I skipped the sponsor part. Fight me.

  • @dgethings
    @dgethings 3 дні тому

    The comments about PMs (15 mins in) is spot on. They have to apply their “taste” to the feature request.

  • @OxAA00
    @OxAA00 2 дні тому +2

    People in 2025 still asking for pineapple pizza when we're already in the kiwi bacon pizza arc.

  • @mmsbludhound873
    @mmsbludhound873 9 годин тому

    Regarding the Copilot pause I was on a long flight last week and there was no wifi so I took the chance to see how I'd do without Copilot by writing a simple game and it was actually not that bad. It felt akin to switching keyboard layouts (that you are already familiar with) and took about 15 mins to overcome. Granted I'm not 100% familiar with the syntax of Zig as well as the stdlib but a quick peek into the source with peek definition was all it took to get around the language.

  • @vinialves12362
    @vinialves12362 4 дні тому +1

    3:11 man I understood this question so deeply

  • @naimurrahman1406
    @naimurrahman1406 4 дні тому +9

    why not elixir?? for 2025?

    • @henrik908
      @henrik908 4 дні тому

      Cause it can't handle multiple requests at once.

    • @hamm8934
      @hamm8934 3 дні тому

      @@henrik908 what?

    • @henrik908
      @henrik908 3 дні тому

      @@hamm8934 yeah it can't do multi-threading.

    • @hamm8934
      @hamm8934 3 дні тому

      @@henrik908 are you being serious? lol

    • @henrik908
      @henrik908 3 дні тому +1

      @@hamm8934 sarcasm

  • @voidmind
    @voidmind 4 дні тому +1

    20:39 I'm no expert but I'm pretty sure I saw some videos saying the Wayland protocol, which every Linux Desktop has migrated to, doesn't allow global key press capture by default.

    • @apatterndarkly
      @apatterndarkly 3 дні тому

      Hmm, I don't know if or to what extent that's true, but if it is then there are surely caveats/exceptions. For example, changing desktops and triggering the launcher via key combos while in an application works seamlessly on Sway. No action to move focus away from the current application is required.

    • @lian_drake
      @lian_drake 3 дні тому

      @@apatterndarkly Yeah it is true, but not for the compositor itself of course, it's for the applications. In wayland there's no way a program can listen to keystrokes outside of themselves like it could in X11 or any other environment (MacOS, Windows). But this is not about keybinds for the compositor (UI, window manager, desktop environment).

    • @brice.rhodes
      @brice.rhodes 3 дні тому

      that secure input was specifically about macos

  • @stevengpa
    @stevengpa 3 дні тому +3

    I’ll just stick with Go. Thanks.

  • @amosmachora
    @amosmachora 3 дні тому +3

    On Hashis take on copilot, well I feel like you have to be good first then use copilot. Then you can even notice when its wrong.

    • @jakubrpawlowski
      @jakubrpawlowski 3 дні тому +6

      I'm a seasoned engineer and I used CodeWhisperer for 6 months in 2023 and I felt like it was progressively making me disabled. I don't know if it's like this for everyone, but my memory got worse, my already formed habits degraded and I started depending on it for things I did not want to. So for me it wasn't even that suggestions were incorrect - yes they often were - but writing software has more to it than just fixing autocompleted snippets. I used ZERO autocomplete in 2024 and feel I'm way ahead of my version in alternate universe who has.

  • @sho6501
    @sho6501 День тому

    wow I came in to learn about Ghostty but I'm enjoying the vibes! Mitchell Hashimoto seems like a pretty cool dude

  • @orlando7448
    @orlando7448 3 дні тому +1

    what's the use case for go?

  • @etiedem
    @etiedem День тому

    Awesome episode. Kept waiting for them to ask about his shirt. Don't know if that is like a tech-bro shirt where the collar dips down and forms a v-neck 🤯?

  • @RogerValor
    @RogerValor 3 дні тому +1

    Everyone dreams about eliminating the ground works, and just build on top
    But those never involved in the ground works never build anything on top
    So periodically someone comes along and says "hey let's rebuild all these attempts from the ground up"

  • @InsulaLabs
    @InsulaLabs 4 дні тому +4

    casually mentions “you know how when you throw yourself off a cliff…” lmao

  • @ahmed-the-great
    @ahmed-the-great 3 дні тому +3

    They forgot the ask about the imminent license change.

  • @Thorinori
    @Thorinori 3 дні тому

    Ok that Reddit idea is just phenomenal

  • @devpitch
    @devpitch 3 дні тому

    What is the future of multi-cloud or is there vendor lock-in in the nearest future?

  • @alexlangevin8340
    @alexlangevin8340 3 дні тому +2

    Im sticking with go

  • @jakubrpawlowski
    @jakubrpawlowski 3 дні тому

    Mitchell Hashimoto how do you use copilot inside vim? Or maybe you have switched to neovim or vscode?

  • @sord444
    @sord444 3 дні тому +1

    Different font sizes is one of the reasons I use Emacs

  • @ShootingUtah
    @ShootingUtah 3 дні тому +1

    IDK Go is pretty freaking awesome! I've been able to make things that have amazing performance but do things I thought only possible in python( at least easily done) Does Zig really have a bunch of really well thought out packages and libraries that allow building stuff? Not just coding masturbation admiring the syntax or semantics? Hopefully I make sense to people. I'm new to Go too but so far I've been REALLY impressed with it.

    • @blubblurb
      @blubblurb 3 дні тому

      Yes the standard libraries are at least as important as the language itself.

    • @my_online_logs
      @my_online_logs 2 дні тому

      ​@@blubblurbsince when zig has http lib in std lib 😂

    • @blubblurb
      @blubblurb День тому

      @ I have no clue about Zig.

  • @LlwisRoberts
    @LlwisRoberts 3 дні тому +5

    zig and go fill in different niches. Go is a python replacement. Zig is a C replacement. Stop saying "X is better than X", really the only thing you need to be worried about is "what is the best tool for the job?" Also, "what is being used in the real world right now?"

  • @kidpudel
    @kidpudel 3 дні тому +6

    These kinds of cheap, clickbait titles are cringe. Great conversation, though.

  • @JeremyAndersonBoise
    @JeremyAndersonBoise 3 дні тому +1

    Hello, UA-cam commenters, you’re the reason I usually watch this on another platform. Some of these comments make me want to cry. So many bad takes. L

  • @EmbeddedSorcery
    @EmbeddedSorcery 2 дні тому

    Companies need to have PM's and product owners not just define the product for engineering, but explain the use cases and reasons for the solutions they are proposing. Engineers can *sometimes* be intelligent and find a better solution to the real problem.

  • @hazeion
    @hazeion 3 дні тому +2

    best graphite ad.. ever. :P

  • @hqt946
    @hqt946 День тому

    Sr management is constant damage control. On the other end the positive is you can set up a great environment for programmers to do great things that counters some of that

  • @hamzarashid7579
    @hamzarashid7579 4 дні тому +2

    I watched the entire sponsor ad for the first time XD

  • @ohLyln
    @ohLyln 3 дні тому +9

    Ghostty is super overhyped though. It doesn’t feel “native” on anything other than GNOME only if you use libadwaita apps (which by the way means it doesn’t respect ANY theming AT ALL). It look like trash in KDE or any other QT based system, but again refuses to be styled because libadwaita means that the style is baked into the binary. It also takes like seconds to open up on an i7 13700k, nvme and 32gb ddr4. Opposed to Konsole the built in KDE terminal which takes like half a second max.

    • @brice.rhodes
      @brice.rhodes 3 дні тому

      you can disable adwaita

    • @attentioncestpaslegal7847
      @attentioncestpaslegal7847 3 дні тому

      It's a native macOS app + native for the Gnome desktop that Hashimoto uses in his NixOS VM.

    • @brice.rhodes
      @brice.rhodes 3 дні тому

      @@attentioncestpaslegal7847 GTK is still by a large majority the most popular DE framework on linux. You can disable adwaita like I said then its just GTK that doesnt use any gnome specific features

    • @ohLyln
      @ohLyln 2 дні тому

      @@brice.rhodes you can disable adwaita but you cannot disable libadwaita. adwaita is just a theme but libadwaita is a component library that is baked into applications themselves. It cannot be styled because the colors and symbols etc are literally stuffed into the binary not pulled from a theme so Ghostty just doesn’t use your gtk theme at all

    • @ohLyln
      @ohLyln 2 дні тому

      @@attentioncestpaslegal7847 yeah I mean that’s fine and all but why use that over a terminal that’s “native” on all DE instead of just gnome.

  • @Zuranthus
    @Zuranthus 3 дні тому

    we're almost there people

  • @teluial
    @teluial День тому

    It’s kinda funny. The reason the world runs on C is because Unix was written in C.
    Writing Unix in C was VERY MUCH NOT an obvious choice. The reason Unix is written in C is because it was, basically, the Zig of its day: new, small, fast, and fixed a lot of the bloat problems of the mainstream languages.
    Not a “good” language per se, but like JavaScript it got the things the devs wanted right and didn’t give you shit about things you really didn’t want to care about: e.g. compile-time proofs and complex types

  • @ramseymord
    @ramseymord 3 дні тому +1

    Whether you like it or not, 2025 is the Year of Zig. Period.

  • @KerchumA222
    @KerchumA222 3 дні тому

    I wanted to click the Graphite link because I'm lazy but it wasn't in the description as is was promised...

  • @darthcabs
    @darthcabs День тому

    How feasible would it be to make Ghostty feel native on KDE Plasma (Qt environments in general)?

  • @botsjeh
    @botsjeh 3 дні тому

    Ziggo is a internet provider in the Netherlands.

  • @pmrebel2733
    @pmrebel2733 3 дні тому +1

    This is the problem when programming is your God!

  • @Kiyuja
    @Kiyuja 3 дні тому

    I'm currently on the lookout for another low level language. I mostly use Rust but sometimes its hard to get non Rust libraries to work, maybe skill issue idk. Anyway, I dont really want to learn C or C++ rn because I dont like the syntax, which is why I cant wait for Carbon. Is there any other option besides Zig, preferably without a lot of explicit memory management?
    Edit: I found a github threat showcasing new llls like crystal or ODIN and I liked: Alumina, Beef, Cspydr and V. Will watch those in the future

  • @totem6064
    @totem6064 4 дні тому +6

    foot > ghostty

  • @hooflung128
    @hooflung128 4 дні тому +1

    Prime in shambles on the server question on Go

  • @greekapostle4548
    @greekapostle4548 4 дні тому +1

    Im learning zig now cause i need to build something unique

  • @Lazlo-os1pu
    @Lazlo-os1pu 2 дні тому +1

    RIP to all those that learned Rust because prime said so

    • @my_online_logs
      @my_online_logs 2 дні тому +1

      why kid? lmao. prime never mastered rust, i cant say someone that cant create websocket using very high level library is rust programmer, same as someone that know how to pass pointer around in c++ but they dont know multithreading in c++ and the safe practices, you cant call them they mastered c++. we rust programmer that actually mastered rust already experienced the easy and strong rust safety is, saving so much time from debugging hell, producing production ready high quality easily. only moron brain kid that worship an entertainment like a ghospel. prime himself said stop listening to tech influencers in his old video 🤣🤣🤣

    • @RustIsWinning
      @RustIsWinning День тому

      Primer is a fr4ud