DEV Community

Eric Ahnell
Eric Ahnell

Posted on

Twitter coding quizzes and JavaScript infinite reach

One of those Twitter quizzes: If you're born in month X, you program in language Y for the rest of your life. For me, JavaScript was the resulting language. This got me thinking... JavaScript is technically an infinite-reach language, because Electron covers native wrappers, NodeJS covers servers, while browsers cover clients. That's everything, right?

Silly analogy aside, it sure seems like I can truly reach just about anything anywhere with JS - whether it's a web game, a database-driven app, a single-page web app, a progressive web app, or even all four of those things in one - all the common modes of consumption are possible, if not easy, to cover! Perhaps this is why so many people are looking towards WebAssembly as the wave of the future, but there isn't exactly a NodeJS equivalent. Then again, is one really needed? You need a compiler to produce WebAssembly anyway, suggesting that native server code is only a small leap from there.

Wow, does this mean the web is truly more universal than I ever realized, and only now did it occur to me? What have I missed out on all these years of being a desktop app developer? I have some serious catching up to do, it seems.

Top comments (1)

Collapse
 
nijeesh4all profile image
Nijeesh Joshy

Electron covers native wrappers, NodeJS covers servers, while browsers cover clients.

apparently JS can run on Micro Controllers too.
github.com/jerryscript-project/jer...