Log in

No account? Create an account

*sigh* - Journal of Omnifarious

Apr. 5th, 2004

11:58 pm - *sigh*

Previous Entry Share Next Entry

I use a tool called 'SWIG' in CAKE to connect the C++ code I wrote to handle the basic encryption and decryption operations to the Python code that makes up most of the BirthdayCAKE reference implementation.

Like all software, this tool has versions. But, I can't do any reasonable tests on which version I'm using, and it makes a difference in how I write the .i files that SWIG wants. In specific, for the older version of SWIG (1.3.19), I want to write my own code that maps C++ ::std::string objects to Python strings and back again. But, in 1.3.20, there is a mapping already written that works well, and will be better maintained by the people who use SWIG than any mapping I write personally.

I don't want to make everybody use 1.3.20 because it seems to have a lot of other changes, and that's made a lot of people reluctant to upgrade to it. *sigh* In fact, I personally have 1.3.20 on my Powerbook, but only 1.3.19 on my main workstation (which runs Fedora Linux), and there aren't any widely available 1.3.20 RPMs for Fedora yet. I think for precisely the reason I mentioned.

In other news, I'm on pager duty at Amazon again. But, this time I have a working VPN device, so I should be able to handle most pages from home, which will be nice.

Current Mood: [mood icon] pensive
Current Music: Coldplay - In My Place


Date:April 6th, 2004 03:21 am (UTC)
(Reply) (Thread)
[User Picture]
Date:April 6th, 2004 09:30 am (UTC)

Re: I use a tool called 'SWIG' in CAKE....


Perhaps I ought to have. :-)

(Reply) (Parent) (Thread)