This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-16
Channels
- # ai (2)
- # announcements (9)
- # asami (6)
- # babashka (6)
- # beginners (49)
- # clojure (33)
- # clojure-europe (31)
- # clojure-nl (2)
- # clojure-norway (29)
- # clojure-uk (12)
- # clr (3)
- # cursive (3)
- # data-science (27)
- # datomic (13)
- # emacs (1)
- # graalvm (12)
- # gratitude (1)
- # hyperfiddle (39)
- # integrant (14)
- # leiningen (1)
- # matrix (3)
- # music (1)
- # off-topic (39)
- # other-languages (3)
- # pathom (7)
- # pedestal (19)
- # polylith (5)
- # portal (9)
- # releases (4)
- # shadow-cljs (8)
- # spacemacs (11)
- # squint (7)
- # testing (11)
Good news: AOT compilation may be coming back. AOT-compilation allows compiling Clojure source code to an assembly. This can speed up loading. It was particularly needed for improving the startup time of ClojureCLR itself. We had it in .Net Framework 4.x, lost it in .Net Core 3 and .Net x (x=5,6,7,8). (Though the startup time under .Net 7 without AOC is almost as good as with AOT in 4.x.) It was lost due to a decision not to implement System.Reflection.Emit.AssemblyBuilder.Save(). According to what we are now reading, System.Reflection.Emit.AssemblyBuilder.Save() is returning in .Net 9! See: https://learn.microsoft.com/en-gb/dotnet/fundamentals/runtime-libraries/system-reflection-emit-assemblybuilder#persistable-dynamic-assemblies-in-net-core There will be two different AssemblyBuilder implementations, one for dynamic (not persistable), one for persistence. Given that compiling also involves evaulation, I have ... questions. .Net 9 Preview 1 was just released a few days ago. I'll be starting a branch to do some playing.