Skip to content

rquickjs in a single-threaded async runtime environment? #498

@lquerel

Description

@lquerel

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:featureA request, idea or new functionalitytag:blockedIssue is blocked and can't be solved at the momenttopic:runtimeRelated to the runtime objecttopic:safetyViolations of safety causing undefined behaviours

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions