srikumarks/cspjs
View on GitHub ↗ ★ 200 JavaScript
CSP-style tasks and channels for JS using a sweetjs macro.
7 mentions on Hacker News by 4 people: 1 story, 6 comments · first 2014-10-02 · latest 2018-12-10
20082026
-
…some good ideas left there - especially async error handling and native "data flow variables". [1] https://github.com/srikumarks/cspjs
comment by sriku · 2018-12-10 · in Inside Rust's Async Transform -
…to the updated version sadly so I can't comment on its state now. [1] https://www.sweetjs.org/ [2] https://gitHub.com/srikumarks/cspjs
comment by sriku · 2018-05-26 · in Mint-lang: a language for the front-end web -
Been using async/await like sweetjs macro "task" in production for around 1.5yrs ( https://github.com/srikumarks/cspjs ). This code would read - task getUsersWithFriends() { users <- getUsers(); catch (e) { return trySomethingElse(users);…
comment by sriku · 2016-06-02 · in Async and Await -
…sweetjs macro that supports a similar async mechanism and (imho) better error handling facilities. https://github.com/srikumarks/cspjs Have been using it in a production system for a year now.
comment by sriku · 2015-12-28 · in Pogoscript – a compile-to-JS language that emphasises concurrency, readability -
▲ 18
Task – a Sweet.js macro for CSP in JavaScriptstory by sriharis · 2015-04-26 · 1 comment
-
https://github.com/srikumarks/cspjs - The readme has benchmarks from bluebird generators. It is only 74 ms slower than the sweet.js solution. So the author knows.
comment by skeeterbug · 2014-10-02 · in Bye Bye JavaScript Promises -
…wonder if anyone can help us out by comparing and contrasting this to the subject of the article ( https://github.com/srikumarks/cspjs ).
comment by johnhenry · 2014-10-02 · in Bye Bye JavaScript Promises