Sam Van OvermeireMaking an HTML parsing script a hundred times faster with RayonRecently, I was writing a Rust script to gather some data from the internet. The task at hand was fairly simple: visit a URL, retrieve the…Apr 26Apr 26
Sam Van OvermeireDeploying Axum to Lambda and ECS, using Lambda Web AdapterAWS Lambda Web Adapter is “A tool to run web applications on AWS Lambda”. It allows you to build a REST API with tooling that you are…Feb 161Feb 161
Sam Van OvermeireRust macros taking care of even more Lambda boilerplateIn our last blog post, we showed how a procedural macro can generate basic AWS Lambda boilerplate. But the macro had a serious drawback: we…Jan 30Jan 30
Sam Van OvermeireRust macros taking care of some Lambda boilerplateWhen you have a shiny golden hammer, you go looking for nice nails to hit.Jan 101Jan 101
Sam Van OvermeireRust Compile Time Checks for SecretsOne of the joys of writing Rust is seeing how much work is ‘shifted to the left’, to compile time. Yes, the many compilation errors that…Jun 6, 2023Jun 6, 2023
Sam Van OvermeireUsing a procedural macro to generate DynamoDB client codeIn a previous example project, I was storing my data in AWS DynamoDB. The code for saving looked like this:Nov 1, 2022Nov 1, 2022
Sam Van OvermeireHow code might help you understand the Monty Hall problemThere’s a famous brain teaser that many of you are probably familiar with, called the ‘Monty Hall problem’. It goes like this (from…Oct 16, 2022Oct 16, 2022
Sam Van OvermeireSome Rust ObservationsAs may be guessed from my previous blog post, this year I finally did it! I started learning Rust. And like so many others before me, I’ve…Sep 26, 2022Sep 26, 2022
Sam Van OvermeireUsing Rust’s procedural macros to generate public structsRust’s structs come with various sensible standard settings. For instance, both the structs themselves and their fields are private by…Sep 19, 20221Sep 19, 20221
Sam Van OvermeireBetter Type Checking for the Javascript DynamoDB SDKSay we want to write a boring old CRUD application that saves and retrieves users from DynamoDB. If we are writing Typescript, we can…Dec 8, 2021Dec 8, 2021