PhiloLogic proto-binding for Python

Leave a Comment
In an earlier post, I mentioned that I'd try to to call the philologic C routines via ctypes, a Python Foreign Function Interface library. I did, and it worked awesomely well! Ctypes lets you call C functions from python without writing any glue at all in some cases, giving you access to high-performance C routines in a clean, modern programming language. We'd ultimately want a much more hand-crafted approach, but for prototyping interfaces, this is a very, very useful tool.First, I had to compile the search engine as a shared...
Read More

Unix Daemon Recipes

Leave a Comment
I was digging through some older UNIX folkways when I stumbled upon an answer to a long-standing PhiloLogic design question:How do I create a long-running worker process that will neither:1) terminate when it's parent terminates, such as a terminal session or a CGI script, or2) create the dreaded "zombie" processes that clog process tables and eventually crash the system.as it turns out, this is the same basic problem as any UNIX daemon program; this just happens to be one designed to, eventually, terminate. PhiloLogic needs...
Read More
Next PostNewer Posts Previous PostOlder Posts Home