Re:Creating a Redis Module in 15 Lines of Code
by spinlock on Wednesday May 11, 2016 @03:06PM
(#11678242)
The only other C project I know of with a module system in Linux. I've actually found that Linux modules make development _much_ easier because you can isolate your code from the rest of the Linux code base. Of course, the last time I was professionally developing with the Linux kernel, git hadn't been invented yet and you really couldn't keep the entire kernel in version control without going insane. So, maybe things are different now.
[ Parent
| on HN ]
Re:Creating a Redis Module in 15 Lines of Code
by elcapitan on Wednesday May 11, 2016 @03:18PM
(#11678367)
Are modules not pretty common? Apache and Nginx have modules like that as well.
Re:Creating a Redis Module in 15 Lines of Code
by themartorana on Wednesday May 11, 2016 @10:34PM
(#11680963)
Nginx's modularity and tolerance/embrace of plugins is absolutely amazing. I use a combination of openresty[0], lua scripting, and third party modules in our API servers (coincidentally, one that talks directly to Redis) and it's still one of the fastest, best pieces of software in our stack.
I understand the concern, but if it ends up being half as flexible (and I already love me some Redis) I can only see good things.
Re:Creating a Redis Module in 15 Lines of Code
by spinlock on Wednesday May 11, 2016 @09:30PM
(#11680733)
I was talking more of my experience than C projects in general. However, I'd expect a smaller percentage of C projects to support modules compared to Ruby given the differences in the language.
Re:Creating a Redis Module in 15 Lines of Code
by crdoconnor on Wednesday May 11, 2016 @03:20PM
(#11678382)
There's varnish as well.