Hacker News new | ask | show | jobs
by guideamigo_com 1027 days ago
> As a JS dev currently looking for a job, can you elaborate on this comment?

You can build a new framework and use that as your portfolio. JS apps like these can be quickly tried in the browser. That's not true of a new Go/Rust/Java library.

1 comments

That isn't quite true anymore since wasm got traction. There really is a lot of tooling around getting your go code to run even in browsers!
It's kind of true because the WASM GC proposal still isn't finished, so Rust and C++ are the only reasonable options, and also there's no native support for calling web platform APIs yet, so there's a lot of overhead for doing web stuff and you have to use a ton of JavaScript glue code (there are tools to help, but still...).

JavaScript / Typescript will probably always have a size advantage over WASM anyway because they don't have to ship any runtimes or standard library code. E.g. formatting a string or running a regex in JS is just a few bytes but in Rust you have to ship a whole string formatting/regex library.

Hearing about web assembly for years now.

Apart from some big companies, no one seem to use it.