Skip to content

[vm] FFI is not supported on SIMARM and SIMRISC #63480

@modulovalue

Description

@modulovalue

The new-ish DEFINE_FFI_NATIVE_ENTRY way of binding C++ -> Dart can be much more performant than DEFINE_NATIVE_ENTRY (see the linked CLs). However, bots fail since the simulated environments also need to support FFI and only arm64 supports FFI native entries so far.

This issue is meant to track the progress on this. Once FFI_NATIVE_ENTRY is supported we can land the following:

In general, it looks like all native implementations that don't need interaction with the Dart API could be migrated to use FFI_NATIVE_ENTRY for an easy performance boost.

cc @mraleph

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions