Fork me on GitHub
#portkey
<
2017-09-12
>
richiardiandrea05:09:59

So this portkey should really be a nice way to deploy AWS lamdbas, even JS ones...do I understand correctly that for now only JVM lamdbas can be deployed?

cgrand06:09:34

@richiardiandrea for js, js engines are lacking features. Namely one: the ability to inspect a closure closed-overs.

cgrand06:09:46

@richiardiandrea to make things clear: aws-clj-sdk can be ported to CLJS without majoir concern. portkey on the other hand requires introspective features that JS is lacking (and I haven’t found them in v8/JsCore documentation neither — I’d love to be proved wrong)

cgrand07:09:11

However it may be possible to create a meta-circular JS interpreter that add these features. This interpreter would run only in the developer repl, Lambda would get plain JS

viesti07:09:56

didn’t find :meta-circular: emoji so settled for a wizard hat

cgrand07:09:36

Currently aws-clj-sdk functions take 0 or 1 arg. If I assume that 2+ args are keyword args then aws-clj-sdk could almost be a drop-in replacement for amazonica