— Would be possible to do a lightweight version of hertz with async / await
—
const f = async n =>
await (n + await (n * n));
— Obviously no kernel stuff
— Wanna see some truly parallelism in the browser?🤤
— It still sloppy but works... maybe i should drop it later..
— Https://rawgit.com/determin1st/redsock/master/test-8/index.html
— How is this parallelism? Lel
— Sure, main thread is unloaded
— If you have GPU of course🤤