this post was submitted on 12 Jun 2023
142 points (98.0% liked)

196

16303 readers
2936 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (1 children)

That sucks, but you can always compile rust code to wasm which loads in the web browser (well almost always, not all libraries support it). And there is also yew.rs which is kind of like React but in rust! I'm not a web developer myself so I only played with it for fun but it looked pretty promising. You should try these out :)

[–] [email protected] 4 points 1 year ago (1 children)

The world of front-end frameworks/libraries not built in JS/TS is so foreign to me but I'm interested in checking it out. Thanks for the links!

[–] [email protected] 3 points 1 year ago (1 children)

You're welcome! Yeah, I don't think that JS and its frameworks are going anywhere anytime soon as the whole ecosystem is just so massive, but it's cool to try something new from time to time, isn't it? wasm is especially cool because it's much more performant that JS, so I've seen it's already being used quite extensively with games and 3d apps for the web but that's mostly it for now, unfortunately 😅

[–] [email protected] 3 points 1 year ago (1 children)

Personally, I think non-JS web technologies will become a lot more prevalent once web-gpu takes off....either that or someone will just make UnrealEngine.js as if the JavaScript ecosystem isn't already enough of a Frankenstein's Monster.

[–] [email protected] 2 points 1 year ago (1 children)

That's very much possible but also not really idk, webGPU seems like a new generation of webGL and while some engines supported exporting to it, such as Unity, others didn't and idk if that'll change. Because in the end, as far as I understand, webGPU is only a specification for interacting with GPU and displaying graphics, shaders and stuff like that, while all the backend code with game scripts, logic, AI et all has to still be ported to JS, which is ehhhhh not that great. And wasm can interop with webGPU anyway

[–] [email protected] 2 points 1 year ago (1 children)

Yeah I meant more that the ability to have gpu-intensive content on the web will spur development of non-JS web tech to enable it to be leveraged more effectively, not that it would instantly allow thinks like Unity to just be moved over to the web as-is.

I definitely wasn't clear in my wording lol.

[–] [email protected] 2 points 1 year ago (1 children)

Ah it's fine, I thought that when you mentioned UnrealEngine.js as a thing which was a pretty interesting thing to think of lol. But yeah, otherwise I agree with you, we'll see what the future brings, I just hope my precious firefox and mozilla will be able to keep up with all these new technologies and that dominance that chromium has recently.

[–] [email protected] 2 points 1 year ago

Agreed. Tech advancement is awesome, but I also worry about FOSS keeping up with it.