GithubHelp home page GithubHelp logo

Dart support about extism HOT 8 OPEN

extism avatar extism commented on May 10, 2024 3
Dart support

from extism.

Comments (8)

gisborne avatar gisborne commented on May 10, 2024 1

from extism.

gisborne avatar gisborne commented on May 10, 2024 1

from extism.

gisborne avatar gisborne commented on May 10, 2024 1

And Dart is also getting wasm support.

WASM is going to take over the world. This project is super interesting.

from extism.

nilslice avatar nilslice commented on May 10, 2024

That sounds like a great idea - completely agree! Do you have any experience writing FFI bindings in Dart and could help us out? No problem if not, just curious if it's something you're interested in working on.

from extism.

anlumo avatar anlumo commented on May 10, 2024

This might help: https://crates.io/crates/flutter_rust_bridge

from extism.

nilslice avatar nilslice commented on May 10, 2024

I'm going to take a look at all of the above - I think it would be great to get this supported. Thanks for sharing the information 👍

from extism.

brad-jones avatar brad-jones commented on May 10, 2024

I was doing a bit of dart dev a while ago & built this https://github.com/brad-jones/dexecve

also https://github.com/brad-jones/dart-go

I presume dart has probably changed a bit since then. Or at least I hope it has.
I seem to remember the FFI was super basic & I ended up passing JSON between dart & go.

from extism.

anlumo avatar anlumo commented on May 10, 2024

At least with the flutter_rust_bridge project, it's possible to pass a lot of data types across the bridge. One issue though is that nested structures need to use Box or Vec for some reason (so it's a pointer and not inlined in memory), but that might be caused by that crate itself.

Concerning the changes, I think the biggest one is null safety.

from extism.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.