graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
Matsu 2021-04-27T05:42:25.134700Z

Just following up: Got everything working nicely and the task deployed

2šŸ‘
chrisn 2021-04-27T15:57:56.137100Z

I posted a https://github.com/cnuernber/cljs-lambda-gateway-example of using AWS API Gateway proxying to AWS lambda to host a full reagent-based webapp running in graal native. This required a bit of a bridge between API Gateway and a ring handler stack; this bridge I think would be best done by the community. In any case, Enjoy :-).

5šŸ”„3šŸš€
2021-04-30T14:29:50.142200Z

Nice combination of technologies! Do you have a specific use case for this combination? Iā€™m curious what drove you here šŸ˜…

chrisn 2021-05-01T19:11:03.180400Z

We (TechAscent) have built a number of sites that are really simple, just some web design, simple auth and some persistence. I wanted to see how hard it was to get our stack running on serverless and at the same time proof out Graal Native, a basic Ring stack, shadow-cljs a bit. Once it was finished I decided to opensource the part I think is useful to other people. This example kind of serves many purposes; it is I think the simplest reagent application possible although I do include the dependencies for re-frame. Aside from that there are no frameworks at all but enough stuff so that a basic postgres persistence pathway is easy. Then step by step how to get a normal repl, cljs repl, uberjar ... going so in that sense it is a basic template along with aws-like dev instructions for someone who knows very little clojure/clojurescript but wants to get something working all the way up to a simple serverless example. Clojure is used in quite a few microservice-type configurations so an example of a different form of serverless for Clojure I think is also interesting. Lots of motivations. No interest in building or getting involved in a library around the lessons but wanted to share so I just wrote them up.

2021-05-03T07:11:33.181300Z

Makes sense! Thank you!