News for hackers. Stuff that matters.
Re:Moving from TypeScript to Rust / WebAssembly by pjmlp on Thursday July 09, 2020 @01:56AM (#23777334)
Having ridden the 90's .com startup wave with an in-house application server written in a mix of Apache plugins and Tcl, I learned the hard way to never again rely on anything that doesn't bring a JIT or AOT compiler to the party.
Re:Moving from TypeScript to Rust / WebAssembly by AbuAssar on Thursday July 09, 2020 @03:31AM (#23777823)
I’m interested in knowing more about your story. Would you please take the time to tell us more about it?
Re:Moving from TypeScript to Rust / WebAssembly by pjmlp on Thursday July 09, 2020 @04:02AM (#23777975)
Not much to publicly tell.

Portuguese startup based on our own version of AOLserver, based on the same principles of Apache plugins + Tcl + C, basically Rails before it was even an idea.

We got acquired, by another bigger Portuguese company (Easyphone), which alongside another acquisitions became Altitude Software.

Our stack was used to some of their products serving multiple top tier companies in Portugal, we created an IDE for our tools, written in VB.

Supported all major UNIX flavours and Windows NT/2000.

Eventually scale problems happened and we were looking how to tackle them while avoiding rewriting everything in C, as MSFT partner we got invited to try out .NET pre-public announcement, so we decided it was a good opportunity to rewrite our product in this new .NET thing.

Some of the team members eventually took all these lessons and founded OutSystems.

Re:Moving from TypeScript to Rust / WebAssembly by quickthrower2 on Thursday July 09, 2020 @02:58AM (#23777673)
What's the hard lesson? Performance? You have more power these days. The bottleneck won't be the interpreter.
Re:Moving from TypeScript to Rust / WebAssembly by pjmlp on Thursday July 09, 2020 @03:07AM (#23777711)
Performance yes, there is always more power as long as the bank account is full, and even then it isn't enough when working at scale.

The amount of histories of porting code prove otherwise.

Note I am not pushing away dynamic languages, only those that don't have a JIT/AOT as part of their canonical implementation.

Common Lisp, Julia, JavaScript, PHP (7 and later) are all invited to the party.

Meanwhile maybe JRuby or PyPy will eventually get more community love, instead of being the black swans.

Re:Moving from TypeScript to Rust / WebAssembly by PetahNZ on Thursday July 09, 2020 @03:20AM (#23777771)
But php doesnt have jit...
Re:Moving from TypeScript to Rust / WebAssembly by chaz6 on Thursday July 09, 2020 @03:28AM (#23777813)
JIT is coming to PHP in version 8.
Re:Moving from TypeScript to Rust / WebAssembly by DonHopkins on Thursday July 09, 2020 @07:22AM (#23778973)
Just In Time for 2020!