logoalt Hacker News

saghm • today at 5:43 PM • 0 replies • view on HN

I've been toying with using WASM as a way to expose custom scripting to expose to users, and because the product I'm working on already leans heavily into providing an agentic interface (which is both legitimately useful and sometimes a bit much...), and I've found that the agent seems pretty capable of writing valid WAT that fits the conventions described by the documentation that gets automatically fed into its context. It might be nice to have something more readable for me when trying to inspect what it creates, but on the other hand, apparently one of the product managers trying it out already decided to have his own agent just manually write JavaScript for him to look at and then map it to and from the WAT, which I'm not really convinced is a good experience for us to propose to customers, but I guess it works?