logoalt Hacker News

ianm218yesterday at 10:47 PM0 repliesview on HN

I have been experimenting in this general area myself. I started by doing a port of Lua to Rust, then did Valkey to Rust using my Rust Lua for scripting, and now I've been working nginx in Rust.

I was thinking for all of these that the end goal is to take some existing technology and add some novel features rather than just X in Rust so what I have so far.

1. The Lua project bundles Lua 5.1 - 5.5 in one binary and one npm package so it's easy to run in the browser or CloudFlare Worker etc.

2. The Valkey (Redis) port builds something called EdgeStash - lets you run Valkey with Lua scripting in a CloudFlare Durable Object programmable with Lua scripting.

https://edgestash-valdr.ianmclaughlin1398.workers.dev/ that's a demo of the Edge Valkey node running.

I've been meaning to take take it and do something like yours that is sweet!