Show /r/rust: rusty_jsc - Rust bindings for JavaScriptCore

43 points penberg

GitHub: https://github.com/penberg/rusty\_jsc

I wanted to play around with JavaScriptCore (the engine Bun, for example, is using), but found the JavaScripts bindings lacking. They either were built agains the "jsc" variant of the API, which requires GTK, or they were too low-level for my taste.

So I decided to bite the bullet and build a simple API like the JavaScriptCore API for Swift, but use the C API, which requires zero-config on macOS. Happy to hear what folks think!