10 Things You Didn’t Know You Could Do With Javascript

This Thanksgiving season, I’m especially grateful for Javascript. Since its announcement in December 1995(Javascript’s birthday is actually this week!), it has brought life to the web.

Long gone, however, are the days where all Javascript did was spic…


This content originally appeared on DEV Community and was authored by Saji Wang

This Thanksgiving season, I'm especially grateful for Javascript. Since its announcement in December 1995(Javascript's birthday is actually this week!), it has brought life to the web.

Long gone, however, are the days where all Javascript did was spice up some HTML pages. Today, virtually anything can be done with Javascript. Let's highlight some of the amazing things that you may not have known are possible with JS.

1. Native Desktop Apps with Electron

electron logo

To start off, plenty of offline, native desktop apps are actually built with Javascript, usually with Electron or the Chromium Embedded Framework. In fact, some of your favorite desktop applications, including VScode, Spotify, and Slack, are all built using Javascript.

2. Machine Learning

While Javascript and Machine Learning may not be two things that are often put together in the same sentence. Alas, many in the Machine Learning community have found a home in Javascript.

Libraries like Tensorflow.js allow people to easily create, train, and use machine learning models all in Javascript.

tensorflowjs logo

3. VR Websites

If you've been keeping up with our blog, you'll know about Aframe.io, one of many libraries that now allow you to build VR websites with the power of Javascript.

vr gif

4. Mobile Development

Okay, this one may not be that surprising to many of you. Regardless, frameworks like React Native allow you to build native mobile apps all with Javascript. React Native has grown massively in popularity over the past couple of years, primarily because it's empowered those from a Web Development background to enter the world of app development.

Interested in learning how to get started with React Native? Let us know down below and we'll get to work on a tutorial!

5. Quantum Computing

Yes - you can simulate quantum computers in Javascript - well sort of. Obviously running Javascript on your Macbook isn't going to suddenly give you the power of a Quantum computer.

Nevertheless, if you're looking to play around with Quantum circuits and get your hands dirty with Quantum Computing look no further than Q.js

quantum logo

6. Trade Stocks

While Javascript is rarely used professionally (firms usually opt for lower-level languages which are faster), Javascript can in fact be used to trade stocks.
In fact, we wrote an article showing you just how easy it is to write trading algorithms using APIs. You can check out an article we wrote using Python here, but the exact same API can be used with Javascript!

7. Game Development

Though Browser Games certainly don't have the prominence they once had, they are far from dead. There are loads of Javascript libraries that you can use to create complex games that run right out of the browser. Some of our personal favorites are MelonJS and ImpactJS.

melonjs logo

8. Smart Watch w/ Bangle.js

smart watch with banglejs

Bangle is a programmable, open-source, smartwatch, running completely on Javascript. BangleJS was created by programmer Gordon Williams, who took an off-the-shelf smartwatch, reverse engineered it, and installed a javascript interpreter to create the first batch of BangleJS smartwatches.

In fact, the Smart Watch runs on Espruino, an open-source Javascript interpreter for microcontrollers also created by Williams. Using Espruino, you can really use Javascript to get many electronics running Javascript!

9. Building dApps and Smart Contracts for Ethereum

While we spoke a number of weeks ago about building Decentralized Databases with GunJS, Javascript can also be used to directly interact with the Ethereum Blockchain. This means that you can make Ethereum dApps and Smart Contacts with libraries like Ethers.js

10. A Web IDE

Finally, at Codesphere, we're using Javascript (mostly Typescript) to build an all-in-one Web IDE and Cloud Platform. Using Web Technologies, we're able to bring the full power of the cloud to any person with a working browser. Give us a try and let us know what you think!

What unconventional Javascript application did we leave out? Let us know down below! Happy Coding!


This content originally appeared on DEV Community and was authored by Saji Wang


Print Share Comment Cite Upload Translate Updates
APA

Saji Wang | Sciencx (2021-11-30T15:35:49+00:00) 10 Things You Didn’t Know You Could Do With Javascript. Retrieved from https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/

MLA
" » 10 Things You Didn’t Know You Could Do With Javascript." Saji Wang | Sciencx - Tuesday November 30, 2021, https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/
HARVARD
Saji Wang | Sciencx Tuesday November 30, 2021 » 10 Things You Didn’t Know You Could Do With Javascript., viewed ,<https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/>
VANCOUVER
Saji Wang | Sciencx - » 10 Things You Didn’t Know You Could Do With Javascript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/
CHICAGO
" » 10 Things You Didn’t Know You Could Do With Javascript." Saji Wang | Sciencx - Accessed . https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/
IEEE
" » 10 Things You Didn’t Know You Could Do With Javascript." Saji Wang | Sciencx [Online]. Available: https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/. [Accessed: ]
rf:citation
» 10 Things You Didn’t Know You Could Do With Javascript | Saji Wang | Sciencx | https://www.scien.cx/2021/11/30/10-things-you-didnt-know-you-could-do-with-javascript/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.