Archives

Articles with tag 'programming'

Contextual operator overloading 2007-04-23

For three weeks already I am struggling with this basic requirement: overload the arithmetic operators of Python without using class methods.

Or, more specifically, delegate the implementation of an infix operator to a third-party object in a specific context. For example, I would like something like the following code to …

Integer fun facts 2007-01-12

I was very interested to read today a number of facts about the C programming languages that tend to escape “common knowledge” over time. For example, did you know that:

  • some processors (especially Digital Signal Processors) cannot efficiently access memory in smaller pieces than the processor’s word size. There …