Print This Post Print This Post

You Learn Something New Every Day

Today I learnt that Java is very broken for certain tasks. There are no unsigned atomic types.

That’s right, this means if you want to write, say, a program to mangle certain byte-streams as unsigned values (like a packet overlay or anything enough suitably low-level which interfaces with the “real world”), it becomes very complex as you have to use non-elegant and strange hacks – e.g. using a bigger type to represent a smaller type, like 16 bits to represent 8 bits and then doing a lot of bit twiddling to get the numbers right.

Well, it’s always good to learn new things. I heard Python is nice, we’ll see.

2 Comments so far
Leave a comment

Python is nice!

A related link



Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)


*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word