Re: [go-nuts] Re: Recommended way to distribute pre-compiled C-dependencies for modules using CGO ?

2023-10-17 Thread Marc-Antoine Ruel
el a écrit : > > > On Tuesday, October 17, 2023 at 10:40:33 AM UTC+13 Marc-Antoine Ruel wrote: > > I second Richard's suggestion. I used the same trick for > https://github.com/periph/d2xx. This git repository contains a minimalist > shim for the .a libraries and nothing

Re: [go-nuts] Re: Recommended way to distribute pre-compiled C-dependencies for modules using CGO ?

2023-10-16 Thread Marc-Antoine Ruel
I second Richard's suggestion. I used the same trick for https://github.com/periph/d2xx. This git repository contains a minimalist shim for the .a libraries and nothing else. It's designed to compile on any platform. It falls back to a scaffolding if the corresponding .a library is not present for

Re: [go-nuts] Re: Gobot Beaglebone Black GPIO question...

2018-02-13 Thread Marc-Antoine Ruel
Gobot is great if you want to delegate the "event loop". If you want to keep control, you may want to take a look periph.io, which supports interrupt based edge detection , so no need to do a busy loop. Which library to use depends about how you