What is the most popular language to use in lambda. Java/Node/Python?

What is the most popular language to use in lambda. Java/Node/Python?

I don’t have statistics to back this up, but my guess would be Node and Python

If I had to hazard a guess, node would be the most popular AWS Lambda language, followed by C#.

https://www.datadoghq.com/state-of-serverless/

No way is C# is more popular than Python. Obviously this is not definitive but it suggests that Python is the most popular. In fact it suggests C# isn’t even in the top 5.

As a lamguage in general, no. On Lambda? Maybe yes.

We’re only talking about lambdas here, hence the title of the post.

Go and ETL… let me doubt that. Python is almost universal standard with all things data.

python

java code is not seen in the lambda UI (seeing it sometimes really helps with debugging)

not sure about node, but I suspect it has broader acceptance than java

Why do you think C# is a popular lambda language?

Mostly because it’s too early/no coffee and I wasn’t thinking about how popular AI is on AWS, and putting that together with how popular python is for AI work, even when it’s just an API call to other AWS services.

My general thought process was node no matter what, but any time I see a lambda tutorial in a language other than node, it’s c#.

Haha, fair enough.

Running Lambda ideally needs, less memory, execution time and less startup time. Java is bad at all three for Lambda. Go works well for all these, but python and node are fine, in that order.

I guarantee that C# is behind Java on Lambdas (have seen enough enterprise setups).

We used nodejs, Python and go. Subjectively speaking I liked go for simplicity and greater efficiency with resources, same lambda in go had better cold start and memory consumption. Node with typescript also nice and quick to write, maybe a bit slower to start than go. Python was nice for gluing services together, simple lambda with Python embedded in cloud formation template did the job nicely. I like all 3 to be honest.

TL:Dr: Python is 1st and 4th whereas NodeJs is 2nd and 3rd.

NodeJs by far followed by Python. It’s so crazy how a mature and popular language like Java has so quickly fallen out of favor. Not bc it’s bad it’s just not ideal for any use case - Data Science: Python, Back end: node, front End: Angular. Rarely anymore is Java chosen due to its memory intensive JVM and slow start up. And I personally love Java. GoLang is quickly gaining traction over it as well.

Python and Node are the obvious choices since they are really fast, even on cold starts as long as you keep the package size small.

Using Java is also possible and can be optimised heavily (for example using Quarkus with native executables), but still won’t be as fast to start like the other two.

Python

I’m floored that Serverless Framework is larger than SAM for AWS.