Static Hermes -- FIRST LOOK!

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 63

  • @JamonsCodeQuests
    @JamonsCodeQuests  Рік тому +5

    Sorry about the dim lighting on this one! My light broke and while I *thought* my alternative lighting was good when I was recording, it didn't work out that way. But that's okay, the content is the important part of this video anyway. Hope you enjoy, and let me know if you want more Static Hermes content!

  • @JamonsCodeQuests
    @JamonsCodeQuests  Рік тому +8

    One other note -- the large binary size was because I was using a *debug* build -- when I used the *release* build of Hermes, the statically linked binary was only 3.7mb. Still bigger than it probably needs to be, but much smaller than what it showed in the video.

    • @tzvetanmikov4614
      @tzvetanmikov4614 Рік тому +3

      Around 2.7MB after stripping the symbols.

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому

      @@tzvetanmikov4614 Awesome. Thanks for weighing in!

    • @elvispalace
      @elvispalace Рік тому

      ​@@tzvetanmikov4614 make videos using Static Hermes

  • @rockNbrain
    @rockNbrain Рік тому +2

    Great job Jamon ... it looks like static Hermes has a great future !!

  • @孔某某
    @孔某某 Рік тому +4

    wow, expecting more video about it~

  • @lucasholmgren7266
    @lucasholmgren7266 Рік тому +1

    Appreciate the opening explanation.

  • @FinlayDaG33k
    @FinlayDaG33k Рік тому +5

    I was always joking that it'd be a matter of time before people would start programming car computers in JS.
    With Static Hermes, this joke may become reality sooner than I thought it would.

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому

      Tesla already uses React Native! I don't know for sure where, though.

    • @FinlayDaG33k
      @FinlayDaG33k Рік тому +1

      @@JamonsCodeQuests They use React Native for their phone apps but outside maybe the UI for the infotainment system, no React Native in the cars themselves.

    • @elvispalace
      @elvispalace Рік тому +1

      ​@@JamonsCodeQuestsmobile app

    •  Рік тому +1

      SpaceX capsule displays UI is running JavaScript

    • @ikilledthemoon
      @ikilledthemoon Рік тому

      Yeah real funny joke.

  • @pasta0328
    @pasta0328 11 місяців тому +2

    Can you call into the compiled library from Swift and Kotlin?
    Would be interesting to use this to create shared libraries that Native + RN teams can both use

  • @md.anisurrahman7937
    @md.anisurrahman7937 Рік тому +1

    Woow, amazing senior 🚀

  • @MrNodon
    @MrNodon Рік тому +1

    Nice video! Do plan also do some benchmarks? It should be pretty interesting since performance should be one of main benefits of Static Hermes

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому +1

      I'd love to do that sometime. In Tzvetan's talk, he shows several benchmarks -- it's between 10-20x speed improvement over interpreted Hermes.

  • @distantforest2481
    @distantforest2481 11 місяців тому +2

    Haxe might be your best. Its java/ javascript like, small fast runs almost everywhere and has had decades of work on it

  • @tylerwilliams9655
    @tylerwilliams9655 Рік тому +1

    re: TS error - could you write a separate declaration file to satisfy your linter without static hermes having to compile that declare statement, perhaps?

  • @dentonholmgren4886
    @dentonholmgren4886 Рік тому +1

    good stuff

  • @h.hristov
    @h.hristov Рік тому +2

    How does that compare to Electron?

    •  Рік тому +1

      Electron is a framework designed to create desktop applications using web technologies that are rendered using a version of the Chromium browser engine and a back end using the Node.js runtime environment. = JavaScript + Chromium as a packaged standalone app and server

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому

      You may be able to use Static Hermes to build desktop apps with react-native-macos or react-native-windows, but that's a ways out yet.

  • @CuberAI_
    @CuberAI_ 29 днів тому

    Can we get a new video about this?

  • @karanahlawat9106
    @karanahlawat9106 Рік тому +1

    What's that font you're rocking?

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому

      It's called Envy Code R; it's an old one, but I really love it.

  • @ghostguppy
    @ghostguppy Рік тому +1

    👍

  • @ehsankhorasani_
    @ehsankhorasani_ Рік тому +1

    javascript having types seems more like assembly script

  • @m00nreal
    @m00nreal Рік тому +2

    is it only me or does the video feels a bit out of sync with the audio

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому +2

      It does ... I've been using Screen Studio because it's so quick and easy to create videos, but I'm getting a little annoyed at these subtle bugs.

  • @i007c
    @i007c 11 місяців тому +5

    tf is that aspect ratio 😂😂

  • @joshuayoes2763
    @joshuayoes2763 Рік тому +1

    Challenge: port a C game and run it on iOS 👀

  • @CoolestPossibleName
    @CoolestPossibleName Рік тому +2

    why not just use C/C++

    • @FinlayDaG33k
      @FinlayDaG33k Рік тому +3

      Because you'd have to learn a new language.
      I can write C/C++ a small bit but if I can use a language I am more familiar with and achieve basically the same, then why not?

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому +1

      If you're familiar with C/C++, that's a viable path. But if you don't, and you can achieve the same performance with TypeScript, why not use what you know?

    • @ikilledthemoon
      @ikilledthemoon Рік тому

      C/C++ for browsers sounds terrible...

    • @CoolestPossibleName
      @CoolestPossibleName Рік тому

      @@ikilledthemoon I don't think you can use this version of javascript in browser, can you?

    • @FinlayDaG33k
      @FinlayDaG33k Рік тому +1

      @@ikilledthemoon Imagine forgetting to do your memory management properly and suddenly some random phone somewhere explodes because of it. :^)

  • @elvispalace
    @elvispalace Рік тому +2

    Show the speed

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому

      Check my Twitter -- posted some stuff over there!

    • @elvispalace
      @elvispalace Рік тому +1

      @@JamonsCodeQuests I saw it, great results. Thanks for your SH support

  • @chswin
    @chswin Рік тому +1

    Why not just use a compiled language 🤷

    •  Рік тому

      because the web assembly code gets quickly too big! it's like 500 kB JavaScript vs 15 MB of web assembly

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому

      There's value in having a common language across many paradigms. You can share knowledge, code, tooling, and a lot more. As with anything, there are tradeoffs.

    • @chswin
      @chswin Рік тому

      @ compiled JavaScript running in web assembly would be large too…?

    • @urisinger3412
      @urisinger3412 Рік тому

      how? JavaScript code should be much bigger then webasm@

    • @Joshua-dc4un
      @Joshua-dc4un 10 місяців тому

      @@chswin why will you compile js to wasm?

  • @salman0ansari
    @salman0ansari Рік тому

    just use go

    • @JamonsCodeQuests
      @JamonsCodeQuests  Рік тому +1

      How do you use Go for iOS and Android apps?

    • @salman0ansari
      @salman0ansari Рік тому

      @@JamonsCodeQuests wails will support it soon

    •  Рік тому

      use Kotlin for that@@JamonsCodeQuests

  • @therealkbrackson
    @therealkbrackson 11 місяців тому +3

    was i the first woman to watch this video

    • @JamonsCodeQuests
      @JamonsCodeQuests  11 місяців тому +3

      Hm, it still shows 100% male audience. I wonder if it takes a while to show up.