Archive for the ‘Development’ Category

MSVC C++ ABI Member Function Pointers

Tuesday, 21 September, 2021

This is a detailed discussion of MSVC C++ ABI pointers to member functions, including some of the trade-offs they make. The format of pointers to member functions in C++ is implementation-defined, and a lot of incomplete and misleading information about this topic can be found around the web. There’s a popular article at Code Project […]

Posted in C, Development, Technology | 6 comments »

My PAL with the LASERs

Tuesday, 15 December, 2015

Back in the distant past, MAME started cataloguing programmable logic devices (PLDs) in addition to ROMs. This was met with considerable hostility from certain segments of the community, as it was seen as forcing them to obtain files they saw as unnecessary for emulation in order to run their precious games. However PLDs are programmable […]

Posted in Development, MAME, Technology | No comments »

And?

Thursday, 4 February, 2010

C++ defines a bunch of aliases for operators. These are kind of cool, and they can make code more readable at times – for example you can write things like: if ((dest bitor netmask) == bcdest and protocol == udp) But in typical C++ fashion, they chose to specify it in a completely brain-dead way. […]

Posted in C, Development, Technology | 1 comment »

Internal Conflict

Wednesday, 11 November, 2009

(Just some background – at work we use DVCS with a one-branch-per-feature policy.) You know when you’ve got a few source control branches on the go, because you’ve been splitting time between a few features, but you’ve kind of been neglecting one, because it doesn’t feel like the most important thing to do? Don’t you […]

Posted in Development, Technology, VCS | 1 comment »

Not how it works

Friday, 31 July, 2009

Goldman Sachs and UBS both seem to have had algorithmic trading code stolen and/or leaked recently. I haven’t seen an official statement from UBS, but a PR person from Goldman said something to the effect of, “Since the algorithms integrate with a large, proprietary system, we aren’t worried about this.” I realise that this person […]

Posted in Development, Technology | No comments »

Generated Copy Constructors Considered Evil

Saturday, 4 April, 2009

Sometimes I really hate C++. Not just dislike it, but really, really hate it. This week, one of the most horrible language “features” got me again: the generated copy constructor. I understand why they exist — they’re necessary to allow C structures to be passed by value no extra effort. However, their behaviour causes a […]

Posted in C, Development, Technology | No comments »

On Spaghetti

Sunday, 27 July, 2008

Most programming languages have flow control features of some kind. Yeah, I know there are some languages that lack them, for example early programmable shader languages, some macro languages, and I think some programmable calculators just run a program straight through from beginning to end. But by and large, programming languages provide ways to jump […]

Posted in C, Development, Technology | 7 comments »

OEM’in’

Wednesday, 2 November, 2005

OEM’ing someone else’s product is great. You get more features with minimal development and they get upfront development funding and ongoing royalties. They recommend your product and you promote them with a “Powered by…” logo in the finished product. Everyone’s eager to help everyone else, because the outcome will be beneficial to both companies.

Posted in Development, Technology | No comments »

Windows World

Wednesday, 19 October, 2005

Well, I never would have seen it coming, but I’m now doing my first really serious Windows programming. It’s for work, of course – not for pleasure. And I know I’ve programmed for Windows before, but that was in Visual Basic of the pre-.NET variety and ASP.NET. Now I’m actually writing Windows applications and tools. […]

Posted in Development, Technology | 1 comment »