Forem

Cover image for Intro to javascript
yogeshwaran
yogeshwaran

Posted on

1

Intro to javascript

Hi Everyone.

As i am brushing up my knowledge in Javascript and their frameworks. i have planned to post a series of posts what i have learned now and then. Follow the series for refresh your knowledge in javascript.


Javascript is a light weight, Cross platform, object oriented **scripting **language which primarily runs of web browsers and in servers.

Interpreted or compiled

Interpreted languages runs code from top to bottom and execute result immediately while compiled languages converts the code to binary format and execute it.

Javascript is a interpreted language but from a technical point most javascript interpreters use Just-in-time compilation to improve performance and faster execution of the javascript code.

Javascript engine

JavaScript engine is simply a computer program that executes JavaScript code. It is responsible for translating human-readable JavaScript code into machine-readable instructions that the computer's hardware can execute.

Old javascript engines are mere compilers but modern javascript engines like v8 use just-in-time compilation to improve performance.

Popular javascript engines are

  • *v8 *: Used in chrome and node
  • Spider monkey : Used in firefox browser
  • Javascript core : powered safari

Single threaded or multi threaded

It is a single threaded synchronous language which can execute only one command at a time in a specific order.

Client side or server side

javascript is initially a client side scripting language which runs mostly on browser. but now a days modern javascript runs on both Client (browsers), Server side(Node) and almost everywhere from desktop to mobile applications.

To be continued...

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

đź‘‹ Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay