Exporting C++ Classes from a DLL

Posted on Thu 13 October 2011 in tech • Tagged with c/c++

Two good articles on exporting C++ classes from a DLL from Eli Bendersky and Alex Blekhman. I've researched this before and found varying degrees of intelligibility. These seem to be fairly complete yet concise.

We All Better Start Drivin' Prii

Posted on Tue 02 August 2011 in misc • Tagged with car talk

Thanks to this week's Car Talk for this musical gem: "Sure as cactus is cacti and fungus is fungi, we all better start drivin' Prii ...."

Download a short clip: We All Better Start Drivin' Prii

Toyota actually issued a press release, officially proclaiming that the public had selected the plural …

Continue reading

Bob Pease Killed in Car Crash

Posted on Wed 20 July 2011 in tech • Tagged with embedded

Analog engineering legend Bob Pease killed in car crash

As a university student I took a job in an electronics lab while studying mechanical engineering. I guess the job required that you could solder and do a little metalworking, so I qualified on the latter and learned the former. In …

Continue reading

On Jean Labrosse's Coding Style

Posted on Fri 03 June 2011 in tech • Tagged with c/c++, embedded

The words or the language, as they are written or spoken, do not seem to play any role in my mechanism of thought. The psychical entities which seem to serve as elements in thought are certain signs and more or less clear images which can be 'voluntarily' reproduced and combined …

Continue reading

Wrapping C++ in a C Interface

Posted on Sat 22 January 2011 in tech • Tagged with c/c++

This is perhaps the simplest, slickest way to wrap C++ in a C interface I've ever seen, courtesy of Matthieu Brucher. The key concept is the forward declaration of the Manager type, which is valid for both C++ and C. Any C that attaches to this interface doesn't have to …

Continue reading