• Home
  • About Us
  • GDPR Policy
  • Disclaimer
  • Privacy Policy
  • Contact Us
bdma
  • Business
  • Knowledge
    • Google Adsense
    • Visa
  • Sports
  • Travel
  • Technology
  • Trending
  • Entertainment
    • Bollywood
No Result
View All Result
  • Business
  • Knowledge
    • Google Adsense
    • Visa
  • Sports
  • Travel
  • Technology
  • Trending
  • Entertainment
    • Bollywood
No Result
View All Result
bdma
No Result
View All Result

This Is The Year To Use JavaScript For Machine Learning, Here’s Why

bdma by bdma
August 25, 2023
in Technology
0

(This story is an original creation generated automatically from the Syndicated News feed. The content body has not been modified or edited by the BDMA Team.)

This Is The Year To Use JavaScript For Machine Learning, Here’s Why

With 2020 fading over the horizon, we can finally reflect on ‘what was’ versus ‘what could have been.’ It was undoubtedly the year of many upended plans, with countless surprises and course-changes along the way.

But there’s one resounding takeaway from the last twelve months. And it’s unlikely to change this year: JavaScript has grown in profile and popularity, with machine learning one domain where the programming language has found an unlikely home.

Let’s look at how Javascript prospered in 2020 — and share some predictions for what 2021 might hold.

Table of Contents

  • From Simple Scripts to Machine Learning
  • JavaScript for Machine Learning
  • Development of Popular JavaScript Libraries
  • Where JavaScript Underperforms Other Languages
  • Where JavaScript Outperforms The Competition
  • What Can You Expect for JavaScript in 2021?

From Simple Scripts to Machine Learning

JavaScript hails from humble beginnings. It entered the scene in 1995 as part of Netscape’s Navigator web browser. Its purpose? To make the web more dynamic. The programming language’s creators designed it to be easy to implement, powerful, and functional.

It was precisely what an emerging internet needed. And the creator’s succeeded in their cause. But it wasn’t long before the next milestone arrived with a standardization process that started in November 1996 (ECMA International named the standard ECMA-262). 

By this time, JavaScript had established itself as a notable player in web development. In a Netscape press release, the company confirmed almost 300,000 JavaScript-enabled pages across the nascent worldwide web. 

“JavaScript and Java are cornerstone technologies of the Netscape ONE platform for developing Internet and Intranet applications. 

In the short time since their introduction last year, the new languages have seen rapid developer acceptance with more than 175,000 Java applets and more than 300,000 JavaScript-enabled pages on the Internet today according to www.hotbot.com.”

Source: www.web.archive.org

Standardization played a pivotal role in JavaScript’s growing profile since it enabled developers to use it, alongside giving them a voice in the evolution of the language itself.

Moreover, standardized usage ensured consistency in implementation, stopping developers from deviating too far from specifications, which could have caused fragmentation, undermining JavaScript’s scalability. 

That said, some feared Microsoft might intentionally pursue such a strategy to gain a competitive advantage in the early days. But thankfully, those predictions never came to pass.

Despite the language’s growing profile, the ECMA committee couldn’t use ‘JavaScript’ as the name for their standard because of trademark issues. All the while, the committee couldn’t find a name that developers and implementers would accept either, so they settled on ‘ECMAScript.’

But JavaScript is only the commercial name for it. And with every new release — spanning ES2 in 1998, ES3 in 1999, ES5 in 2009, and ES6 in 2015 — the language has gained more and more traction.

ES5 was the release that introduced many features that dramatically increased ease-of-use, angling JavaScript towards becoming a general-purpose language. And the release of Node.js confirmed just that. 

Following the ES6 release, no doubts remained about the ambition behind the language as the world gained access to the following features:

  • Default Parameters
  • Template Literals
  • Multi-line Strings
  • Destructuring Assignment
  • Enhanced Object Literals
  • Arrow Functions
  • Promises
  • Block-Scoped Constructs Let and Const
  • Classes
  • Modules

At this point, it was clear JavaScript wanted to dominate the market, alongside appealing to developer groups using other languages. With its increasing functionality, its popularity only grew. 

Then Node.js arrived in 2009, allowing JavaScript to finally escape the browser and find use in servers before it eventually found its place in machine learning — largely thanks to the increasing computational power of end-user devices.

JavaScript for Machine Learning

For many years, JavaScript has been popular both among developers and in business. 

Check resources like Tiobe, Stack Overflow, Github, and HackerRank, and you’ll find JavaScript in the leading position for the most-used, popular or in-demand language. According to HackerRank, it’s also the most sought-after programming language by employers.

Source: HackerRank

Whatever the source, you’ll find JavaScript mentioned in the lead for machine learning, in the company of mainstream languages like Python, Java, or Go. 

In reality, Python is the unquestionable leader in ready-to-use dependencies for almost any case, including machine learning. But JavaScript isn’t far behind, thanks to its maturing range of packages coupled with comprehensive developer and business support. 

Here are the five most popular JavaScript libraries around today:

Despite its growing use, you might still ask yourself, “Is JavaScript for machine learning really a thing?” In short, yes: the reason being that it is already a prevalent language and one with a relatively low entry threshold. 

Plus, there’s an abundance of specialist developers who already use it. Not to mention the possible cost-reductions in using an AI infrastructure, given that execution happens in the user’s browser. 

Ease-of-deployment is another selling point, as is the ability to gather and combine data from many sources. So yes, absolutely, JavaScript for machine learning really is ‘a thing’ — and it’s little wonder the language is growing more popular by the day.

Top Machine Learning Languages on GitHub

Source: GitHub

Development of Popular JavaScript Libraries

Let’s take a moment to consider how the most popular frameworks grew in 2020:

[Github stars][start date]

[Github stars][start date]

In many ways, each library’s growth is down to the growth of the AI market itself.

According to IDC, the global AI market was worth $156.5 billion in 2020: an increase of 12.3% from 2019. And with JavaScript being the most popular programming language worldwide — with both browser and server environments at its fingertips — it’s unlikely to fall by the wayside. 

Case in point: Tensorflow was popular among Python users, and it rocketed to fame the second it was released for JavaScript. Many libraries are following suit. But there’s one exception. 

Synaptic is less popular, but that’s mainly down to its age. 

Development started in 2014. Still, over the years, it has proved a reliable library for building neural networks. And while development isn’t overly active, Synaptic often features as a recommended library.

Where JavaScript Underperforms Other Languages

In my previous article, I pinpointed three shortcomings when using JavaScript for machine learning — they were:

  1. Online-only: The model won’t work offline (unless you configure the web app to work offline, which is rare).
  2. Reliability: Performance relies on the end user’s device.
  3. Public: Your code and model are publicly visible.

Interestingly, my observations on this topic overlapped with the findings presented at this year’s W3C Machine Learning Workshop. And there’s still a need to standardize how we use ML models on the front-end. 

Doing so would reduce computational issues (for example, a lack of float16 reduces hardware acceleration) and privacy issues (for example, the privacy of models and processes around user data collection).

W3C is considering standardizing the Neural Network Web API — which would, in turn, make machine learning accessible to a broader user base and resolve the three issues.

Where JavaScript Outperforms The Competition

Despite its shortcomings and ongoing lack of standardization, JavaScript still has several advantages, including:

  • Deployment: It’s easy, you can even use a static website with Javascript added.
  • Ubiquitous: You can gather and connect data from multiple sources (like social media).
  • Reach: You can access end-users via a pop-up, no need to install anything else. 
  • Mobile: You can port to mobile using React Native.
  • Availability: JavaScript works offline with the right configuration.
  • Lightweight: JavaScript is lightweight.

What Can You Expect for JavaScript in 2021?

JavaScript has reached a tipping point. 

We expect its usage to explode in 2021, including more comprehensive integrations of JavaScript-based solutions, with not only the internet benefiting from improvements in the programming language.

But mobile platforms (through React Native), server apps (through Node), and desktop (through ElectronJS) as well. On the global stage, Statista predicts JavaScript penetration will hit 53.7% as it reaches new frontiers.

And one application to note is how SpaceX’s very own Dragon Capsule uses Chromium and JavaScript to drive the UI of the vehicle’s controls. We don’t expect SpaceX to be JavaScript’s final frontier. Quite the opposite.

It’s just another round of rocket fuel for this hugely popular programming language.

Previous Post

Ronaldo hat-trick, Mane brace guides Al Nassr to 5-0 win against Al Fateh

Next Post

AFC Cup 2023-24: When are Mohun Bagan SG and Odisha FC playing in Asia?

Next Post
AFC Cup 2023-24: When are Mohun Bagan SG and Odisha FC playing in Asia?

AFC Cup 2023-24: When are Mohun Bagan SG and Odisha FC playing in Asia?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • All
  • Sports
UEFA accepts Italy-Turkey co-host bid for Euro 2032, leaves UK-Ireland as only candidate for 2028

UEFA accepts Italy-Turkey co-host bid for Euro 2032, leaves UK-Ireland as only candidate for 2028

by bdma
October 4, 2023
0

UEFA has all but confirmed its long-expected host for the European Championship in 2028 and 2032 on Wednesday by formally...

ISL 2023-24, Bengaluru FC vs East Bengal LIVE Streaming info: When, where to watch Indian Super League?

ISL 2023-24, Bengaluru FC vs East Bengal LIVE Streaming info: When, where to watch Indian Super League?

by bdma
October 4, 2023
0

East Bengal will look to continue its winning momentum when its coach Carles Cuadrat gears up to face his former...

Manchester United can still reach Champions League knockout phase: Ten Hag

Manchester United can still reach Champions League knockout phase: Ten Hag

by bdma
October 4, 2023
0

Manchester United is still in the running for a place in the Champions League round of 16 despite Tuesday’s 3-2...

Arsenal suffers double blow with Saka injured in loss to Lens

Arsenal suffers double blow with Saka injured in loss to Lens

by bdma
October 4, 2023
0

Arsenal manager Mikel Arteta said he is worried about Bukayo Saka’s availability for Sunday’s league game against Manchester City after...

Watch: Gazan recycles tyres to help maintain local football pitch

Watch: Gazan recycles tyres to help maintain local football pitch

by bdma
October 4, 2023
0

Can used car tyres help maintain a football pitch? Yes, if you ask 27-year-old Gazan Madian Helles.

Nobody wants to face Newcastle, says PSG manager Luis Enrique

Nobody wants to face Newcastle, says PSG manager Luis Enrique

by bdma
October 4, 2023
0

Paris St Germain coach Luis Enrique said no one wanted to face Newcastle United in the Champions League because of...

Van Gaal returns to struggling Ajax as adviser

Van Gaal returns to struggling Ajax as adviser

by bdma
October 4, 2023
0

Ajax Amsterdam has hired its former head coach Louis van Gaal as an adviser, the Dutch club said on Tuesday,...

UEFA Champions League: Thuram scores to help Inter beat Benfica 1-0

UEFA Champions League: Thuram scores to help Inter beat Benfica 1-0

by bdma
October 4, 2023
0

Marcus Thuram made his mark in the Champions League to help Inter Milan get its campaign up-and-running with a 1-0...

UEFA Champions League: Wahi stars with goal and assist as Lens beats Arsenal 2-1

UEFA Champions League: Wahi stars with goal and assist as Lens beats Arsenal 2-1

by bdma
October 4, 2023
0

Striker Elye Wahi scored one goal and expertly created the other as Lens rallied to beat Arsenal 2-1 in the...

The Evolution of Digital Banking: Banco Bradesco Sa’s Approach

Open Text Stock Offers Potential for Long-Term Investors

by bdma
October 4, 2023
0

Open Text (TSX:OTEX), a Canadian information management company, experienced a significant gain in its stock price in the first half...

Virat Kohli is the WT20 man of the tournament

Virat Kohli is the WT20 man of the tournament

by bdma
October 4, 2023
0

Virat Kohli was awarded the man of the tournament for his brilliant performance in the ICC World Twenty20 that concluded...

Samuels fined for using abusive language

Samuels fined for using abusive language

by bdma
October 4, 2023
0

Hero of West Indies’ World T20 title triumph, Marlon Samuels was fined 30 per cent of his match fee for...

Sammy: U-19, women’s team inspired us to do well

Sammy: U-19, women’s team inspired us to do well

by bdma
October 3, 2023
0

Victorious West Indies captain Darren Sammy said that it was the "disrespect" from its own cricket board (WICB) that made...

At every stride, Windies found a new hero

At every stride, Windies found a new hero

by bdma
October 3, 2023
0

The West Indies forged a winning path upon the brick and mortar of inherent talent and a raging anger to...

Stock Market Falls as Dow Jones Drops Over 400 Points

Major Online Gaming Companies Face GST Notices Totaling Rs 49,000 Crore

by bdma
October 3, 2023
0

The Directorate General of Goods and Services Tax Intelligence (DGGI) Mumbai Zone has sent notices to Dream11 and Play Games...

Highlights: West Indies snatch dramatic World T20 win

Highlights: West Indies snatch dramatic World T20 win

by bdma
October 3, 2023
0

Highlights: West Indies snatch dramatic World T20 win

The Early Beginnings of AstroNova Inc

Beta Value, Trading Volume, and Analyst Recommendations

by bdma
October 3, 2023
0

ASE Technology Holding Co.Ltd ADR (ASX) is a technology company listed on the New York Stock Exchange (NYSE). The stock...

Cristiano Ronaldo sparks fightback as Al-Nassr given Asian Champions League scare

Cristiano Ronaldo sparks fightback as Al-Nassr given Asian Champions League scare

by bdma
October 3, 2023
0

Cristiano Ronaldo was on target as Al-Nassr survived a scare in the Asian Champions League on Monday with the Saudi...

ISL 2023-24: Bengaluru will bank on home support against East Bengal and hope to return to winning ways

ISL 2023-24: Bengaluru will bank on home support against East Bengal and hope to return to winning ways

by bdma
October 3, 2023
0

Following two defeats in its opening two games, Bengaluru FC will look to get back to winning ways when it...

ANSYS Inc.’s Contribution to the Tech Industry

Microsoft CEO Satya Nadella Criticizes Google’s Exclusive Content Deals Amid Antitrust Case

by bdma
October 3, 2023
0

Satya Nadella, CEO of Microsoft, recently expressed concerns about the competitive landscape of content acquisition in relation to artificial intelligence...

Joao Felix flourishing at Barcelona as he returns to Portugal to face youth club FC Porto

Joao Felix flourishing at Barcelona as he returns to Portugal to face youth club FC Porto

by bdma
October 3, 2023
0

It has taken Joao Felix several years and a couple of false starts, but the creative forward who left Portugal...

  • Business
  • Knowledge
  • Sports
  • Travel
  • Technology
  • Trending
  • Entertainment

No Result
View All Result
  • About Us
  • Contact Us
  • Disclaimer
  • GDPR Policy
  • Home
  • Privacy Policy