ClojureScript Gets Async/Await

clojurescript.org

76 points by Borkdude 4 hours ago


midnight_eclair - 3 hours ago

fun fact: clojurescript had support for asynchronous paradigm through core.async library (CSP style) long before async/await landed in javascript itself.

edit: i'm in no way trying to diminish the value of this release, just pointing out how cool it is that you can get new language features before they are available in the host language by just adding a library to your dependencies. clojure is awesome!

timwis - 2 hours ago

I wish an alternative to JS for the front end would catch on and be something more than obscure... I'd love to use something like clojurescript, but I struggle to imagine doing so for anything but a personal side project :/ Maybe this is easier to adopt if you're already a clojure shop for the backend?

nbardy - 2 hours ago

Seems like wrapping async await functions with CSP was a better way to handle this . Clojure already had a nicer pattern for this

boczez - an hour ago

Massive, cheers dude and congrats on the release. I’d say it’s such a good time to get into Clojure/Script but, well … it has been for a while!

slifin - an hour ago

This is important for JavaScript interop without having to include additional libraries very cool and was missing for a long time

Congratulations on the release :-)

rockyj - an hour ago

Nice! Now also get rid of the elephant in the room - "Google Closure Compiler" and then we can really celebrate.

zerr - 3 hours ago

For the moment thought the article was about CoffeeScript... But it already supports async/await :)