Dioxus vs Leptos | Rust GUI Wars #2

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

КОМЕНТАРІ •

  • @loganbries3867
    @loganbries3867 22 дні тому +1

    3:16 Because Leptos uses trunk, if you edit a file and save, it will hot reload. Even though it does not have its own CLI it still supports hot reloading. Great video!

    • @crvcode
      @crvcode  21 день тому

      Good point! I will test that out soon and add it to the description if it works out.

  • @liz2k
    @liz2k 15 днів тому

    I started do app with Dixous, and found a lot of issues when I can't find common things (React-like) in documentation.
    For example how to do Fn parameters, optional parameters etc.
    I have stucked...
    And then rewrited everything to Leptos. Now I'm very happy.

    • @crvcode
      @crvcode  14 днів тому +1

      I agree with you 100%. The documentation issue halted my development early on when I first tried to use the framework and I really do hope that the Dioxus team realise that this is possibly the most important factor in growing their framework. I hope you have a great time in Leptos however! Thanks for watching!

  • @nmrd666
    @nmrd666 3 місяці тому +9

    developer experience: 1/5 dioxus, takes years to compile

    • @GoldenAdhesive
      @GoldenAdhesive 2 місяці тому +1

      rust is generally quite a slow compiling language honestly. Considering its comparable to C++ it makes sense.

    • @arushford
      @arushford 19 днів тому

      @@GoldenAdhesive if that true it about to get smoked by C++23 modules

  • @stephanerebai8005
    @stephanerebai8005 3 місяці тому +1

    how about a comparison of the generated HTML and i assume JS assets ?

    • @crvcode
      @crvcode  3 місяці тому

      Thanks again, Ill see what I can do about that, but the issue is that : its a category that might not apply to all frameworks. But I will consider adding the non-subjective and general, "file size category".

    • @fakhrulhilal
      @fakhrulhilal 2 місяці тому

      @@crvcode I think so, considering file download is essential in browser world, regardless how fast current internet speed is

  • @malcolmdude
    @malcolmdude 3 місяці тому

    Very helpful, thanks!

  • @Shaunmcdonogh-shaunsurfing
    @Shaunmcdonogh-shaunsurfing Місяць тому

    Excellent

  • @romanstingler435
    @romanstingler435 3 місяці тому

    your benchmarks that you show are old, the latest version has
    leptos-v0.6.3 dioxus-v0.5.1
    1.33 1.49 => weighted geometric mean
    but I agree leptos is harder for beginners

    • @crvcode
      @crvcode  3 місяці тому

      Thanks, I didn't know. I'll try not to repeat the mistake in my next video.

    • @romanstingler435
      @romanstingler435 3 місяці тому

      @@crvcode no big deal, I just wanted to point this out

  • @kuhluhOG
    @kuhluhOG 2 місяці тому +2

    Leptos is entirely a web framework while Dioxus supports running as a native application (same goes for Iced and Slint btw).
    So you are kinda comparing apples to oranges here.

    • @crvcode
      @crvcode  2 місяці тому +2

      I thìnk I agree with you to an extent, comparing a bunch of different frameworks can be unfair especially when they created for different platforms and user interfaces. However that doesnt change the fact that these frameworks still have a similar purpose : to provide developers an easier way to create user interfaces for their applications and it is by that standard I am mainly comparing them by. Like for example whether its a web framework or terminal user interface : documentation is still important and is a large factor for whether people use the framework. I think despite our differing views here I do still appreciate your criticism and I'll probably end up creating some more leaderboards for each type of framework, so that people can see the "best" for me in each category. Thank you.

    • @pixel7038
      @pixel7038 2 місяці тому +2

      Since Leptos is written in Rust, I can see it using Tauri 2.0 to support native applications

    • @pookiepats
      @pookiepats Місяць тому +1

      @@pixel7038same could be said of any js web technology, tauri has no rust requirement for integration; so that is not a plus consideration for Leptos.

    • @ariseyhun2085
      @ariseyhun2085 Місяць тому +1

      I don't think it's an unfair comparison, they both provide solutions for building web apps, comparing these makes a tonne of sense

  • @naranyala_dev
    @naranyala_dev Місяць тому

    gamedev??

    • @crvcode
      @crvcode  21 день тому

      I have some stuff planned soon.