svaarala / duktape

Duktape - embeddable Javascript engine with a focus on portability and compact footprint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embedding for rust.

uwejan opened this issue · comments

Waht options do i have if my project is using rust. I would not prefer the c2rust way. But am open for suggestions.
Thank you.

Duktape is written in pure C so in any language that supports interoperability with C it's basically about passing data between C and the language. I'm not confident enough with Rust but there are pure Rust ECMAScript engine if you want.

We are using kg-js crate. It lacks documentation and examples, but it can be a good starting point.