TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Task – a Sweet.js macro for CSP in JavaScript

18 pointsby sriharisabout 10 years ago

1 comment

juliangambleabout 10 years ago
It looks there is already another CSP implementation in Javascript by James Long (@longster) <a href="http:&#x2F;&#x2F;jlongster.com&#x2F;Taming-the-Asynchronous-Beast-with-CSP-in-JavaScript" rel="nofollow">http:&#x2F;&#x2F;jlongster.com&#x2F;Taming-the-Asynchronous-Beast-with-CSP-...</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;jlongster&#x2F;js-csp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jlongster&#x2F;js-csp</a><p>He did a talk on it at ReactConf here: <a href="http:&#x2F;&#x2F;conf.reactjs.com&#x2F;schedule.html#communicating-with-channels" rel="nofollow">http:&#x2F;&#x2F;conf.reactjs.com&#x2F;schedule.html#communicating-with-cha...</a><p>The difference seems to be that James&#x27; was strongly influenced by the Clojure CSP implementation in core.async. It&#x27;s not clear what this implementation was influenced by.