Fashionable, but unable to tell fact from fiction (testing4l) wrote,
Fashionable, but unable to tell fact from fiction

Well -- as it happens 2D and ebugle's visits are almost up. Posting should pick up after that.

I've been rewriting jar for a bit now as a modular bot -- it seems like the biggest problem with IRC bots is that debugging them requires lots of join/parts.

I started to write it with perl threads. I'd had good experiences writing with perl threads in the past and used them to write an mp3 stream for myself. What I hadn't done was looked into how they're implemented. Each instance starts up a separate interpreter for execution.

I eventually got it working to my satisfaction, but in disgust, I've started writing one which does a fork()/exec() and communicates by way of a named pipe.

It ain't pretty, but at least it's something!
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment