Skip to content
An AWS Lambda Layer for Dlang
D Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source refs #4 Make sure to post the results Nov 5, 2019
.gitignore refs #1 Add missing gitignore, add new layer stubs, dub.json is library Feb 6, 2019
COPYING initial commit Feb 5, 2019
README.md refs #4 Update details of attribution and overview Nov 6, 2019
bootstrap_tpl.sh refs #4 Cleanup packaging, don't load shared libs Nov 5, 2019
dub.json refs #4 Update details of attribution and overview Nov 6, 2019
packager.sh refs #4 Cleanup packaging, don't load shared libs Nov 5, 2019
setenv_fake_lambdaenv.sh refs #4 More code cleanup, fixing bugs / segfaults. Nov 5, 2019
setup_external_deps.sh

README.md

Overview

An AWS Lambda Runtime for Dlang, written from scratch in D.

Building

  • Install the dependences: sh ./setup__external__deps.sh
  • Add your lambda implementation into bootstrap.d
  • type: dub --compiler=gdc or dub --compiler=ldc2

Testing

For verification of your Lamb-D in a local serverless style, try:

  • sh ./setenv__fake__lambdaenv.sh
  • dub test

TODO: Add some better testing facilities.

Deploying

  • Create an AWS Lambda with a Custom Runtime
  • Run the packager: sh ./packager.sh
  • Copy your lambda.zip into your AWS Lambda instance on AWS. TODO: Add some more details on the setup.

Attributions

Inspirations

You can’t perform that action at this time.