Better HN
topnewbestaskshowjobs
Log inSign up

tarasm

3 karma · joined Feb 9, 2014 (12y ago) · 11 submissions

Submissions

comment 9mo ago · link · parent

JavaScript has async/await, but it still lacks structured concurrency.

That gap shows up as ad-hoc cancellation, fragile cleanup, and async code that no longer behaves like synchronous code once things get even slightly complex.

This post argues that the missing piece isn’t a heavier abstraction, but a small runtime polyfill for structured concurrency: scoped lifetimes, parent/child tasks, and guaranteed cleanup.

Is JavaScript ready for structured concurrency?

2.

Why JavaScript Needs Structured Concurrency(frontside.com ↗)

4 points · by tarasm · 9mo ago · 1 comment

3.

The Heart Breaking Inadequacy of AbortController(frontside.com ↗)

4 points · by tarasm · 1y ago · discuss

comment 2y ago · link · parent

Here is an example of using Effection with React to build a sophisticated loader https://github.com/taras/effection-react-loadingspinner

comment 2y ago · link · parent

I think most developers don't know what Structured Concurrency is it's quickly growing in popularity. It's now available in Kotlin, Java, Scala, GoLang and Python.

6.

Deno Is “Blazing Fast” for Humans(frontside.com ↗)

3 points · by tarasm · 3y ago · discuss

7.

Effection – Structured Concurrency Framework for Node and JavaScript(frontside.com ↗)

5 points · by tarasm · 4y ago · discuss

8.

Choosing a frontend framework in 2017(medium.com ↗)

2 points · by tarasm · 9y ago · discuss

9.

Video: In-depth introduction to Orbit.js by dgeb(youtube.com ↗)

0 points · by tarasm · 12y ago · discuss