Skip to content

Instantly share code, notes, and snippets.

View VincentH-Net's full-sized avatar
Innovating full stack development with C#

Vincent Hoogendoorn VincentH-Net

Innovating full stack development with C#
View GitHub Profile
mraleph /
Last active November 11, 2023 14:44

Dart VM FFI Vision


The aim of Dart FFI project (tracked as Issue #34452) is to provide a low boilerplate, low ceremony & low overhead way of interoperating with native C/C++ code.

The motivation behind this project is twofold:

using Clarity;
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
namespace Sample.Calculator
using CalcOp = Func<double, double, double>;
// Attribute can be omitted if method name is exactly `InitializeContent`
public void InitializeContent() {
Content = new Grid {