Re: Clojure Start-up Time

2017-12-23 Thread Alex Miller
The server ticket I linked has a patch that avoids the server initialization if you’re not using it. The original work should have been better factored (I’m to blame on that one), so it’s a bigger change than just conditional load. The refer one avoids a ton of work, but it’s a small factor in t

Re: Clojure Start-up Time

2017-12-23 Thread Nathan Fisher
Thanks Alex! Agreed I don’t think there is any easy quick win aside from putting a conditional around the server section that’s controlled by an environment variable. There might be some optimisations that could be done by front loading classes, similar to a prefetch in HTTP. Class loads from jar

Natural Language Datalog

2017-12-23 Thread Dennis Heihoff
Alex Warth from HARC (Human Advancement Research Center) wrote a natural language datalog engine. It's is used to represent facts and queries in Bret Victor's https://dynamicland.org/ Could it work with Datomic? Demo: http://alexwarth.com/projects/nl-datalog/ Repo: https://github.com/harc/n

Clojure Start-up Time

2017-12-23 Thread Alex Miller
Some related tickets: Server load (open) - https://dev.clojure.org/jira/browse/CLJ-1891 Spec load (closed but some more info) - https://dev.clojure.org/jira/browse/CLJ-2108 refer perf (open) - https://dev.clojure.org/jira/browse/CLJ-1730 However, all of these are really just some easy one- tim