Fork me on GitHub
#graalvm
<
2019-07-25
>
taylor11:07:05

@mikeb here’s a working example HTTP server that uses http-kit and Ring https://github.com/taylorwood/lein-native-image/tree/master/examples/http-api

mikeb18:07:18

Thanks so much @taylor and @borkdude it got me pointed in the right direction. I finally got http-kit to compile and run, never could get jetty to compile.

πŸ‘ 8
πŸ‘ 4
mikeb18:07:00

The item that finally worked was https://github.com/taylorwood/clj.native-image and thank you so much for that!

πŸ‘ 4
borkdude20:07:42

if you want to be able to use pprint or spec in GraalVM, please upvote this issue: https://ask.clojure.org/index.php/740/locking-macro-fails-bytecode-verification-native-runtime

mikeb20:07:57

done, and how did I not know about http://ask.clojure.org until now.

Alex Miller (Clojure team)20:07:37

because it just launched an hour ago

mikeb20:07:36

Cool, just saw a bunch of questions from years ago and figured it must have been older πŸ™‚ Excellent I love it!

Alex Miller (Clojure team)21:07:40

it's seeded with all open jiras