6 releases

0.2.4 Jun 21, 2023
0.2.3 Jun 18, 2023
0.1.0 Jun 8, 2023

#13 in #foreign

47 downloads per month
Used in 2 crates

MIT license

7KB
76 lines

fcplug

Foreign Clang Plugin solution.

Features

⇊Caller \ Callee⇉ Go Rust
Go -
Rust TODO -

Usage

See the demo

Benchmark

See benchmark code

goos: darwin
goarch: amd64
pkg: github.com/andeya/fcplug/demo
cpu: Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz

Benchmark: fcplug(cgo->rust) vs pure go

Dependencies

~1.5MB
~37K SLoC