If you couldn't build a server with any technology before someone showed you how to build it with node.js then you didn't get memed.
If you knew how to do it with PHP or python before they showed you how on node then you did.
It has valid use-cases as a server but from what I've seen personally and a few other accounts of it, it's mostly for people who are already comfortable handling javascript
>do people really use javascript for backend or did i get memed?
People use javascript for literally everything. Of course they shouldnt but they do.
Script languages are good if you have to wire together UIs or different modules written in static languages but they dont work too well if your code base is larger than a few hundred lines.
>But Ive seen a system with 200k lines of code written in javascript and it worked perfectly.
No you didnt.
i use next js + drizzle ORM because of the fast development tell my what else I can use without loosing the speed of the developemnt?
rn I use >same IDE >same project >same env >same language
So there's this thing about typescript. It's really really really attractive because Javascript provides the means for the standardization.
>Forces everyone to the same page. It's all JS >Strongly typed needed to provide end user validation >Typescript - Your product lead / manager just wanted strongly typed, didn't care what lang the app was written in >Nothing needs to change and now you've got technology market-share.
It's sort of an anti-pattern but to be fair the world is largely capitalistic so it fits the current "modern" model for civilization.
Eh… yes and no. It’s incredibly good at coding on the fly, that’s really the highlight of using JS especially if you need to make changes to a project a lot by a client’s request. And for web development—memory management doesn’t matter as much like it does for software.
Some of the code maybe, usually it’s just PHP/JS (really TS). While I prefer Python or C#, there’s some good use cases for PHP/JS for backend. That being said, while it’s possible, I’ve never seen a full real project in JS for backend totally.
>t. FullStack anon who is dead inside at this point
For a small and simple website, by using aws lamda functions for the api, you could easily have the whole thing in JS. You could probably stay completely within the free tier of aws for your shitty web app that no one uses
Yes, because it's asynchronous and event driven by design and it has a ton of libraries and frameworks for web shit (too many in fact). A lot of the core functionality is actually implemented in C++ under the hood. People often use variants of Javascript like Typescript.
PHP is pretty limited and plagued with vulnerabilities because of dumb decisions around character sets and shit. It's mainly used for older websites like wordpress and phpBB shit.
Python is OOP only and designed for synchronous general purpose normie tasks
Java is OOP only and even more synchronous than Python. Unless you're running on ARM (which actually implement the JVM as a stack machine at the microcode level) it's really just an interpreted language (you compile into bytecode which is interpreted by the JVM). Also basic shit like pipes are broken in Java (because in Java they are objects and you can't read/write into an object at the same time). Java is so shit-tier that people prefer to write apps in Javascript using Electron if they need something to be cross-platform. There aren't really any more good use case for Java other than dealing with legacy code.
Ruby used to be popular decades ago back when Javascript still sucked, but it's pretty much dead now.
C#, I don't know, maybe gays use this.
C/C++ is occasionally used for some things in combination with Javascript but I don't know if anyone writes full back-ends with it these days.
java is decent but everyone appears to use spring boot, which i don't like the look of.
agreed that ruby is pretty much dead. rails is also pushing some shit js frameworks by default.
the "sad" truth is that is way more likely for normies, artists and designer to make okay-ish programmers than troon programmers to make okay-ish artists/designers or be normal. And that's why JS is so popular.
I use rust. did I get memed? I spent about a week writing up a template that handled a pooled and pipelines postgres connection, auth states, redis cache, and generic actors, was, and error handling. now I can just copy paste my template and add logic.
>What is V8? V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows, macOS, and Linux systems that use x64, IA-32, or ARM processors. V8 can be embedded into any C++ application.
If your team is composed of low IQ frontenders, yes
Some people do but they shouldn't. Weakly typed languages shouldn't be used for backend.
99.9% of backends are just thin clients for database queries. What the frick nonsense are you building that is so complex it even needs static typing?
Putting business logic into the browser is moron-tier.
If you couldn't build a server with any technology before someone showed you how to build it with node.js then you didn't get memed.
If you knew how to do it with PHP or python before they showed you how on node then you did.
It has valid use-cases as a server but from what I've seen personally and a few other accounts of it, it's mostly for people who are already comfortable handling javascript
it's not utterly atrocious for backend
its better than python
but that's not saying much
>its better than python
It isn't. Python is strongly typed.
Just add TypeScript, bro
>its better than python
FastAPI makes for a much better backend than any javascript nonsense.
>do people really use javascript for backend or did i get memed?
People use javascript for literally everything. Of course they shouldnt but they do.
Script languages are good if you have to wire together UIs or different modules written in static languages but they dont work too well if your code base is larger than a few hundred lines.
>But Ive seen a system with 200k lines of code written in javascript and it worked perfectly.
No you didnt.
>they dont work too well if your code base is larger than a few hundred lines
Oh, you sweet summer child, you have no idea.
I don't know how to code, I just copy what others already wrote and change it until it does what it should do
based. there's nothing wrong with that unless you're charging people money to use your broken garbage.
I was describing what I do where I work. I am a full stack web developer lmao
I work at Google btw.
Dang r u the guy who runs the search engine?
Good for you anon
Can I have my old job back? The one where I had money?
yes, avoid it
i use next js + drizzle ORM because of the fast development tell my what else I can use without loosing the speed of the developemnt?
rn I use
>same IDE
>same project
>same env
>same language
>people
visajeets do. don't know about any people using it THOUGH
what the frick?
90% of programmers are simply moronic gays.
people just voted for whatever language they use at their jobs lmao
So there's this thing about typescript. It's really really really attractive because Javascript provides the means for the standardization.
>Forces everyone to the same page. It's all JS
>Strongly typed needed to provide end user validation
>Typescript - Your product lead / manager just wanted strongly typed, didn't care what lang the app was written in
>Nothing needs to change and now you've got technology market-share.
It's sort of an anti-pattern but to be fair the world is largely capitalistic so it fits the current "modern" model for civilization.
>r slur f slur confirmed ._,
good thing it's scalable. going to need a lot of servers to keep up with loads.
>what the frick?
you got memed
no op, even worse, people use typescript
everyone too dumb to see typescript is just C# in disguise
Except people use TypeScript
just wait until you try RxJS under TypeScript
use Go
Finishing a nodejs to Java backend refactor as we speak.
> node.js to java
good morning sir
extremely low barrier of entry. that's it.
Eh… yes and no. It’s incredibly good at coding on the fly, that’s really the highlight of using JS especially if you need to make changes to a project a lot by a client’s request. And for web development—memory management doesn’t matter as much like it does for software.
JavaScript is the supreme language.
Some of the code maybe, usually it’s just PHP/JS (really TS). While I prefer Python or C#, there’s some good use cases for PHP/JS for backend. That being said, while it’s possible, I’ve never seen a full real project in JS for backend totally.
>t. FullStack anon who is dead inside at this point
For a small and simple website, by using aws lamda functions for the api, you could easily have the whole thing in JS. You could probably stay completely within the free tier of aws for your shitty web app that no one uses
Typescript is actually alright for backend, miles better than Python. TS and C# are the only good things Microsoft has done.
Yes, because it's asynchronous and event driven by design and it has a ton of libraries and frameworks for web shit (too many in fact). A lot of the core functionality is actually implemented in C++ under the hood. People often use variants of Javascript like Typescript.
PHP is pretty limited and plagued with vulnerabilities because of dumb decisions around character sets and shit. It's mainly used for older websites like wordpress and phpBB shit.
Python is OOP only and designed for synchronous general purpose normie tasks
Java is OOP only and even more synchronous than Python. Unless you're running on ARM (which actually implement the JVM as a stack machine at the microcode level) it's really just an interpreted language (you compile into bytecode which is interpreted by the JVM). Also basic shit like pipes are broken in Java (because in Java they are objects and you can't read/write into an object at the same time). Java is so shit-tier that people prefer to write apps in Javascript using Electron if they need something to be cross-platform. There aren't really any more good use case for Java other than dealing with legacy code.
Ruby used to be popular decades ago back when Javascript still sucked, but it's pretty much dead now.
C#, I don't know, maybe gays use this.
C/C++ is occasionally used for some things in combination with Javascript but I don't know if anyone writes full back-ends with it these days.
>C/C++ is occasionally used ... with Javascript
Where? I've only ever seen this in web browsers and not often in major projects.
Highly specialized stuff like Google search. There's also bullshit like this https://teamdev.com/molybden/ . I think it's fairly rare though.
>Google search
They use JS in the backend? I thought for sure it'd be a (nearly) pure high-preformance backend with a JS frontend.
java is decent but everyone appears to use spring boot, which i don't like the look of.
agreed that ruby is pretty much dead. rails is also pushing some shit js frameworks by default.
the "sad" truth is that is way more likely for normies, artists and designer to make okay-ish programmers than troon programmers to make okay-ish artists/designers or be normal. And that's why JS is so popular.
I use rust. did I get memed? I spent about a week writing up a template that handled a pooled and pipelines postgres connection, auth states, redis cache, and generic actors, was, and error handling. now I can just copy paste my template and add logic.
>wrote a library
>can now use the library
Would this be any different if you used any other language? It's not special to rust in any way.
>redis cache
Did you not hear about the redis rugpull?
I guess not QRD? I mostly use built in hashmaps but I do occasionally use redis.
Redis abruptly changed the license to closed source a month ago.
using js in backend is mostly analogous to lambda or peeps who bought into the hype of MERN stack
The smartest guy i know loves nodejs and uses it to do incredible things
Nodejs is just a wrapper around c++. Why not just use c++?
>Nodejs is just a wrapper around c++
qrd
>What is V8? V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows, macOS, and Linux systems that use x64, IA-32, or ARM processors. V8 can be embedded into any C++ application.
https://v8.dev/
"people" do, unfortunately