News for hackers. Stuff that matters.
Re:In-memory key-value store in C, Go and Python by apaprocki on Wednesday March 21, 2012 @01:44PM (#3735499)
I am using Python (as well as Perl, OCaml, etc) on Solaris/Sparc, AIX/POWER7, HP-UX/IA64 on a daily basis. As for C code, If you just want to use redis as an example, I built and installed it on Solaris/Sparc with no incident. This is the case for most C POSIX compliant apps.
Re:In-memory key-value store in C, Go and Python by tptacek on Wednesday March 21, 2012 @02:16PM (#3735657)
For a long time, Redis didn't even have a configure script; you just typed "make" and it worked. It's scrupulously portable code.
Re:In-memory key-value store in C, Go and Python by apaprocki on Wednesday March 21, 2012 @02:29PM (#3735744)
Aside: I noticed that redis/Solaris used select() instead of the fancy new "event completion framework"[1] in Solaris 10. I figured maybe the new API would be faster and I could contribute that back, so I ported to both that framework, poll(), and /dev/poll (I feel the event API just wraps /dev/poll due to the perf #s I saw, but it isn't clear) and it turned out that select() is actually faster than any of them, which struck me as a bit odd.

[1]: http://developers.sun.com/solaris/articles/event_completion....