> CSP proper is amenable to certain kinds of automated correctness analysis.
> No work has been done on that front for core.async as yet.

Although a far cry from Go's race 
detector<http://blog.golang.org/race-detector>, 
Go did ship with one feature that is helpful for preventing a certain class 
of bugs: explicit restriction to a send-only or receive-only channel via 
constraining conversion or assignment. 
See http://golang.org/ref/spec#Channel_types

Although Go utilizes the type system to accomplish this at compile time, 
core.async could achieve the same effect at runtime. Essentially, there 
could be two conversion functions for wrapping a channel in a read-only or 
write-only proxy object.

I'm not sure if this is actually useful, but I'm curious: Has this been 
considered?

On Friday, June 28, 2013 3:06:47 PM UTC-4, Rich Hickey wrote:
>
> I've blogged a bit about the new core.async library:
>
> http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html
>
> Please try it out.
>
> Thanks,
>
> Rich
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to