Not sure if it started with Bun but there's good momentum.
Here's Scheme in wasm calling JavaScript functions and DOM methods: https://spritely.institute/news/building-interactive-web-pag...
As time goes on WebAssembly will keep displacing JavaScript. We've entered the era of Zombie JavaScript.
JavaScript on the server, only when I can't say no for whatever reason, like being forced to search for another job as consequence of it.
Instead of rewriting JavaScript tools in Zig, Rust, Go, whatever cool compiled language of the month, use the said language directly.
I do agree that it's time to write frontend not in JS. It has been time for 10+ years even but oh well.
No reason for me to feel attacked, I pointed out that what you said doesn't make much sense in terms of how long have these languages been around.
"Instead of rewriting JavaScript tools in Zig, Rust, Go, whatever cool compiled language of the month, use the said language directly."
Meaning use Zig instead of JavaScript, use Rust instead of JavaScript, use Go instead of JavaScript, use "whatever cool compiled language of the month" instead of JavaScript, or if you prefer for the last example, use "whatever compiled language takes your fancy" instead of JavaScript.
Clear enough?
If not -- then clear. If yes, then this is getting even more confusing.
JS is being tolerated. Not adored.
Frontenders are living in a bubble and don't see it.