Top
Best
New

Posted by yakkomajuri 11/3/2025

Why we migrated from Python to Node.js(blog.yakkomajuri.com)
229 points | 281 commentspage 5
m-a-r-c-e-l 11/5/2025|
3 days? Do it!

It took our team 5 man-years (1 year of time) to upgrade from Laravel 4 to 5...

alberth 11/4/2025||
I often see people complain about how async is implemented in certain languages or frameworks - are there any examples where people actually like how async was designed or handled?
hu3 11/4/2025||
I can vouch for Go.

Took me a weekend to create a basic trading algo tester in Go that leveraged all computer cores.

And I was new to Go and Llama didn't exist back then.

These days it would have probably taken me a Sunday morning to do the same

scosman 11/4/2025||
Go
gitprolinux 11/4/2025||
Old school solution effective, Python3 cgi, jquery, solid. Agree Python async sucks.

It's about getting it done.

almosthere 11/3/2025||
We should really be at a point where the application is a Yaml file and a something like Hugo for backends, and you can force it to use --java or --js or --rust or --python, etc...
ecshafer 11/4/2025||
Why can Instagram scale on Python and Django but you can't?
petr25102018 11/17/2025|
Perhaps because Instagram uses their own Python and a heavily custom Django fork?
hnidiots3 11/4/2025||
> We did this so we can scale.

lol sounds more like a bunch of front end developers who don’t know what they are doing wanted to use a language they use on the front end on the backend.

m463 11/4/2025|
I wonder about situations like this.

I always wanted an emacs with python as the underlying language. Is emacs brilliant choosing lisp or outdated?

morshu9001 11/3/2025||
That's good. Should've ditched the ORM too.
romperstomper 11/4/2025||
The author mentions that they considered FastAPI and this looks more sane decision as for me then rather radical jump into Node.js.
jacquesm 11/3/2025||
From the proverbial frying pan into the fire. If you're going to go through all of the effort and cost to switch platforms and to retrain your developers, why on earth would you pick Node.js?

Node.js is such an incredible mess. The ideas are usually ok but the implementation details, the insane dependencies (first time I tried to run a Node.js based project I thought there was something seriously wrong with my machine and that I'd been hacked), the lack of stability, the endless supply chain attacks, maintainers headaches and so on, there is very little to like about Node.js.

C# before Node.js and I can't stand C#. Java Before C#. Yes, it's a language rant, but in the case of Node I am really sorry.

tshaddox 11/3/2025||
So you'd recommend they rewrote their Python project in Java (assuming the rewrite itself was a good idea)? I don't have any experience on a production web server written in Java or C#, but they both seem like a more difficult transition than JavaScript for rewriting a Python codebase.
CharlieDigital 11/4/2025|||
For the uninformed, C# and TypeScript are very similar[0]

In fact, JavaScript has borrowed a lot from C# including async/await, lambda expressions, and the syntax for disposables -- all influenced by and done first in C#.

Of course, TypeScript and C# are from the same designer at Microsoft so there are even more similarities. Any team that's considering moving to TypeScript should also really give C# a look.

[0] https://typescript-is-like-csharp.chrlschn.dev/pages/intro-a...

pjmlp 11/4/2025||
Except in performance, and tooling.
jacquesm 11/3/2025|||
I've written code in all of these and I think that Python to Java or Go is easier than Python to Node, especially if you don't want to spend the next 24 months auditing all of the code you just imported.
moralestapia 11/3/2025||
[flagged]
jacquesm 11/3/2025||
> I've been working with Node.js since it came out and it's my go to language for anything backend-related.

> As you get more familiar with computers you will understand more and more what's going on.

Pot, meet kettle.

And yes, Rust's package management was inspired by Node, and it is one of the major drawbacks of Rust.

moralestapia 11/3/2025||
[flagged]
jacquesm 11/3/2025||
[flagged]
djdjsjejb 11/3/2025||
nodejs excels for me on flow control

theres effectts if you need app level control

theres caolan async if you need series and parallel controls

theres rxjs if you need observables

on web frameworks hono seems nice too. if you need performance, theres uwebsockets.js which beats all other web frameworks in http and websocket benchmarks.

for typesafety aside from typescript, theres ark, zod, valibot, etc.

sunkencity 11/3/2025|
imho it would make more sense to rewrite to golang with a stronger production ready standard library.
More comments...