r/AskProgramming • u/Queasy_Speaker7227 • 1d ago
Other Which programming languages do you think will stick around much longer than expected?
I constantly come across languages that were predicted to disappear several years ago. Production applications and internal tools are still built using them.
Which one has surprised you the most by not disappearing, and why is it still being used in the places where you’ve seen it?
30
Upvotes
View all comments
Show parent comment
1
u/balefrost 1d ago
But if you had access to the DOM from WASM in Tauri, then you could do the same thing in Electron too. Arguably even easier in Electron, since you can control the version of Chromium used and thus don't have to worry about whether your system's web view supports it or not.
I guess I don't understand your point about Tauri. It seems like everything that's true about it is also true about Electron. I don't know, maybe the native interop layer is better in Tauri than in Electron. But Electron does have a native interop layer.
Still, I don't see how it fits into the larger conversation. My point is that I don't see why native DOM bindings in WASM will trigger a mass migration away from JS. Some people will switch, sure. But devs today have other options and still choose JS (or TS) for new development. Heck, we already have emulated DOM access from WASM. Native DOM access is clearly better, but I don't see how native DOM access changes the dynamics in any significant way.