logoalt Hacker News

pebal • today at 8:43 AM • 3 replies • view on HN

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.


Replies

dwattttt • today at 8:44 AM

Languages that target WebAssembly _are_ languages that generate native code? C & Rust for example.

pjmlp • today at 8:58 AM

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.

josephg • today at 11:53 AM

> 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?

➕ show 1 reply