Hi Brent,

Tagged literals are supported: Nippy falls back to the reader whenever it 
encounters something it doesn't know how to serialize:

(def my-uuid (java.util.UUID/randomUUID))
=> #uuid "c463d8d3-49f4-4e40-9937-8a9699b1af1d"

(thaw-from-bytes (freeze-to-bytes my-uuid))
=> #uuid "c463d8d3-49f4-4e40-9937-8a9699b1af1d"

There isn't an example in the reference data set since I'm targeting 1.3+, 
but I'll make a note about this!

No Clojurescript support unfortunately since the lib relies on JVM 
features. It's an interesting question... I haven't personally seen a need 
(yet?) for fast binary serialization script-side since the reader 
performance (usually?) isn't as much of an issue there.

What I'd normally do for example is serialize server-side to and from the 
db, then communicate with the CLJS client through the reader. This could 
still be a bottleneck under certain circumstances though, so I'll try think 
about it...

If any CLJS gurus have comments, I'd be very happy to hear them! 

In real world use, are people hitting reader performance limits client-side?

-- 
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

Reply via email to