Hacker News new | ask | show | jobs
by hellofunk 2243 days ago
Serialization usually refers to a need to save them offline somehow, when the program is not running, or sending them between running programs or machines. In this case, because clojure such a flexible and dynamic language, functions are often created at runtime based on surrounding logic, and there’s a wish to sometimes treat them just as data.
1 comments

I think this is a solved problem already, at least for Clojure JVM which can leverage AOT compilation. Maybe this library would help getting something similar for ClojureScript and Clojure-CLR, but at least ClojureScript that is compiled to JS wouldn't really gain anything here.

I think the use case for this library is less about saving things locally for reuse later and more about communication between multiple different services/runtimes.

How does AOT resolve the issue?