this post was submitted on 27 May 2025
20 points (95.5% liked)
Programming
20435 readers
191 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Maybe I do mean something else. Web browsers currently implement a JavaScript engine and handle the running and memory of that code on the users machine.
Something like Typescript is a great example of an improvement, but Typescript is essentially JavaScript with rules.
Blazor allows JavaScript like interactions, allows the developer to write in C# but gets rendered serverside.
So essentially, I'm looking for a web engine that provides JavaScript like interaction in some other well defined language like Rust, C#, etc.
Blazor can compile .NET to Webassembly and run that in the web-browser.
Current web browser engines generally support JavaScript and WebAssembly, and no others (unless via a plugin, as with Java).
So, if I understand you correctly, your options are to find a language that transpiles down to one of those two (several such languages exist), or find an engine that isn't precisely a web engine but supports some alternative language(s). I don't know any useful examples of the latter, but perhaps someone else will chime in with something like that.