Swift creator Chris Lattner on Mojo & Roc

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

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

  • @grzegorzryznar5101
    @grzegorzryznar5101 2 месяца назад +8

    I highly appreciate this technical stuff with detailed questions! Great podcast, thank you :)

  • @veronikawinters6435
    @veronikawinters6435 2 месяца назад +18

    this is highly technical but approachable

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

    I love these podcasts, they always motivate me to continue working on my language, thank you for that!

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

    Re 1:27:00ish
    The cultural norm in OCaml is no type annotations in `.ml` files, but typically people write `.mli` interface files, and there all public signatures are annotated

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

    Really good discussion. MAX/Mojo sound super awesome.

  • @alurma
    @alurma 2 месяца назад +13

    Awesome!!!

  • @familyshare3724
    @familyshare3724 29 дней назад

    I suppose then signature annotation are the same in Python and Mojo (not list[int]) but def myF(i: List[Int]) -> Int:

  • @Jebusankel
    @Jebusankel 2 месяца назад +1

    Raku also has excellent Unicode support with native support for grapheme clusters

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

    45:46 so, slowly programing languages are converging into Lisp. Imagine decades of career experience just to converge back in 1959. Just another case like Uncle Bob.

  • @mx-5driver406
    @mx-5driver406 2 месяца назад +3

    Chris seems like a smart guy so his ignorance regarding Rust is a bit surprising. Rust panics on integer overflows in debug mode because it gives you at least some chance of detecting the error early. In release mode Rust uses wrapping just like Mojo. So it's really the best of both worlds. If you always want wrapping behavior you should use the special methods for that.
    And usage of unsafe is not frowned upon in the Rust community. Of course it's ok to use it in some cases (like the example they bring up of interfacing C libraries), but you very seldom need to use it for performance reasons (array bounds checking is typically avoided by using iterators).

    • @GuiseppeZanotta
      @GuiseppeZanotta Месяц назад +3

      "ignorance regarding Rust" why would he care about a seemingly useless language in the context of his professional career? I'm willing to bet his priority list doesn't include Rust. I don't take Chris for a language fanatic / fanboy so this is not surprising.

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

      @@GuiseppeZanotta totally agree, People like this really do make rust feel like a cult

  • @pookiepats
    @pookiepats 16 дней назад +1

    even Chris doesn't use LLVM 😂

  • @ultrasound1459
    @ultrasound1459 2 месяца назад +18

    Not touching Mojo until its completely open source 💯

    • @DataPastor
      @DataPastor 26 дней назад +1

      This. Not touching Mojo until they get rid of the competitive clause (for Mojo. Idc the Max platform).

    • @pookiepats
      @pookiepats 16 дней назад +3

      we'll try to battle forward despite this great loss i really hope we can get by without you and yours. 😂

  • @pookiepats
    @pookiepats 16 дней назад

    my favorite part about learning Swift is it made Rust no biggie 😅if you dont think you can, you're wrong.

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

    its still isn't a superset, calling it a superset is just a buzz word, C & C++ are two programming languages with a big intersection.

  • @trisimix
    @trisimix 2 месяца назад +24

    Whats with mojos licensing? It makes it seem more like an AI cash grab than a trustable language

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

      ruclips.net/video/tYujSI_aoqk/видео.htmlsi=1c43b3mPcFMHqukJ

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

      I really wished Chris worked on something more open that takes into account all the mistakes and techniques we’ve learned from languages such as Python, C++, Rust, Nim, Zig, Odin (even Jai) etc including Swift (as Chris himself said in ThePrimeagean stream, That Swift became an unnecessarily complex language) and paradigms such as OOP, FP etc and made something wholly fresh and new that is GREAT. But who has the money to pay except all of those VCs that are hyped currently for “AI”? 😢

    • @melodyogonna
      @melodyogonna 2 месяца назад +9

      Modular is building a managed cloud offering for AI deployment. Their license disallows building specifically just that software without written permission. Can't say I can fault them, there are just a lot of AI cloud popping up and each seeking advantage, making something you intend to turn into a business without a good licence could decimate your entire company before it can stand on its own.

    • @Onyx-it8gk
      @Onyx-it8gk 2 месяца назад +31

      Respectfully, that's pretty disingenuous. Chris spent his whole life building some really cool open source projects like LLVM/Clang and employed at companies building up their IP, and now he wants to build something for himself and God forbid be able to make a living on it and be able to employ high-quality people to work on it so they too can earn a living, and that's a "cash grab"?

    • @kellymoses8566
      @kellymoses8566 2 месяца назад +17

      A more charitable take would be that Chris is trying to create a sustainable funding source to support work on Mojo

  • @user-lb8du4dl3o
    @user-lb8du4dl3o 2 месяца назад +1

    Any serious programming language that aims at the future must limit what is built into the compiler and prioritize being meta-first. We have an abundance of programming languages, but for mostly poor reasons.
    Managed languages, in my opinion, have no future. They lost their edge when Rust emerged. While Rust still has some rough edges, it is the easiest language to write performant, safe, and self-contained programs. Languages like Java, C#, Kotlin, Python, and Ruby, among others, fall more into the category of DSLs.
    As for Swift, sorry Chris, but it feels like a mishmash that tries to combine too many elements that don’t quite fit together. Its programming model seems overly chaotic.
    By the way, OOP was and still is a terrible idea. I hope this ideology meets a swift end!

    • @familyshare3724
      @familyshare3724 29 дней назад

      domain specific or legacy specific?

    • @user-lb8du4dl3o
      @user-lb8du4dl3o 29 дней назад

      @@familyshare3724 definitely legacy, but what I meant is that they cannot be considered general-purpose if you are serious about programming, because their programming model is very poor and limited.