News for hackers. Stuff that matters.
Re:AWS Lambda Releases Go Support by GolDDranks on Monday January 15, 2018 @09:17PM (#16155263)
Wishing for Rust support too. At the moment we are doing some batch processing stuff on AWS Lambda using Rust. We are wrapping the Rust binary in a Python script, which is fiddly and annoying.
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...
Re:AWS Lambda Releases Go Support by raidan on Monday January 15, 2018 @10:26PM (#16155564)
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.
Re:AWS Lambda Releases Go Support by allan_s on Tuesday January 16, 2018 @06:21AM (#16157389)
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.

Re:AWS Lambda Releases Go Support by FridgeSeal on Monday January 15, 2018 @09:56PM (#16155439)
I'm in the process of writing a rust program that will run on Lambda too!

Have you head or Apex [0], from what I understand it just creates a node.js shim to call your binary, it's what I was planning to use.

0: https://github.com/apex/apex

Re:AWS Lambda Releases Go Support by jitl on Tuesday January 16, 2018 @12:59AM (#16156155)
Go might be a better language to use as a shim executor than Javascript. Unless Lambda is doing something tricky to make NodeJS perform much better than normal when it comes to loading code
Re:AWS Lambda Releases Go Support by FridgeSeal on Tuesday January 16, 2018 @01:18AM (#16156218)
Oh yeah, we could use Go directly now can't we.

Still really hoping we get direct Rust support at some point though.