portkey

Portkey: from REPL to Serverless in one call
cgrand 2017-08-16T09:47:49.000019Z

So donew which is a quick macro to turn static maps into direct non-reflective calls (the only reflection occuring at macroexpansion time).

cgrand 2017-08-16T09:53:32.000262Z

Given that this code is far from being hot (it’s dwarfed by analysis wchi itslef is nothing compared to upload to AWS), we could remove the macro and do everything reflectively.

viesti 2017-08-16T09:57:54.000140Z

righ, since now if one needs to pass non-static maps, this leads to something like (eval as-doto* (assoc {} :param :value)), which is a bit hacky

cgrand 2017-08-16T10:07:10.000093Z

don’t forget that’s just some internal stuff, never meant to be exposed to the user

cgrand 2017-08-16T10:12:01.000297Z

so using plain interop is also a possibility

cgrand 2017-08-16T10:12:44.000033Z

and don’t forget that we are jumoing through static hoops to create a json payload in the end

cgrand 2017-08-16T10:13:11.000309Z

at some point it may be simpler to skip the sdk

viesti 2017-08-16T10:51:33.000214Z

yup

viesti 2017-08-16T10:51:49.000040Z

same thoughts here 🙂

cgrand 2017-08-16T11:12:21.000161Z

in the near term upload time will be a concern