Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2014 (2)
20082026
  1. …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
  2. …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
  3. 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
  4. …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.
  5. ▲ 18
    Task – a Sweet.js macro for CSP in JavaScript
    story by sriharis · 2015-04-26 · 1 comment
  6. 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
  7. …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