This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-11
Channels
- # aws (2)
- # babashka (11)
- # beginners (107)
- # calva (6)
- # cljsrn (18)
- # clojure (180)
- # clojure-australia (6)
- # clojure-europe (54)
- # clojure-losangeles (9)
- # clojure-nl (4)
- # clojure-uk (13)
- # clojureladies (1)
- # clojurescript (57)
- # clojureverse-ops (1)
- # consultantsdirectory (1)
- # cursive (48)
- # datomic (11)
- # defnpodcast (3)
- # degree9 (1)
- # deps-new (5)
- # depstar (21)
- # docker (2)
- # fulcro (15)
- # helix (32)
- # kaocha (1)
- # lsp (21)
- # malli (15)
- # meander (15)
- # news-and-articles (2)
- # nextjournal (1)
- # off-topic (42)
- # pathom (3)
- # podcasts-discuss (1)
- # polylith (73)
- # protojure (1)
- # re-frame (43)
- # reagent (1)
- # releases (1)
- # restql (1)
- # schema (1)
- # sci (1)
- # shadow-cljs (23)
- # spacemacs (7)
- # sql (5)
- # tools-deps (42)
- # vim (15)
- # xtdb (3)
Anyone know why you can’t use an :advanced
compiled :bootstrap
host? I’m trying to figure out a work around but it’s not clear why it breaks down after advanced compilation.
simply not possible. :advanced
renames everything, deletes stuff that is unused, inlines stuff, etc
so the code produced by the self-hosted compiler works against names that no longer exist
could I isolate the code that initializes the compiler and build it separately as a standalone js file and interact with it via interop?
I mean its not about the code that initializes the compiler, that part can be advanced compiled easily
well, create like a mini host build that is essentially a couple of function to initialize and send strings to for evaluation
it’s okay if it’s big, only some users will hit this part of the application, but right now the entire app is penalized
but you can absolutely run a specialized self-host build in an iframe or so (different context is important)
thanks for the info, really appreciate it. I’m gonna just hack my way into it and hope for the best 😅
important aspect is that the host build using the self-host compiler + bootstrap are itself :simple