Stream: fastlike.dev

Topic: Rebooting


view this post on Zulip Alex Vidal (May 13 2021 at 15:12):

I think I'm going to be rebooting this project. I haven't really touched it since shortly after I left Khan Academy, but it's still an interesting project and needs to be updated to ensure it works with the latest wasmtime-go and fastly compute host.

There was an interview about Zig on the Fastly blog where the interviewee mentions jedisct1's zigly project (zig guest bindings for fastly compute), which he built using fastlike as the test environment, which got me thinking about it again.

view this post on Zulip Alex Vidal (May 13 2021 at 15:28):

One thing I'd like to do is update the test suite so it can be used as a test harness for third party guest language implementations. Effectively, splitting the test suite between testing fastlike itself and testing things like zigly. So someone making their own language binding could run, eg, fastlike-test -no-geo ./my.wasm where -no-geo is a switch to disable a particular set of tests (geo lookups)

view this post on Zulip Alex Vidal (May 13 2021 at 15:29):

Oh wait I already had that idea, and it involved having the guest wasm return a specific http response for any feature that hasn't been implemented yet: https://github.com/avidal/fastlike/issues/7

Fastly has official support for Rust, and beta support for AssemblyScript. I think it'd be interesting to have a spec test which can run against wasm binaries produced by both source languages....

Last updated: Dec 23 2024 at 12:05 UTC