Carbon got your eye? Using C++ libraries today from Jakt & Nim

Sdílet
Vložit
  • čas přidán 3. 07. 2024
  • Source: github.com/contextfreecode/ca...
    This video focuses specifically on using C++ libraries from other languages, rather than on building C++ libraries with other languages.
    And thanks much to everyone working on all the languages mentioned! That includes at least: C++, Carbon, Zig, Rust, Jakt, Nim, & D. I think they're all great work, and I'm glad for the variety of options.
    Also, Jakt has no official logo yet, so in the thumbnail I used the logo for SerenityOS itself.
    0:00 Intro
    0:36 D perspective
    1:17 Jakt & Nim perspective
    2:19 Bullet physics
    2:45 C++ (cpp)
    5:18 Jakt
    8:02 Jakt Bullet bindings
    9:47 C++ generated by Jakt
    11:10 Nim
    12:55 Nim Bullet bindings
    14:07 C++ generated by Nim
    16:42 D again
    19:30 Outro
  • Věda a technologie

Komentáře • 32

  • @MrJCraft
    @MrJCraft Před rokem +30

    D has had some recent updates to c++ interop that hasnt been updated on the website yet its currently being rewritten as of the recent Dconf because one of the talks really expanded the interop a lot more so look forward to that.

    • @contextfree
      @contextfree  Před rokem +8

      Thanks much for the updates on that!

  • @Cronofear
    @Cronofear Před rokem +14

    IMO Nim is the best designed languages of the "c++ killers". And it doesn't even try to be a "c++ killer".

    • @homelessrobot
      @homelessrobot Před rokem +1

      I like the core of nim, but it has become a disjointed feature pile.

    • @gandalfgrey91
      @gandalfgrey91 Před 6 měsíci

      @@homelessrobotnice so its a javascript killer too

    • @homelessrobot
      @homelessrobot Před 6 měsíci

      @@gandalfgrey91 my guess is it's mainly a nim killer

  • @trustable4728
    @trustable4728 Před rokem +19

    Seeing Nim and Jakt together in a video is great!

  • @souls.7033
    @souls.7033 Před rokem +15

    Saw Jakt.. had to come in and like!

  • @JulioLabarca
    @JulioLabarca Před rokem +2

    Great video!

  • @dariusduesentrieb
    @dariusduesentrieb Před rokem +34

    Nim♥

  • @valigo
    @valigo Před rokem +8

    By the way Jai has really strong interop with C++ through the bindings generator that is shipped together with the compiler

    • @contextfree
      @contextfree  Před rokem +3

      I hadn't looked into that yet. Thanks for the tip!

    • @_slier
      @_slier Před rokem +1

      do you have access to close beta?

    • @valigo
      @valigo Před rokem +2

      @@_slier I do yeah, I also follow one of the compiler devs who regularly streams on twitch, so was able to witness (haha) a lot of work on C++ bindings generator

  • @gideonunger7284
    @gideonunger7284 Před rokem +3

    i like that swift syntax highlighting for jakt xD
    syntax is quite compatible.

    • @contextfree
      @contextfree  Před rokem +4

      JT also let me know now that there's a vscode extension in the Jakt repo. Not yet on marketplace, though, which is why I didn't find it when I looked for it before making the video.

    • @gideonunger7284
      @gideonunger7284 Před rokem +1

      @@contextfree yeah he did a great stream on how they even did a minimal but effective auto completion in their plugin.

  • @TechnologyBudda
    @TechnologyBudda Před rokem +5

    Please do a video comparing Nim's ARC/ORC vs Rust

    • @contextfree
      @contextfree  Před rokem +3

      I've been using ORC some, but I haven't dug deep into it. I really need to do that, including looking at the generated code and so on.

  • @eduardabramovich1216
    @eduardabramovich1216 Před rokem

    Jakt seems to be like an evolution of Objective-C.

  • @cbbcbb6803
    @cbbcbb6803 Před rokem +1

    What programming language is the C++ compiler written in? And what language was that compiler generating languade written?
    If C++ and Rust and Python were written in C, then what was C written in?
    Can the source code that created C++ be modified to make C++ do whatever it needs to do to be better?
    I do not have a clue about creating programming languages, I'm just mystified by it.

    • @contextfree
      @contextfree  Před rokem

      I suspect the original C++ compiler was written in C, but I haven't double-checked that. But compiler bootstrapping and self-hosting is a fun topic. But it's also ok to make one language in another. Maybe you should go through Bob Nystrom's Crafting Interpreters which is available online for free or purchase.

    • @hansolo7988
      @hansolo7988 Před 8 měsíci

      Once you get a compiler up and running, you can re-write the compiler in the language which it compiles 🤯

  • @technologicalwaste7612
    @technologicalwaste7612 Před rokem +7

    "2 weeks since I last updated Jakt ... "'
    You do this just to torture the language creator?

  • @johnmukendi7650
    @johnmukendi7650 Před rokem +1

    I'm unstoppable I'm a Porsche with no brakes