News for hackers. Stuff that matters.

Juliennng

Re:Writing JavaScript without a build system on Friday February 17, 2023 @04:26AM (#34832641)
Hopefully, the "Type Syntax in JavaScript" proposal is accepted one day, and you don't have to transpile ts => js anymore.
I've been playing with tagged-template for a while now and have a similar solution at work. I wanted to build something like that for a while now, well done!

I wrote about tagged template literal on my website : https://cavaleiro.fr/posts/template-literals/

Maybe that article can help about real world use case : https://tech.ebayinc.com/engineering/webassembly-at-ebay-a-r...
Re:Benchmarking Go vs. Node vs. Elixir on Monday February 11, 2019 @07:31PM (#19139920)
It seems the Elixir CPU usage is due to the way the Erlang VM manages schedulers. A scheduler will literally busy-wait if it thinks there might be more work to do soon, in an effort to improve the responsiveness of the system
Re:Ask HN: Which JavaScript framework changes the least? on Friday January 04, 2019 @06:42AM (#18823331)
React is very stable, component back before react use class still works today (before 2016). I consider that's a pretty stable core API.
Re:Ask HN: Which JavaScript framework changes the least? on Friday January 04, 2019 @06:33AM (#18823287)
They change it because React add the new context API in 16.3. The legacy one was broken by design, so the React team introduce a new api.