This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
YoavCodes
yoav.codes
did:plc:tqyrs5zpxrp27ksol4tkkxht
Bun has pretty slick FFI for simple data types but for more complex things like structs I needed zig.
Electrobun’s native stuff is objc compiled to a dynamic lib, there’s a zig binary that uses FFI to interface with that. Then Bun spawns the zig binary and RPCs via stdio and named pipes using JSON.
2024-11-24T22:19:35.763Z