I looked for "distcc lambda" and found this: https://github.com/StanfordSNR/gg I don't know how production ready it is, but probably a good starting point. Answer from kichik on reddit.com
Reddit
reddit.com › r/aws › is it possible to compile and execute a c program using aws lambda?
r/aws on Reddit: Is it possible to compile and execute a C program using AWS lambda?
March 10, 2020 -
I am working on a personal project of making an online IDE . And i have implemented the compilation and Execution using a EC2 instance. But, Recently came to know about Lambda and i am wondering if its possible to do the same (compile and execute the c program and return the output ). IF not what would be the better way to approach this.On EC2 i went for a nodejs application to get the code from user and then send the output as the response to the user.
Top answer 1 of 5
4
Yes, AWS allows you to create a custom runtime for any programming language. You just need to provide a bootstrap script that takes the Lambda event and passes it into your executable. https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html As for “compiling on Lamda”, the function is created with a ZIP archive, so you actually would compile your C code into a single binary and ZIP that up, and the Lambda platform takes care of unzipping + running your executable. You can upload the ZIP via the AWS console or AWS CLI. Here Amazon’s sample in C++, take a look and try adapting that for your needs? https://github.com/awslabs/aws-lambda-cpp
2 of 5
4
Why would you compile on lambda? Why not compile as part of your pipeline and deploy the binary to lambda for execution?
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › what is aws lambda?
What is AWS Lambda? - AWS Lambda
January 31, 2026 - AWS Lambda is a compute service that runs code without the need to manage servers. Your code runs, scaling up and down automatically, with pay-per-use pricing. To get started, see Create your first function. ... File processing: Process files automatically when uploaded to Amazon Simple Storage Service. See file processing examples ...
AWS lambda in any language, such as C, and speed of GO - Serverless Framework - Serverless Forums
I’ve just noticed that there is enough info in the Go run-time support for AWS Lambda to show you how to support any language in Lambda. The source for the Go run-time is here: https://github.com/aws/aws-lambda-go When you make a Go function for AWS Lambda it actual compiles down to an x64 ... More on forum.serverless.com
Is it possible to compile and execute a C program using AWS lambda?
I looked for "distcc lambda" and found this: https://github.com/StanfordSNR/gg I don't know how production ready it is, but probably a good starting point. More on reddit.com
simple lambda like functions in C
These nested functions aren’t standard C and they won’t work on Clang or MSVC. More on reddit.com
C++ now supported in AWS lambda
Uhhm, you could always use C++ on AWS Lambda.
It's nice to have a C++ runtime available, makes things easier, but nothing prevented you running native code on Lambda.
More on reddit.comVideos
26:21
AWS Lambda For Absolute Beginners: Python Tutorial in 25 Minutes ...
UPDATED - Create Your First AWS Lambda Function | AWS ...
06:41
Learn AWS Lambda in 6 minutes - YouTube
37:31
AWS Lambda Tutorial for Beginners in C# - YouTube
12:28
AWS Lambda Hands-On Lab (2026 Edition) — Build & Deploy Serverless ...
13:34
AWS Lambda Introduction - What is it and Why is it Useful? - YouTube
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › code examples for lambda using aws sdks
Code examples for Lambda using AWS SDKs - AWS Lambda
Code examples that show how to use Lambda with an AWS SDK.
AWS
aws.amazon.com › blogs › compute › introducing-the-c-lambda-runtime
Introducing the C++ Lambda Runtime | AWS Compute Blog
February 14, 2020 - $ aws lambda create-function \ --function-name hello-world \ --role <specify the role arn from the previous step> \ --runtime provided \ --timeout 15 \ --memory-size 128 \ --handler hello \ --zip-file fileb://hello.zip ... A file named output.txt containing the words “Hello, World!” should be in the current directory. OK, well that was exciting, but how about doing something slightly more interesting? The following example shows you how to download a file from Amazon S3 and do some basic processing of its contents.
AWS
docs.aws.amazon.com › aws sdk for c++ › developer guide › sdk for c++ code examples › lambda examples using sdk for c++
Lambda examples using SDK for C++ - AWS SDK for C++
Find the complete example and learn how to set up and run in the AWS Code Examples Repository ... Code for the CMakeLists.txt CMake file. # Set the minimum required version of CMake for this project. cmake_minimum_required(VERSION 3.13) # Set the AWS service components used by this project. set(SERVICE_COMPONENTS lambda) # Set this project's name.
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › building lambda functions with c#
Building Lambda functions with C# - AWS Lambda
January 30, 2026 - To develop and build your Lambda functions, you can use any of the commonly available .NET integrated development environments (IDEs), including Microsoft Visual Studio, Visual Studio Code, and JetBrains Rider. To simplify your development experience, AWS provides a set of .NET project templates, ...
W3Schools
w3schools.com › aws › aws_cloudessentials_awslambda.php
AWS Lambda
AWS Cloud Exercises AWS Cloud Quiz AWS Certificate ... AWS Lambda is a serverless compute service that runs code in response to events.
Amazon Web Services
docs.aws.amazon.com › aws command line interface › user guide for version 1 › examples for the aws cli › aws cli command examples › lambda examples using aws cli
Lambda examples using AWS CLI - AWS Command Line Interface
The following code example shows how to use add-layer-version-permission. ... The following add-layer-version-permission example grants permission for the specified account to use version 1 of the layer my-layer. aws lambda add-layer-version-permission \ --layer-name my-layer \ --statement-id xaccount \ --action lambda:GetLayerVersion \ --principal 123456789012 \ --version-number 1
AWS
docs.aws.amazon.com › aws sdk code examples › code library › code examples by sdk using aws sdks › code examples for sdk for c++ › lambda examples using sdk for c++
Lambda examples using SDK for C++ - AWS SDK Code Examples
Find the complete example and learn how to set up and run in the AWS Code Examples Repository ... Code for the CMakeLists.txt CMake file. # Set the minimum required version of CMake for this project. cmake_minimum_required(VERSION 3.13) # Set the AWS service components used by this project. set(SERVICE_COMPONENTS lambda) # Set this project's name.
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › code examples for lambda using aws sdks › basic examples for lambda using aws sdks › hello lambda
Hello Lambda - AWS Lambda
Have you set up your AWS account?") fmt.Println(err) return } lambdaClient := lambda.NewFromConfig(sdkConfig) maxItems := 10 fmt.Printf("Let's list up to %v functions for your account.\n", maxItems) result, err := lambdaClient.ListFunctions(ctx, &lambda.ListFunctionsInput{ MaxItems: aws.Int32(int32(maxItems)), }) if err != nil { fmt.Printf("Couldn't list functions for your account. Here's why: %v\n", err) return } if len(result.Functions) == 0 { fmt.Println("You don't have any functions!") } else { for _, function := range result.Functions { fmt.Printf("\t%v\n", *function.FunctionName) } } } ... There's more on GitHub. Find the complete example and learn how to set up and run in the AWS Code Examples Repository
GitHub
github.com › awslabs › aws-lambda-cpp
GitHub - awslabs/aws-lambda-cpp: C++ implementation of the AWS Lambda runtime · GitHub
C++ implementation of the AWS Lambda runtime. Contribute to awslabs/aws-lambda-cpp development by creating an account on GitHub.
Starred by 463 users
Forked by 97 users
Languages C++ 98.3% | Shell 1.1% | CMake 0.6%
Serverless Forums
forum.serverless.com › serverless framework
AWS lambda in any language, such as C, and speed of GO - Serverless Framework - Serverless Forums
February 24, 2018 - I’ve just noticed that there is enough info in the Go run-time support for AWS Lambda to show you how to support any language in Lambda. The source for the Go run-time is here: https://github.com/aws/aws-lambda-go When you make a Go function for AWS Lambda it actual compiles down to an x64 ...
AWS
docs.aws.amazon.com › lambda
AWS Lambda Documentation
Free delivery on millions of items with Prime. Low prices across earth's biggest selection of books, music, DVDs, electronics, computers, software, apparel & accessories, shoes, jewelry, tools & hardware, housewares, furniture, sporting goods, beauty & personal care, groceries & just about anything else.
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › create your first lambda function
Create your first Lambda function - AWS Documentation
An event in Lambda is a JSON formatted document that contains data for your function to process. If your function is invoked by another AWS service, the event object contains information about the event that caused the invocation. For example, if your function is invoked when an object is uploaded ...
LocalStack
docs.localstack.cloud › aws › services › lambda
Lambda | Docs
To create a Lambda Layer locally, you can use the PublishLayerVersion API in LocalStack. Here’s a simple example using Python: ... LAYER_ARN=$(awslocal lambda publish-layer-version --layer-name layer1 --zip-file fileb:///tmp/testlayer.zip | jq -r .LayerVersionArn)
AWS
docs.aws.amazon.com › aws sdk for .net › developer guide › sdk for .net code examples › lambda examples using sdk for .net
Lambda examples using SDK for .NET - AWS SDK for .NET (V3)
There's more on GitHub. Find the complete example and learn how to set up and run in the AWS Code Examples Repository ... /// <summary> /// Creates a new Lambda function.
Amazon Web Services
docs.aws.amazon.com › aws lambda › developer guide › lambda sample applications
Lambda sample applications - AWS Lambda
The GitHub repository for this guide includes sample applications that demonstrate the use of various languages and AWS services. Each sample application includes scripts for easy deployment and cleanup and supporting resources.
AWS
docs.aws.amazon.com › aws toolkit for visual studio › user guide › working with aws services › aws lambda › basic aws lambda project
Basic AWS Lambda Project - AWS Toolkit with Amazon Q
There are two project files to review: aws-lambda-tools-defaults.json and Function.cs. The following example shows the aws-lambda-tools-defaults.json file, which is automatically created as part of your project.
Serverless
serverless.com › aws-lambda
AWS Lambda: The Ultimate Guide
These runtimes are being developed as a part of AWS Labs and are not mentioned in the official documentation: ... The C++ runtime also serves as an example for creating custom runtimes for AWS Lambda.