nvrthles
nvrthles

Reputation: 99

What happens to performance when calling C code from dart Flutter desktop

Can I use dart:ffi to call C APIs on flutter desktop. What happens to the performance after that ? Can we use C to speed up flutter?

Thanks

Upvotes: 1

Views: 984

Answers (1)

smorgan
smorgan

Reputation: 21599

Can I use dart:ffi to call C APIs on flutter desktop.

Yes. FFI works on all desktop platforms. It's used to implement some of the desktop implementations of some of the flutter.dev plugins, in fact.

Upvotes: 1

Related Questions