Skip to content

R&D: Python & JS from Rust #9

@cdump

Description

@cdump

The amount of code is increasing, and to add new features faster, I want to research the ability to have only a Rust implementation of the EVMole and to build Python and JS libraries from that.

For Python, I want to use pyo3, and for JS - wasm-bindgen.

I spent a few hours and have a working solution. The sizes of the libraries are still not huge, and the times in benchmarks improved for both Python and WASM (JS) compared to native implementations.
In this issue, I will track R&D progress on this, collect comments with pros and cons, etc.

Still need to test installing Python packages on other architectures, because I don't want to limit it to prebuilt x86 only.

related: #5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions