A faster clojure startup

101 views
Skip to first unread message

Gal Dolber

unread,
Feb 28, 2014, 10:16:44 AM2/28/14
to clojure-ob...@googlegroups.com, clo...@googlegroups.com
Here're some notes on the lean compiler I've been working on for clojure-objc


Feedback's welcome

Gal Dolber

unread,
Feb 28, 2014, 10:53:48 AM2/28/14
to bob, clo...@googlegroups.com, clojure-ob...@googlegroups.com
The runtime impact should be none or minimal, but I didn't benchmark it yet.


On Fri, Feb 28, 2014 at 12:44 PM, bob <wee...@gmail.com> wrote:
Great, will it impact the runtime performance? 

Gal Dolber

unread,
Mar 6, 2014, 5:01:32 PM3/6/14
to clo...@googlegroups.com, clojure-ob...@googlegroups.com
Here's more on this: https://github.com/galdolber/clojurefast

I'm stuck figuring out how to get AOT and dynamically compiled clj files to work nice together. 

Help is more than welcome!


On Thu, Mar 6, 2014 at 4:06 PM, Nicola Mometto <brob...@gmail.com> wrote:

I wonder how this compares with this change Rich made to enable lazy fn initialization:
https://github.com/clojure/clojure/commit/71930b6b6537a796cdf13c4ffa7cf93eb53b6235
that he later reverted:
https://github.com/clojure/clojure/commit/c5681382da775e898915b17f3ab18b49c65359ec

If I read the first commit correctly that approach consisted in wrapping
all fn objects that appears in a def init position in a FnLoaderThunk,
which loads the fn class, creates a fn object and binds it to the Var's
root the first time the fn is invoked.

It's not clear to me why that change was reverted.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages