Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting language exploration #23

Open
crumblingstatue opened this issue Aug 30, 2022 · 0 comments
Open

Scripting language exploration #23

crumblingstatue opened this issue Aug 30, 2022 · 0 comments
Labels
Open ended Issues that need lots of thinking and trying out different options before coming to a conclusion.

Comments

@crumblingstatue
Copy link
Owner

crumblingstatue commented Aug 30, 2022

  • Lua (current)
    • Only has a single numeric type. Not the most ideal for byte manipulation.
  • Rhai
    • Slower than Lua
    • Has i64 system integer type, but other types are exposed as "custom" types, and working with them is both harder and slower than i64
  • Wasm (wasmtime?)
    • Would probably be as fast, or even faster than Lua
    • Couldn't edit/compile inside hexerator. Major disadvantage.

Ideal candidate would:

  • Support all rust primitives (i8, u8, i16, u16, i32, u32, i64, u64, f32, f64, etc.)
  • Be about as fast, or faster than Lua
  • Optionally, could be fed a byte slice as argument, without having to clone the data
@crumblingstatue crumblingstatue added the Open ended Issues that need lots of thinking and trying out different options before coming to a conclusion. label Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Open ended Issues that need lots of thinking and trying out different options before coming to a conclusion.
Projects
None yet
Development

No branches or pull requests

1 participant