This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-10
Channels
- # adventofcode (174)
- # announcements (5)
- # aws (9)
- # babashka (17)
- # beginners (259)
- # boot-dev (1)
- # calva (6)
- # cider (19)
- # circleci (7)
- # clj-kondo (9)
- # cljfx (51)
- # cljs-dev (4)
- # clojure (83)
- # clojure-australia (2)
- # clojure-dev (9)
- # clojure-europe (78)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-switzerland (1)
- # clojure-uk (18)
- # clojurescript (22)
- # conjure (17)
- # cursive (17)
- # data-science (1)
- # datomic (15)
- # defnpodcast (1)
- # events (2)
- # fulcro (39)
- # graalvm (16)
- # graphql (1)
- # kaocha (5)
- # lambdaisland (11)
- # malli (6)
- # meander (1)
- # off-topic (26)
- # pathom (10)
- # re-frame (10)
- # reitit (6)
- # rewrite-clj (7)
- # sci (3)
- # shadow-cljs (28)
- # sql (12)
- # test-check (10)
- # tools-deps (31)
I was asking a few weeks ago about Clojure on Apple Silicon; I got a few responses, and now having bought one (my wife’s, actually) I can say that under Rosetta things, uh, just work.
Performance wise, I got almost parity between a low-tier Air with 8gb of memory and a dual core i5 @ 3.3ghz with 16gb. For our codebase, intel Mac takes 51s to start the server vs 68 on Apple Silicon, but compiling our front end is 67s (intel) vs 55s (arm).
@orestis What does it look like to run something "under Rosetta" - does this happen automatically?
I downloaded bb and clj-kondo from GitHub and they just work, after the necessary security stuff
Modest perf improvements in kondo, even under Rosetta; classpath warmup went from 10 to 8 seconds, source lint from 2.5 to 2
This machine needs to go back (ordered the wrong keyboard, gah) but once the new one comes in (after the holidays) I’ll offer to try to build a native binary using graal. I’m not sure they even have something out?
I wish Apple upped the memory specs a bit, at least 64GB like they do now with the old macbook pro
Rumors say that much beefier machines are on the way so hopefully they will cater to this use case.
So, for fun I tried cli-kondo using the azul native jdk. Classpath cache warmup is 5 seconds and actual source linting is a bit below 2.
have you tried the Azul jvm for non-rosetta?
@alexmiller it’s on my list
seen some pretty impressive comparisons with that
Btw the general UI performance improvements are really big. I’ve tried opening a couple of hundred of mostly scanned PDFs which is my wife’s workload and after only a few seconds of beach ball everything was back to snappy. All this on a machine with no fan and at a pretty low price (less than half of my comparison machine). Pretty impressive.
i've ordered a macbook air with m1 for my wife as well (seems enough for her use cases). as for myself, i'm torn between the current macbook pro with m1 and a higher-end macbook pro with an alleged m1x that's to be released next year. 😆
I’m holding out for one that can drive two screens and has more than two Thunderbolt ports and all that. Hopefully by the time that’s released, the software that I use will be running natively as well.