Unsigned Arithmetic

Since my last post, I’ve had a couple of replies, a few more tweets, and few minutes of talking about unsigned types in Java, and why it doesn’t support them. I still retail the view that unsigned types are unnecessary for the majority of Java developers. The only kind that should care, are those who deal with network information (like representing an ipaddress or macaddress). Everyone, put down your forks, and do not touch the unsigned.

Read More

Why does Java not support unsigned int? - Part 1

An interesting thing for me, is that if I am active on twitter during daytime in India (now that I’m here on vacation), I get to have some interesting conversations about design and development. Today, I chanced to talk about the lack of unsigned values support in Java. veechand is there unsigned int in #java support your answers 10 Jul 2010 from TweetDeck shiva @veechand nope.

Read More

The devil is in the why?

Recently I got asked, what the best way to do a join between two large lists, into another list was? I always tend to answer that question with: it depends. Just like any other algorithm, there is no silver bullet. It is a trade off between CPU and memory utilisation. Sometimes, we do have to think about these things (this is code in c++ on a device with scarce resources, to say the least).

Read More

Proposed GUI for C++ based twitter client

I got really sick of using Adobe AIR apps that take up more and more of system memory for an app that does twitter. I’ve decided to put my “coding for myself” hat on and write a QT based C++ application (that should be cross-platform). No name as yet, but I will find something soon. QtTwitter is taken. Mebbe, once I have a working version, I can get ownership of the project on google code.

Read More