Comment

Comment by seniorsassycat

I don't understand why AWS released Go support instead of binary support and I don't understand why they chose to rely on go's net/rpc.

The Go 1.x runtime will happily execute any binary, go, rust, c++. Events are sent over a TCP stream. That stream uses Go's net/rpc which encodes objects using Go's special [gobs] binary format.

If they had chosen a more common exchange format it would be much easier to support new runtimes. I haven't found any implementation of gobs outside of go. If you write one for a language you could use that language to write a native Lambdas.

[gobs]: https://golang.org/pkg/encoding/gob/

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton