What is Node.js? ...isn't it just JavaScript?

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

In a browser JavaScript working with DOM elemetnts, reacting to user interactions and making HTTP calls to fetch data.
On a server it is processing multiple requests made by a huge ammount of users, calling other services, quering databases, checking user permissions, listeninig to message queues, and logging what ever needs to be logged - but it is the same JavaScript - not a big difference.

victorkochkarev
Автор

Best way I’ve heard that explained. Thanks!

cmdeckermusic
Автор

cPython is a runtime, there’s other runtimes, IronPython, micro python, jython…

NoProblem
Автор

Node is just syscall wrapper with JavaScript. That’s it

Edit:

Node worshippers crying because I summarized it to two words lol. Keep brainrotting 👍

roku_on_it
Автор

V8 is the runtime, Node just gibes you access to the API of the operating system.

MisterBrausepulver
Автор

"if you know JS you need 90% of node" oh yes, it would be nice if it was true

fischi
Автор

Node.js and chrome are both built with the V8 engine by google!

ethanwaldo
Автор

Best explanation!!! Finally someone said this

kirillzlobin
Автор

node is the runtime of javascript, if you only know javascript, you know 0% of node

aresstavropoulos
Автор

I know JavaScript but for me to learned react was hard

Daniel-ybwc
Автор

Im sorry, i couldnt hear over that massive toolchain you have XD

Learning node === learning js, jquery, babel, webpack, react, electron, etc. etc. the list goes on.

Kamel
Автор

I want this guy to teach me all he knows😂

whevaltech
Автор

it's like watching an nba player teaching coding x)

zosted
Автор

Does anybody remember Rhino? Where my OGs at?

davea
Автор

"...and that's why its bad"
There, I put in the missing part.

HenriqueErzinger
Автор

Ok he is over simplifying thigs. Frontend and backend is not something.
When you have multiple services and they are communicating via kafka or http, and you need to mange fault tolrence with circuitebreaker, u have auth server with openid connect to auth every requesr and a gateway for clinent to interact, a discover service to discover other services, loadbalancer to balance load between services, a cache layer, u have to do distubuted transction with 2phase commit or saga, to find something you have to do distributed logging, then Db getting more lead u have to switch to slave and master dbs, multiple dbs for read and one for write you have to maintain consistency between them, you have to streams data so you do not block main thread, you have to deploy your app first create docker image and run in k8 cluster.

YEP ITS SAME THING

imakhlaqXD
Автор

Haha, languages are mostly the same as runtimes? Laughing in Java(language with tons of running environment ) and .Net (different running environments for the same language and different languages first the same running env)

pawelmod
Автор

Cloudflare is a runtime. Edge is also a runtime. And here comes Bun as well 😂😂😅😅

thedelanyo
Автор

Node.js and the browser use the same runtime in the Chrome browser. This gentleman is wrong. What he refers to, incorrectly, as a runtime is the APIs available. Node.js and the browser provide access to different APIs. The runtime deals with garbage collection and other housekeeping tasks that are required at runtime.

cthutu
Автор

I thought he was gonna talk about basketball

Qwasieee_P
welcome to shbcf.ru