Skip to content

You can try implement alternative version serial_port2 using binary_interop #4

Description

@mezoni

Today I added support of Windows 32/64 into binary_interop.
Now it support:

X86 Linux
X86 Windows
X86_64 Linux
X86_64 Windows

Mac OS X would be added soon.

More precisely binary_interop is cross-platform.
It is already ready for many other platforms.
Today I just update libffi_binaries package by adding two windows dll.
And voila, Windows are in the list of the platforms from where now possible call "C" code directly from Dart scripts ().

To add support of Mac OS X need only machine with Mac OS X for compilng the folowing files.

  • libffi
  • unsafe_extension

For the binary_interop they supplied (for supported platform) by other packages (two above listed).

This means that no need recompile anything once they installed if you call "C" code from Dart.
They are installed without any compilations on client machines.

Through the binary_interop you can load any dynamic libraries (system or supplied) and call native code directly from Dart.

This is only suggestion and I can try solve your problems with "C" language bindings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions