google-cloud

Google Cloud Platform: Clojure + {GAE, GCE, anything else on Google Platform}
2020-09-22T12:08:42.001900Z

@dave.dixon IIRC cloud functions only support a limited set of languages, but cloud run should be a good fit instead. I blogged about it some time ago https://hannuhartikainen.fi/blog/clojure-cloud-run/

sparkofreason 2020-09-22T14:05:21.003400Z

Thanks @hannu.hartikainen. I was able to get the cloud function working with Clojure, though it required a small Java shim to work around some class loader stuff. But cloud run might actually be a better fit for our use case, going to give it a try as well.

2020-09-22T14:43:17.005300Z

Oh, ok. I seem to recall cloud functions only supported Node.js and Python back when I had more use for it, but they’ve added Java and Go since then. Would be great if you blogged about your shim, btw!

2020-09-22T14:44:22.006400Z

Of course Node.js+cljs is viable too for some use cases.

sparkofreason 2020-09-22T17:19:04.007600Z

I started looking at CLJS, but got stuck because we require a different version of node than supported by Google. I'll write something up about the shim. This is at least the third time I've run into this classloader issue, so it will be good to document it.