Which is better and why?
Go vs JS for backend?
Go is faster, JS has an ecosystem.
I'd go JS, it's probably more than fast enough for your use case.
they are the same
Golang is better for your (((employer))) but is JS with Typescript is much better for you as a developer
php
It's already a disgrace to have to deal with JS in the frontend, but you have no other choice. Now why in the fuck would you deliberately pick JS for your backend?
Whenever you have multiple options, pick the option that's not javascript.
Unironically TypeScript
What is your usecase?
JS = shit language
TS = shit language with static typing slapped on top
>for backend?
Can you not read? he's asking which language he should use for server side webshit.
how fast do you want to go retard? how many users expected?
small-medium = TS/JS
medium+ = Go
big= .NET Core
techempower.com
PLT in blue = low level sockets
MCR = microframework
FULL = server side rendering and other gud stuff
Node is just a Javascript wrapper around a C++ implementation. It uses callbacks that queue on an single threaded event loop for concurrency.
Go implements everything in Go, uses real multithreading
>uilib?
The fuck?
Never head of those.
>Which is better and why?
Based János. Giving commies hell before it was cool
tldr is its retarded, most brainlets using these frameworks wont check the actual impl, some even alloc full 128gb of server memory, some use pre-calc'd headers, some are raw socket impls, etc, but it gives u a good measurement whats possible if u know what to compare and look at how its implemented
go api backend + javascript frontend
what a stupid question
go
unironic js(ts) endorsement here