On Monday, April 22, 2013 6:18:56 PM UTC-7, John Gabriele wrote: > > I'm curious: what (if any) differences do you see happening between > Clojure(Script) and ClojureC? How close do you expect them to be? >
I'd like them to be as close as reasonably possible. Some differences that exist today are * Fields can only be accessed in code following the types they declare. I'm not too happy about this, but can't be bothered to fix it right now. * Non-mutable fields cannot be set. That's a feature. * Only declared protocol methods can be implemented, i.e. you can't make up a new method for a type, implement it and call it. * Integers are not floats and vice versa. * Characters are not strings. > Do you have any notions yet of what C-library interop might look like? > Not really. Right now a low-level interface to C exists, similar to ClojureScript's `js*`, namely `c*`, but that's probably not what you'd want to use for binding on a larger scale. We might co-opt SWIG. Mark -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
