This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-05
Channels
- # aws (12)
- # babashka (30)
- # beginners (294)
- # calva (98)
- # clj-on-windows (3)
- # clojure (48)
- # clojure-europe (31)
- # clojure-italy (8)
- # clojure-nl (2)
- # clojure-uk (11)
- # clojurescript (58)
- # conjure (1)
- # events (1)
- # fulcro (35)
- # graalvm-mobile (2)
- # jobs (8)
- # lsp (11)
- # malli (25)
- # off-topic (33)
- # pathom (24)
- # pedestal (1)
- # polylith (15)
- # re-frame (7)
- # reitit (10)
- # releases (8)
- # remote-jobs (2)
- # sci (3)
- # shadow-cljs (79)
- # spacemacs (10)
- # sql (17)
- # tools-deps (17)
- # vim (4)
- # xtdb (11)
cool :) Feel free to share at https://github.com/babashka/babashka/discussions/categories/show-and-tell as well
Now that 4clojure is closing down, here's a fun idea: - Contribute to 4bb (https://github.com/porkostomus/4bb) - Or make a babashka web app (or client side only SCI app) that offers a similar 4clojure UI but can be ran locally)
i compiled bb 0.4.6 with mandrel 21 and the result is only 38MB which makes me suspicious. but it seems like everything is there? any ideas what makes such a difference?
@leah You can try to run the test suite with that binary in the current directory of babashka's repo. BABASHKA_TEST_ENV=native script/test
it passes all tests
during build it says Warning: profile :feature/xml not found.
, not sure what's up with that. i can parse xml with it tho
{:test 651, :pass 4882, :fail 0, :error 0}
real 0m0.013s
x86_64 Void Linux
maybe worth checking out mandrel 😄
I read the README but it wasn't immediately apparent to me why I should use this over the "normal" one
i just tried it because one can build it with a plain openjdk11
text data bss dec hex filename
90118751 28520 55f91b7 /home/leah/bin/bb
91220131 28472 5705fbb ./bb
first one is upstream binary
so the actual code sizes dont differ so much
oh no -.-
$ du --apparent-size ./bb 89181 ./bb
thanks zfs -.- 😿
yeah 🙂
if you want a leaner babashka build, you can try export BABASHKA_LEAN=true
and you will end up with some libraries excluded from the binary and a slightly smaller size
yeah i assumed i accidentally triggered this at first. but i want the features of course 🙂