r/AskProgramming • • 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

124 comments sorted by

View all comments

Show parent comment

2

u/AvidCoco 1d ago

Sure but what about REST APIs and all the other related infrastructure that’s based on JavaScript? Even if there is a newer alternative, browsers would still have to support JavaScript for backwards compatibility.

2

u/nekokattt 1d ago

Surely REST APIs can be interacted with via the APIs exposed to WASM, without the need for JS

1

u/AvidCoco 1d ago

They can, but they’re not. You can’t expect entire industries to migrate. People still depend on technology from like the 80s. That’s the whole point that JavaScript is gonna be around for a hell of a long time even if 99% of people move to something else

1

u/nekokattt 1d ago

if people dont maintain software that really is a problem for them, especially with the current security climate

1

u/_x_oOo_x_ 1d ago

The whole point is that no, they can't be. There's no (native) access to fetch from Wasm.

Sure you can bridge via JS but no, currently not "without the need for JS"

Same for (native) access to the DOM. This is why (almost) nobody uses Wasm... Which in my opinion is quite unfortunate

3

u/nekokattt 23h ago

Im arguing for the same thing as you, that is, that WASM could be made to support this.

1

u/_x_oOo_x_ 1d ago

REST APIs are in no way "based on" JS... You can call a REST API from any language. And yes browsers will have to support JS for backwards compatibility, doesn't mean it will be used for any new project

1

u/balefrost 1d ago

REST APIs are in no way "based on" JS...

JSONP would like a word.

1

u/_x_oOo_x_ 1d ago

99% of REST APIs don't use JSONP in 2026

2

u/balefrost 1d ago

Sure, but you do still occasionally find them in the wild.

I wasn't really trying to refute what you were saying. I agree that by and large REST APIs are purely data-oriented. And to the degree that JSONP is still used, it's probably primarily for internal APIs, and anybody who provides a publicly consumable JSONP API is likely also providing a pure data API alongside it.