You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is any plan to make oficial "unsafe cgo" (fastgo) like https://github.com/petermattis/fastcgo (which is much faster then normal cgo and more like call native go function) like tool or package or additon to unsafe package?
(maybe similar unsafe.fastCgo(c.somefn, ...args) or fastcgo.Call1Arg(c.somefn1, arg); fastcgo.Call2Arg(c.somefn2, arg1, arg2); ....)
I know it wil be unsafe and maybe sometime risk but it would be very usefull in some case when people need realy fast call cgo.
The text was updated successfully, but these errors were encountered:
WARNING: No attempt is made to play nice with the Go scheduler or GC. The goroutine executing a fastcgo call will never be interrupted and will delay the starting or completion of GC until it finishes.
I think you should just follow #19574, as I don't think splitting the discussion in two is worthwhile.
there is any plan to make oficial "unsafe cgo" (fastgo) like https://github.com/petermattis/fastcgo (which is much faster then normal cgo and more like call native go function) like tool or package or additon to unsafe package?
(maybe similar
unsafe.fastCgo(c.somefn, ...args)
orfastcgo.Call1Arg(c.somefn1, arg); fastcgo.Call2Arg(c.somefn2, arg1, arg2); ....
)I know it wil be unsafe and maybe sometime risk but it would be very usefull in some case when people need realy fast call cgo.
The text was updated successfully, but these errors were encountered: