top | item 39908169

(no title)

kyruzic | 1 year ago

Go is perhaps the simplest language to learn there is. It's almost impossible to not get it to work because it has so few things you can actually do.

And nodejs only preforms well in hello world benchmarks, real world applications are nothing like that. Once you start having to manipulate large arrays or do any large amount of math nodejs preformance goes into the dumpster.

discuss

order

rlt|1 year ago

> Once you start having to manipulate large arrays or do any large amount of math nodejs preformance goes into the dumpster.

We’re talking about web applications, no? You probably shouldn’t be manipulating large arrays or doing large amounts of math directly in your web application server. That should be isolated in some type of service or worker, which could be written in another language. Or maybe there’s a NumPy-like package for Node.js, I haven’t looked.

The question then is where do you draw that line of using another language? It probably depends on your application, but I think Node.js is perfectly suitable for typical web applications backends.

Fire-Dragon-DoL|1 year ago

Any large query result in a large array, so I would disagree on that point. Web apps deal with fairly big data structures, if nothing due to orms.

speedgoose|1 year ago

I have never seen a glorified CRUD backend suffering from array or math operations. What kind of backend are we talking about?

throwaway60330|1 year ago

You're going to teach your developers? Because I just couldn't find enough Golang devs around. Node.js is well known.