Remix.run Logo
catigula 3 days ago

>If you choose TypeScript or Python, you’ll hit a performance wall the moment you venture outside of web apps, CRUD servers, and modeling.

This really isn't very accurate. It is for Python, but JavaScript is massively performant. It's so performant that you can write game loops in it provided you work around the garbage collector, which, as noted, is a foible golang shares.

The solution is the same, to pre-allocate memory.

pjmlp 3 days ago | parent [-]

Even Python is kind of debatable, if PyPy had a bit more of mainstream love.

srott 2 days ago | parent [-]

What are the reasons why PyPy hasn't caught on? I know about PyPy for ages, but I still haven't given it a try, I still feel the aftertaste of anaconda...

pjmlp 2 days ago | parent [-]

The biggest issue has been that CPython exposes its internals to native libraries, thus since many Python libraries are actually thin bindings to native libraries, this reduces the interest in using PyPy.

There is now new ABI proposal that should work across Python implementations, proposed by PyPy, but the uptake seems slow.

https://discuss.python.org/t/c-api-working-group-and-plan-to...

https://doc.pypy.org/en/latest/extending.html

With a good enough JIT, the amount of native libraries wouldn't be needed to the extent it is..