Linked by Eugenia Loli on Sun 16th Apr 2006 07:54 UTC
Linux With the pervasiveness of 64-bit architectures, it's more important than ever that your Linux software be 64-bit ready. Learn how to avoid portability pitfalls when making declarations and assignments, bit shifting, typing, formatting strings, and more.
Thread beginning with comment 115239
To read all comments associated with this story, please click here.
Variable sized integers
by zlynx on Sun 16th Apr 2006 10:07 UTC
zlynx
Member since:
2005-07-20

The problem with your HIGHER LEVEL language idea is that it will perform like crap.

Higher level languages like Perl or Java do not use variable sized integers by default (although it's an option), because it adds a huge amount of complexity to every addition.

You can go ahead and do what you want but no one will run your program because it'll be so slow.

Reply Score: 2

RE: Variable sized integers
by bsdlike on Mon 17th Apr 2006 08:59 in reply to "Variable sized integers"
bsdlike Member since:
2006-04-13

Not true. As a previous poster said you're not obliged to develop _all_ your app with a higher level language, you can mix the solutions and have performances _AND_ productivity.
Python and Ruby are damn slow for CPU bound tasks, this doesn't mean your app will be slow for such operations but that you have to profile and substitute the bottlenecks with C or C++.

Reply Parent Score: 1

RE[2]: Variable sized integers
by zlynx on Mon 17th Apr 2006 18:16 in reply to "RE: Variable sized integers"
zlynx Member since:
2005-07-20

I'm sorry I wasn't clear. I meant that forcing a high level language to use variable-sized integers for all operations will perform like crap.

Reply Parent Score: 1