-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Migrating the native code to rust
-
Web Support? #1, Rust and flutter_rust_bridge has support for web through WASM, probably there is a way to target current C code to compile for WASM. there is no official implementation for WASM in ffi or ffigen.
-
Windows C Code errors #2, this issues arose because MSVC does not support c99 standard which includes the Variable Length Arrays(VLA's), i'm not a expert not them to try and fight the compiler to get this feature working, i tried alloaca, but still no result.
I'm thinking Implementing encoder and the decoder in Rust will solve the above two issues, so i think i'm gonna need some time to learn rust ( heard good things, but did not work with rust before).
Any help in migrating to rust will be of a great contribution to this project.
Thank you.