DEV Community

Dan
Dan

Posted on • Edited on

AssemblyLift: a Framework for running WebAssembly on AWS Lambda

Today, I finally opened a pet project of mine up to the public!

I call it AssemblyLift, and it is (and/or will become) a framework for writing serverless cloud apps using WebAssembly and Rust. Currently it supports AWS Lambda as a backend target, and provides a custom Lambda runtime that you can deploy to a layer or bundle with your functions.

As of writing it's still a very bare-bones proof-of-concept, but it all technically works, and I'm very excited about that :).

For now the README can give a slightly more detailed overview of current and planned features. I plan on writing a longer post here after I clean some things up and put together a few examples.

I'm also hoping to articulate a roadmap in the coming weeks...ideally one that's more coherent than the one in my head 🙃.

If any of what I've briefly described sounds interesting, drop me a comment or reach out on GitHub!

Top comments (3)

Collapse
 
dcrotzer profile image
Daniel Crotzer

Hello Dan,

Thank you for this! We are looking to run Lambdas with node.js and Webassembly (with C...not Rust).

Collapse
 
dotxlem profile image
Dan

Hi Daniel! Thanks for checking this out! I'm planning to extend support to C eventually (after things stabilize a little), but I'm not sure how long this will take.

Can I ask what made you decide to go with C (as opposed to Rust)? I'm just curious -- I worked with C for a long time, and these days I mostly avoid it in favor of Rust 😆

Collapse
 
dcrotzer profile image
Daniel Crotzer

We have loops that take 30 seconds in Python, we need the speed that C provides (and the community is broad).