I'm not sure we're arguing about the same thing. I think that Clojure only supporting 64 bit primitive arithmetic is fine, and I'm not proposing that it support 32 bit primitive arithmetic. The sole point of contention is what Clojure does when it has to box a primitive int. I think this is orthogonal to primitive args/return, but correct me if I'm wrong.
Right now, it boxes ints as a Long, which I think is changing the type. My proposal is that it box ints as Integer objects. Would changing the behavior in this way cause a fundamental performance limitation in Clojure? -Nathan On Oct 20, 12:50 pm, David Nolen <dnolen.li...@gmail.com> wrote: > On Thu, Oct 20, 2011 at 3:45 PM, nathanmarz <nathan.m...@gmail.com> wrote: > > But Clojure is already inconsistent. ints and Integers in interop are > > treated differently. The only way to make Clojure consistent is to > > either: > > Clojure is consistent. Whether or not that makes *interop* easier or harder > is orthogonal. > > You do know that Clojure now supports primitive args and return, right? How > is what you proposing going to be reconciled with that? > > David -- 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