Re:AWS Lambda Releases Go Support
by schlarpc on Monday January 15, 2018 @09:21PM
(#16155280)
Looks like the "Go support" is just running a precompiled binary that starts a TCP listener (https://github.com/aws/aws-lambda-go/blob/master/lambda/entr...), so might not be that hard to port...
[ Parent
| on HN ]
It looks like it is exposing the handler over TCP using net/rpc. I would imagine that would be quite difficult to port to a different language.
yes basically you would have to implement at least part of this serialisation format https://golang.org/pkg/encoding/gob/
if it's a "json" like data that is sent to you (i.e a structure made out of only primitive types and list/dict) it may be not that hard, but I think it will be a work with very few value outside of this very specific use case.