buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
89 stars 22 forks source link

WASM is built w/ async/multithreading strategies that may not be needed. #30

Closed qdot closed 3 years ago

qdot commented 3 years ago

The WASM FFI layer is built much like buttplug-rs. The problem here is that we know there will never be more than one thread in the WASM FFI, it's impossible due to the JS execution model. This may mean we're over-complicating the API for reasons that aren't actually valid.

Need to swing back through and rethink some of this stuff.

qdot commented 3 years ago

No longer valid since I chucked the old WASM layer.