Fork me on GitHub
#rewrite-clj
<
2019-11-18
>
lread00:11:57

I think cider folks are heavy users of MrAnderson

sogaiu01:11:38

yes, that's where i first saw it mentioned. was curious about whether there were other options 🙂

sogaiu06:11:15

interestingly, xsc wrote something that uses mranderson: https://github.com/xsc/lein-isolate

sogaiu06:11:10

it seemed possible that mranderson uses rewrite-clj...and its project.clj suggests it does.

lread15:11:39

rewrite-cljc progress update: GraalVM experiments continue, trying out github actions and will also give http://drone.io cloud a whirl.

borkdude15:11:25

@lee Have you tried a native app with only clojure.test and barely nothing else? To check how much memory that consumes

borkdude15:11:36

so apart from rewrite-cljc

lread15:11:24

I have a hello world with a couple of tests where I learned how GraalVM works. Don't have numbers on that, but can look. Do have some numbers on natively compiling and running each rewrite-cljc namespace individually. All work under 3gb restriction except for one.

lread15:11:49

My goal is to test that rewrite-cljc compiles natively with GraalVM, do you think it important that this test be carried out across mac/windows/linux or would linux only give enough confidence?

lread15:11:32

(I ask this because http://drone.io is linux only, and it looks like it has maybe has a generous amount of RAM https://blog.drone.io/drone-cloud/)

borkdude15:11:10

If the goal is only testing, I think any reproducible environment would suffice

borkdude15:11:55

But having more than one OS seems desirable. I did have some problems that manifested only on Mac or Linux, not that many though

lread15:11:10

Thanks, I'll give http://drone.io a try and let you know how it goes. GitHub Actions also looks interesting for their 7gb RAM (I think) and multi-platform support. If I can get each test namespace to compile and run under GH Actions available RAM, it could work.

lread15:11:52

Portal inspired!

sogaiu15:11:13

he he -- totally didn't get the reference, so had to do some image searches 🙂

lread16:11:23

it is a fun puzzle video game, if you are into that kind of thing. simple_smile

sogaiu16:11:23

tnx, i am, but in recent years i have been avoiding such things :)

lread16:11:20

I think it was @U04V15CAJ who said Clojure is more fun than video games?

borkdude16:11:06

I might have, but if I didn't, I still agree

sogaiu16:11:28

ha ha ha - i had started avoiding before getting into clojure, but may be i've been able to continue because of clojure :)

borkdude15:11:44

It would still be good to find out where this huge need for RAM comes from

lread16:11:37

well, rewrite-clj (and rewrite-cljc) have a pretty comprehensive test suite, I thought it might be just the size of that. Not having a vast amount of experience with native-image, I was not terribly surprised at blowing 3gb as the default -Xmx setting is for native-image is 14g.

borkdude16:11:33

measuring is better than guessing 🙂

lread16:11:49

true. I continue to poke and prod and measure.

borkdude16:11:16

clojure.test isn't that big itself but maybe it brings in some weird stuff

lread16:11:35

I'll do some more tests against my graal hello world today.