aws-lambda

vemv 2021-07-26T17:31:01.003500Z

Easy question I guess, is it mandatory to AOT vanilla JVM clojure shipped to Lambda? Normally I avoid AOT in any given prod app - I favor simplicity over startup time. However Lambda is sensitive to startup time 🤔

ghadi 2021-07-26T17:31:37.004Z

it's not mandatory but it's recommended for the reason you mentioned

ghadi 2021-07-26T17:31:52.004400Z

it may be mandatory depending on if you're using the AWS Java runtime

ghadi 2021-07-26T17:32:04.004700Z

which expects to find classes, not clj files

vemv 2021-07-26T17:33:07.005900Z

Yeah the devil is in the details :) technically AWS Java might be happy as it finds clojure.core's .class files?

ghadi 2021-07-26T17:33:23.006300Z

correct

ghadi 2021-07-26T17:33:27.006500Z

we are working on something in this space, stay tuned

👀 2
Karol Wójcik 2021-07-26T17:54:01.008600Z

@vemv you can check holy-lambda and use either java, bb or native runtime. @ghadi could you share some details. Are you working on Clojure runtime?

ghadi 2021-07-26T18:10:29.008800Z

that's part of it @karol.wojcik

Karol Wójcik 2021-07-26T18:14:20.010100Z

Anything different than HL actually is?

ghadi 2021-07-26T18:35:52.010400Z

yes!

Karol Wójcik 2021-07-26T18:36:20.010700Z

Wow. Can wait to see it!

ghadi 2021-07-26T18:43:38.010900Z

I mean it's much smaller than holy-lambda

ghadi 2021-07-26T18:43:50.011200Z

but... stay tuned

Karol Wójcik 2021-07-26T18:45:43.011500Z

:D I will