DEV Community

Discussion on: Which programming language in AWS Lambda should I use?

Collapse
 
megaproaktiv profile image
Gernot Glawe

Ecosystem – good point!
I have worked with node python and go for years. ( also with perl but that is another story ;) ) In the long run – at least since go changed to modules – developing is faster and easier with go then with Python/ typescript.
Python – having to use pyenvs, need a docker to compile c libs for linux if not working with linux
Node – large node modules, async or callback hells

Both have version issues, the long time usage includes updating to new versions.

Go cross compliles, have a fast and reliable module system and long term compatibiliy.

Just look at the supported lambda languages and their versions. Node x or python y first are depracated, then not supported any more.
Go 1.x is just – supported, for years, no need to change anything

Collapse
 
eriklz profile image
Erik Lundevall Zara

Yes, precisely.

We (my employer) used to develop many of our integration solution lambdas in Javascript, then Typescript (with the occasional Python sprinkled in), but now all new integration solution lambdas are built with Go instead.

This has a lot to do with the points you mention.

Thread Thread
 
megaproaktiv profile image
Gernot Glawe

Would love to hear THAT story :)

Which tools/framework do you use?

Thread Thread
 
eriklz profile image
Erik Lundevall Zara

For the Typescript parts it used to be Serverless Framework. However, now it is more based on AWS CDK. The CDK covers also a wider range of use cases.

That being said, there is also a lot development for customer solutions, and that depends on what they use also.