This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-06
Channels
- # aleph (13)
- # announcements (1)
- # babashka (89)
- # beginners (23)
- # calva (14)
- # circleci (7)
- # clj-kondo (39)
- # clj-on-windows (1)
- # cljdoc (5)
- # cljsrn (29)
- # clojure (98)
- # clojure-art (3)
- # clojure-conj (5)
- # clojure-europe (14)
- # clojure-nl (1)
- # clojure-norway (9)
- # clojurescript (18)
- # clr (39)
- # code-art (3)
- # community-development (3)
- # cursive (3)
- # emacs (11)
- # events (1)
- # fulcro (12)
- # graalvm-mobile (16)
- # graphql (3)
- # gratitude (1)
- # honeysql (19)
- # java (7)
- # joyride (23)
- # lsp (22)
- # malli (2)
- # missionary (25)
- # off-topic (15)
- # polylith (15)
- # rdf (5)
- # reagent (9)
- # reitit (3)
- # scittle (3)
- # shadow-cljs (37)
- # slack-help (2)
- # sql (10)
@smith.adriane FYI, someone was asking about the state of "this project" (grease) on Reddit: https://www.reddit.com/r/Clojure/comments/p3jojl/comment/j38o6da/?utm_source=reddit&utm_medium=web2x&context=3
does graalvm generally create a relatively large binary, compared to apps made other ways?
or is that something to do with grease? or is the question off base?
the binary for the demo project was intentionally bloated to include as many libraries as possible that might be useful for trying at the repl.
there's also been zero effort to try to optimize binary size.
FWIW, babashka packs several libs and is around 75mb for macOS (and I've done my best to reduce binary size by getting rid of dynamic requires, etc)
Since I haven't tried to optimize binary size, it's hard to know how it compares with other options.
I just looked another build that includes fewer clj libs and it was around 111mb and half of that is just skia (a non clojure graphics library).
I have an old build that's only 85mb on my phone.
nice! yeah - I truly don't have context so just asking for my own knowledge - assuming skia is what you are using for ios rendering?
in any case, I bet youre right that with optimization based on what the given app actually needs, could be smaller… and I'm not surprised there is interest in the status of this project, I think its a really apt idea
yes, skia is what I was using for rendering. I think the build that I had was a debug build though. It would also be possible to use something besides skia.
yep! I don't plan on making new bindings anytime soon 🙂 I hope to use membrane and/or humbleui soon for my app - goal would be desktop and mobile - still wrapping my brain around how to represent frontends in clojure - i work in infrastructure so these code patterns are a lot more complex that what I'm usually looking at
At some point, it would be interesting to have a membrane backend based on Apple's CoreGraphics library.