News for hackers. Stuff that matters.
Re:Roto: A Compiled Scripting Language for Rust by 90s_dev on Wednesday May 21, 2025 @11:31AM (#44052580)
Would wasmtime be a good general purpose scripting extension layer for a C program in the style of embedded Lua but faster and more generic? Is that a reasonable use-case?
Re:Roto: A Compiled Scripting Language for Rust by phickey on Wednesday May 21, 2025 @11:56AM (#44052828)
Wasmtimes C bindings for components are still a work in progress. In general C programming is always going to require more work than Rust programming, due to the limitations of C abstractions, but at the moment it’s also held back by how much energy has gone into the C bindings, which is much less than the Rust bindings which many of the maintainers, myself included, created and are using in production at their day jobs.

More info: https://github.com/bytecodealliance/wasmtime/issues/8036 Several folks have volunteered work on the C bindings over the last year or two, with this contributor making progress most recently: https://github.com/bytecodealliance/wasmtime/pulls?q=is%3Apr...