Fork me on GitHub
#boot
<
2018-01-15
>
danm15:01:34

My brain and google is failing me - are there docs anywhere for importing specific parts of a lib? We want to use only the dynamodb parts of amazonica, and importing the whole thing is huge/takes ages when building an uberjar

danm15:01:58

I'm sure boot offers a way to only pull in specific namespaces or similar, but I'm failing at finding out how

micha15:01:40

@carr0t what does boot show -d have to say about dependencies pulled in by amazonica, eg. com.amazonaws/aws-java-sdk*

micha15:01:57

does it pull in multiple separate modules that you might not need?

micha15:01:13

if so you can use :exclusions in your amazonica dependency

micha15:01:26

but in general there is no tree shaking performed when collecting dependencies for uberjars

micha15:01:30

but amazon does provide separate artifacts for the different services (eg EC2, SQS, S3, etc)

danm15:01:52

Ahha, :exclusions was it

danm15:01:53

Amazonica pulls in a whole load of other stuff. Actually we probably want to exclude most of it. Is there any kind of :exclusions * :inclusions [...]?

micha15:01:40

i don't believe so

danm16:01:35

Aah well. Ta 🙂

richiardiandrea19:01:08

@micha I remember you writing some .scm code, I am looking for a lisp with good REPL and good C interop, which one would you suggest me to look into?

micha19:01:39

i used guile and chicken scheme, and racket

micha19:01:49

what kind of work are you planning to do?

micha20:01:20

common lisp is also an option, maybe?

micha20:01:40

depends how important performance is to you

richiardiandrea20:01:26

@micha basically performance is not a problem for now, but I want to use libraries that have been battle tested for crypto for instance

richiardiandrea20:01:00

but want to preserve Clojure's semantics and immutability if possible

micha20:01:27

ah, i haven't used any scheme that has immutable by default semantics

micha20:01:23

there is pixie, is that still going?

richiardiandrea20:01:35

I think that is not maintained anymore

micha20:01:48

interesting

micha20:01:43

ferret looks interesting

richiardiandrea20:01:45

yep definitely, but I see no REPL, I opened an issue, pixie is actually close to what I am looking for

micha20:01:19

given a lisp you can make a repl 🙂

richiardiandrea20:01:43

I don't see interop in pixie though...but will explore more

richiardiandrea20:01:49

yeah definitely true 😉

micha20:01:59

via python perhaps

richiardiandrea20:01:13

yeah it says > Easy FFI

richiardiandrea20:01:54

thanks a lot! sorry for the ping but I remembered you had some project with alternatives to Clojure 😉

micha20:01:18

i have the day off today!

micha20:01:46

haha i was just looking at that

micha20:01:22

looks pretty easy to do ffi in there