Go vs JS for backend?

Which is better and why?

Attached: v5oi61kvlu811.jpg (433x614, 164K)

Other urls found in this thread:

techempower.com/benchmarks/#section=test&runid=66ee924e-3bc2-4bd8-aaf0-2cd8443f65db&hw=ph&test=plaintext
github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/C++/ulib
twitter.com/SFWRedditGifs

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?

Attached: duck.jpg (1200x800, 102K)

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/benchmarks/#section=test&runid=66ee924e-3bc2-4bd8-aaf0-2cd8443f65db&hw=ph&test=plaintext
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.

Attached: index_thinking_emoji.jpg (225x225, 14K)

github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/C++/ulib

>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