I’m exploring the possibility of integrating rquickjs into a single-threaded async runtime (in fact one runtime per core). The presence of multiple Arc<Mutex<_>> is not ideal in this specific case. Is there anything that would prevent us from having a feature in rquickjs to replace Arc<Mutext<_>> with Rc<RefCell<_>> and to remove the Send+Sync bounds (when this feature is enabled)?
I’m exploring the possibility of integrating rquickjs into a single-threaded async runtime (in fact one runtime per core). The presence of multiple
Arc<Mutex<_>>is not ideal in this specific case. Is there anything that would prevent us from having a feature in rquickjs to replaceArc<Mutext<_>>withRc<RefCell<_>>and to remove the Send+Sync bounds (when this feature is enabled)?