• 0 Posts
  • 8 Comments
Joined 1Y ago
cake
Cake day: Jul 10, 2023

help-circle
rss

The only reason I would switch is if the projects I contribute too would switch. I personally don’t care.


I mean, I get what you’re saying but with rust all that js code is auto generated and you can make a full app without writing a single line of js yourself.


How is it extra effort? It’s just a comment instead of inline types. It’s not like going from no types to types everywhere.


That’s litterally less step. It’s just a comment above a function. How is that more steps?

I mean, don’t get me wrong, I don’t mind build step but this is objectively less steps.


If you want type safety and no build step you do like svelte did and use jsdoc instead. You can run the typescript type checker on those annotations so if you care about not having a build step you can still have type safety.


That’s actually a myth and real world performance isn’t affected by this. See this video from leptos creator which is one of the more popular wasm ui framework https://youtu.be/4KtotxNAwME?si=D_vWV1LPQI-C9j8G

The biggest issue is actually the size of the payload since you need to ship the entire app and language runtime.


Why would you ever need 9 other than trolling people on the internet?