DEV Community

Discussion on: ES4, The Failed proposal the indirectly led to Node.js, ES6, TypeScript and Deno

Collapse
 
anupa profile image
Anup Aglawe

Would be interesting to see deno growing in next few years, though it has major performance issues ( as compared to nodejs ) even after rewriting it in rust.

Eventually, Microsoft did what they always do, which is steal source code

You hate microsoft for few things.... But Kudos to them,Typescript is really awesome.

Collapse
 
hansoncoding profile image
Hans

It's funny you say that because I ended up removing a huge rant on Microsoft people's absolute hate for JavaScript and how (it sounds like) they basically tried to bully people into turning JS into Java with ES4. It was a good 3 paragraphs.

Are you reference to the TypeScript engine taking a full second to startup as the performance issue or the network traffic?
zdnet.com/article/deno-1-0-node-js...

Because personally, I'm not that concerns about the 1 second Ryan Dahl seems to be obsessing about.
But I'm sure his concern is more than valid as scale grows. The network traffic seems to be a bigger issue as noted in the above article.

I would like to expand on the last point of web assembly.

Although I didn't talk about this very much, I wonder if the performance issues could be solved by compiling down to web assembly, rather than JS on both server (or native-side on a Raspberry PI) and client-side. The link below goes server-side Web assembly but it's built in rust. However, I don't see why AssemblyScript, or Deno's core couldn't be expanded to fill the same purpose.
medium.com/wasm/webassembly-on-the...

What would be especially interesting is if there was a hybrid approach similar to how Flutter uses JIT in development and AOT in production. Only in this case, I'm more talking about automatically compiling to web assembly on both server and client side (when needed) and JS when it isn't needed. But that's all a bit beyond me so who know if its even possible.

Collapse
 
oliverw profile image
Oliver Weichhold

Are you reference to the TypeScript engine taking a full second to startup as the performance issue or the network traffic?

What Typescript Engine are you talking about? Typescript is transpiled to plain Javascript.

And sorry, get over with the Microsoft hate. The company changed drastically over the past decade.