News for hackers. Stuff that matters.
Re:Rust Port of TypeScript (Tsc) by pebal on Thursday October 08, 2026 @03:51AM (#50002986)
WASM makes no sense and has no future.
Re:Rust Port of TypeScript (Tsc) by pjmlp on Thursday October 08, 2026 @04:33AM (#50003266)
Re:Rust Port of TypeScript (Tsc) by pebal on Thursday October 08, 2026 @04:43AM (#50003347)
I’m not saying it doesn't work. I’m saying it’s a waste of resources and won’t gain widespread popularity. The current trend is porting source code to languages that generate native code.
Re:Rust Port of TypeScript (Tsc) by josephg on Thursday October 08, 2026 @07:53AM (#50004738)
> I’m saying it’s a waste of resources

A waste of what resources? Other people's time? That isn't up to you to decide. I think your comment is a waste of resources. But how you spend your time isn't up to me. And how wasm people spend their time isn't up to you.

> The current trend is porting source code to languages that generate native code.

Cool story, but without wasm, how are you gonna run that native code in a browser?

Re:Rust Port of TypeScript (Tsc) by pjmlp on Thursday October 08, 2026 @04:58AM (#50003462)
I dislike the WebAssembly advocacy of some folks, where they act as if there weren't similar attempts all the way back to UNCOL in 1958, and even in recent history, seem to only focus on JVM, while ignoring the CLR and BEAM.

However, there are indeed some cases where it does make sense since we have it around anyway, and one of them is running the Typescript compiler in the browser, now that it is written in a compiled language.

Re:Rust Port of TypeScript (Tsc) by dwattttt on Thursday October 08, 2026 @04:44AM (#50003367)
Languages that target WebAssembly _are_ languages that generate native code? C & Rust for example.