News for hackers. Stuff that matters.
Re:Golang Package: plugin by gtrubetskoy on Thursday September 22, 2016 @06:46AM (#12555886)
Curious what it would take (if at all possible?) to load such a .so from C. Because that would open the door for writing Go libs for all your favorite interpreted languages, web servers, etc.
Re:Golang Package: plugin by fjl on Thursday September 22, 2016 @06:53AM (#12555910)
You can already create shared libraries that expose a C API using -buildmode=shared.
Re:Golang Package: plugin by dvirsky on Thursday September 22, 2016 @07:43AM (#12556113)
That's already possible, I've written an API that encapsulates Go libraries as Redis modules.
Re:Golang Package: plugin by Goopplesoft on Thursday September 22, 2016 @07:48AM (#12556137)
Link?
Re:Golang Package: plugin by dvirsky on Thursday September 22, 2016 @07:51AM (#12556156)
It's a WIP and I haven't had the time to complete it, but here it is. You can load modules, handle redis commands and return responses, but you can't access redis itself yet.

https://github.com/RedisLabs/rgm/blob/master/example/module....

Re:Golang Package: plugin by robbles on Thursday September 22, 2016 @11:29AM (#12557524)