This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-18
Channels
- # adventofcode (9)
- # alda (2)
- # babashka (89)
- # beginners (86)
- # bristol-clojurians (1)
- # calva (54)
- # chestnut (2)
- # cider (18)
- # clj-kondo (19)
- # clojure (160)
- # clojure-brasil (2)
- # clojure-europe (6)
- # clojure-italy (8)
- # clojure-nl (46)
- # clojure-spec (52)
- # clojure-uk (45)
- # clojured (4)
- # clojuredesign-podcast (11)
- # clojurescript (15)
- # core-async (50)
- # datomic (41)
- # devops (3)
- # emacs (10)
- # fulcro (95)
- # graalvm (11)
- # graphql (3)
- # kaocha (1)
- # luminus (1)
- # malli (4)
- # off-topic (13)
- # overtone (3)
- # pathom (8)
- # re-frame (13)
- # reitit (10)
- # shadow-cljs (83)
- # spacemacs (2)
- # specter (9)
- # tools-deps (3)
- # vim (2)
I'm considering trying to get clojure running on AWS lambda and wondering has anyone had luck compiling an http client, a dynamodb lib, and json lib with native-client?
@mikeb cheshire works out of the box with graal native (see e.g. jet / bb). I would be surprised if clj-http didn't work, but I haven't tried it yet
@mikeb use https://github.com/martinklepsch/clj-http-lite this works and I have tested in various scenarios
has the exact same API as clj-http
@rahul080327 why lite instead of vanilla btw?
> No support for insecure HTTPS connection (yet) This is no issue anymore with GraalVM, now works out of the box. Given that limitation I'd still try the vanilla one as well (cc @mikeb). I'm considering adding it to babashka.
@borkdude > why lite instead of vanilla btw? last time I checked vanilla had issues with Graal due to the fact that it used Apache HTTP client and that had reflection issues. one can possibly make it work with the reflection config but its not out of the box
Seems to work here: https://github.com/oracle/graal/issues/768 https://github.com/DmPanov/graal-vs-apache-httpclient/commit/553be402370a363131e44c8f8e0a7cff1ca953ce
yeah i used it a while back, i would expect it to be okay now