Slashdot Mirror


32-bit to 64-bit - Obsolesence Pains Again?

robotsrule asks: "Having been in the computer industry a while I distinctly remember the pain of making the 16-bit to 32-bit transition, when Windows made the change to 32-bit support. Any developer who remember the joys of thunking and other kludges that were meant to help code conversions also remembers the arcane marathon debug sessions too. I have not been keeping up with the latest Microsoft Longhorn technical news, or the plans that the Linux community has for 64-bit platform support. Does anyone out there have a reliable prediction for the amount of system shock we are facing when either Longhorn or 64-bit Linux comes out? Will I lose all my favorite 32-bit development tools again as I watch the backward compatibility support dry up as the 64-bit O/S platforms are adopted? Or are the O/S manufacturers making happy noises about long-term support for existing development languages and tools?"

184 comments

  1. Happy noises by bluelip · · Score: 4, Interesting

    The happy noises heard are the coins falling into their pockets.

    AMd has been good to us lately. i think they'll continue to 'do the right thing'. Maybe they're the Google of hardware.

    Mike

    --

    Yep, I never spell check.
    More incorrect spellings can be found he
    1. Re:Happy noises by Anonymous Coward · · Score: 0

      thank you kind sir for posting anonomously... the world is not simple is it? well, for me it is, probably because i am not and fucking IDIOT

    2. Re:Happy noises by Anonymous Coward · · Score: 0, Flamebait

      AMd has been good to us lately. i think they'll continue to 'do the right thing'. Maybe they're the Google of hardware.

      How so? Do they track what sites you visit and sell the content of emails to advertisers? Or are they just generally hypocrites and assholes?

      Take your disgusting fanboiism over to the Apple-section, you fucking "omg teh googel is soooo shweet"-moron.

    3. Re:Happy noises by Anonymous Coward · · Score: 0
      1. Think about the logic of "I'm either oblivious or choose to ignore that there are complexities in things, therefore I'm not an idiot".
      2. Next time try parsable English. It makes that "not an idiot" part easier to consider as a possibility.
    4. Re:Happy noises by eno2001 · · Score: 1

      Hmmm... care to show us any free of charge resources that are better than Google for web searching and high capacity mail storage? What about really nice mapping features like maps.google.com? Or is your stock portfolio so tied in with your autonomic brain functions that you need to keep shilling for either Yahoo or Microsoft since they are the ones who are hardcore anti-Google?

      In other news... there IS already Fedora for 64-bit. I haven't tried it yet, but as soon as I get my dual Opteron system going, you can bet I'll be switching.

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  2. Not Necessarily by iced_773 · · Score: 1

    If I remember correctly, Win95 included a tool called MKCOMPAT. I didn't use it much, since my old 16-bit programs seemed to already be compatible. You probably will not have to worry.

    1. Re:Not Necessarily by Anonymous Coward · · Score: 0

      Photoshop-3.0 inside of Windows 95 C OSR 2.5 inside of QEMU-0.7 inside of Linux-2.6.12 inside of Athlon64 FX-55.

  3. Possible answers by Neil+Blender · · Score: 0

    Short answer, no with a but:

    No, not right away, but given enough time probably.

    Long answer, yes with a maybe:

    Yes, it will...but maybe you'll be dead by the time it happens.

    1. Re:Possible answers by Uber+Banker · · Score: 1

      Nice. That clarified the issue well.

  4. 64 bit linux :-)? by Crimsane · · Score: 5, Insightful

    My latest gentoo install is 64 bit, built from the ground up. works great for the most part. there was no lilo that i saw, but I use grub anyways. other then that i'm not missing anything. I've known people that've ran 64 bit in different distros for a couple months now, and they're all quite happy with it.

    1. Re:64 bit linux :-)? by Rylz · · Score: 2, Informative

      I have the same setup, but I cannot say that I'm not missing anything. Although almost everything I use is open source and can therefore be ported and, for the most part, has been ported, there are a few closed programs whose binaries haven't been ported that I miss a little bit.

      1. Macromedia Flash. I know this will be among the first ported when average people actually start using 64-bit CPUs, but at the moment it is very annoying to have to switch to my 32-bit machine once a week to see the new Strongbad email!
      2. ATI Drivers. It was probably a bad idea to get an ATI card for a Linux system, but when the drivers not only don't work, but don't exist for my architecture, I really feel like a dumbass.
      3. Sun Java. I hate Java and really dislike Sun, but applets are currently used on far too many web pages. I am patietly awaiting Apache's eventual F/OSS implementation of Java!

      There are more, but those are the basics... I hope the move of the general public to 64-bit is quick so that the few closed-source programs that I still use will be ported!

      --
      Sometimes you've gotta roll the hard six.
    2. Re:64 bit linux :-)? by RuneB · · Score: 2, Insightful

      Why don't you just use a 32-bit compiled browser/mail program instead of switching computers?

      --
      dtach - A tiny program that emulates the detach feat
    3. Re:64 bit linux :-)? by croddy · · Score: 5, Informative
      1. 32-bit Flash works just fine on 64-bit gentoo. Install 32-bit Mozilla or Netscape binaries, and install the Flash plugin there. No need to switch machines, just switch browsers.
      2. ATI Drivers: I'm afraid you're on your own here.
      3. Sun Java 5 runs just fine on 64-bit gentoo, even if it is missing a browser plugin. Install blackdown-jre and your applets should run just fine.
    4. Re:64 bit linux :-)? by Anonymous Coward · · Score: 0

      Fedora Core already had 64-bit version since last year. It is purportedly much faster than 32-bit on a 64-bit CPU, although I haven't tried it (I still use 32-bit FC3 on a 64-bit CPU because I'm too lazy to support multiple formats on several mixture of 32-bit/64-bit CPUs).

      I will try 64-bit when I get around to it, or when I replace all my 32-bit CPUs.

      BTW, 32-bit to 64-bit is not as bad as 16-bit to 32-bit. I think this is because 16-bit was too limiting at the time when applications were reaching the limits of 16-bit due to DOS/Windows too far delayed in providing 32-bit OS.

      We haven't reached that limitation in 32-bit world and linux already comes up with 64-bit long before we feel the limit. Thanks to this competition by Linux, Windows is not far behind with 64-bit, so we won't feel the pain of limitations as before, when DOS/Windows had almost a monopoly and never advanced fast enough.

    5. Re:64 bit linux :-)? by Galuvian · · Score: 2, Informative

      Blackdown is still 1.4, at least on amd64 stable

      * dev-java/blackdown-jre
      Latest version available: 1.4.2.01-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 28,483 kB
      Homepage: http://www.blackdown.org/
      Description: Blackdown Java Runtime Environment 1.4.2.01
      License: sun-bcla-java-vm

      * dev-java/sun-jre-bin [ Masked ]
      Latest version available: 1.5.0.03
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 32,042 kB
      Homepage: http://java.sun.com/j2se/
      Description: Sun's J2SE Platform
      License: sun-bcla-java-vm

    6. Re:64 bit linux :-)? by prefect42 · · Score: 1

      I wouldn't worry too much about drivers. ATI have produced drivers for IRIX 64bit and Linux IA64 (for SGI) so they really shouldn't have too much trouble with things.

      --

      jh

    7. Re:64 bit linux :-)? by Anonymous Coward · · Score: 0

      Yeah, but gentoo seems to be the only distro that'll let you do this; 32-bit flash will not install on my Ubuntu. I've seen a couple articles for gentoo.

      http://gentoo-wiki.com/HOWTO_AMD_64

      I'm about to see if I can get it installed w/ some of the info there. It might work with some patience.

    8. Re:64 bit linux :-)? by toad3k · · Score: 1

      I'm told flash can be made to work, although I haven't tried it. It probably involves installing a second installation of 32 bit firefox, then flash into that. This is similar to how mplayer is working on my system, since a 64 bit mplayer can't use real, microsoft, or quicktime codecs.

      Ati did release 64 bit drivers, I've been using them, but I haven't tested anything graphic intensive with them. But they do work anyways.

      Java, no clue.

    9. Re:64 bit linux :-)? by codeguy007 · · Score: 1

      1) Yeah no flash
      2) There are so 64Bit ATI Drivers. I am running them on this machine right now. Get your facts straight buddy.
      3) Yeah it sucks that no 64Bit Browser Plugins exist yet. I don't know why though as 64Bit versions of Java 1.5 exist for both Windows and Linux.

    10. Re:64 bit linux :-)? by wolf31o2 · · Score: 1

      Yeah, but gentoo seems to be the only distro that'll let you do this; 32-bit flash will not install on my Ubuntu.

      Great! You've found the source of the problem! Now the only thing left to to is rectify the situation by installing Gentoo. *grin*

    11. Re:64 bit linux :-)? by Anonymous Coward · · Score: 0
      It was probably a bad idea to get an ATI card for a Linux system, but when the drivers not only don't work, but don't exist for my architecture, I really feel like a dumbass.
      I would prefer an ATI card over anything else right now. IMHO they've surpassed NVIDIA as the best 3D card to put in a Linux box. Right now I'm using an ATI card with 100% free drivers and 3D acceleration! That's not too shabby.
    12. Re:64 bit linux :-)? by hackstraw · · Score: 1

      Yeah, I remember there were a few issues here and there about 8 years ago when 64bit linux was pretty new for the Alpha. The only issue I've had in the past 3 years has been with one software package (flac) on an Itanium, and with some binary only distributed packages that I tried to run on an Itanium. 32bit stuff runs fine on an Itanium, its getting all of the 32bit shared libraries and RPM dependancies that were a pain.

      I mean, Windows has even had a 64bit release of their OS around 10 years ago. Why are people thinking that 64bit stuff is new?

    13. Re:64 bit linux :-)? by WhiteWolf666 · · Score: 1

      That's only if you don't care about performance (say, if you like to game occasionally).

      Nothing newer than radeon 8500's has working free linux drivers that support OpenGl.

      Their FireGL drivers are terribly for gaming, too.

      I have several machines. They all run linux. I've got a smattering of builtin crap video cards, old ATI, and old Nvidia. But in my linux gaming box?

      Nvidia all the way. Even though ATI is at a better price/theoretical performance ratio. Merely because ATI's closed source drivers (the only option for 3d on their newer cards) are siginificantly slower than Nvidia's closed source drivers.

      So no, I cannot agree that ATI has surpassed Nvidia as the best 3D card to put in a Linux box. Especially if you want to think about either native linux gaming, or using wine/cedega.

      In fact, I think implying that the newer ATI cards are even marginally acceptable for modern gaming is quite a bit of deception.

      Most people think that linux gaming is hard, and you have to constantly mess with x.org options, or wine/cedega options. The people with the most problems are ATI users, without exception.

      I know, because I'm one of those idiots that used to buy the latest card of every OTHER generation, until I switched to pure linux, and discovered that both my radeon 8500 and my 9800 pro were much more difficult and problematic than my geforce 3 and my geforce fx 5950.

      --
      WhiteWolf666 an exBush supporter. All you new-school,compassionate,save the children Republicans can rot in hell
  5. 64-bit linux by croddy · · Score: 3, Informative

    well, 64-bit linux systems have been available for quite a while now. since the kernel and practically the entire application codebase are available to the public as source code, the transition has been quite painless for end-users. 32-bit emulation libraries have ensured that 32-bit binary programs work almost flawlessly.

    1. Re:64-bit linux by superpulpsicle · · Score: 0

      Hmm... but this is different. The 16 to 32-bit PC transition didn't require you to go out and buy new hardware. Years from now, we might all be forced to use a true 64bit AMD to run anything.

    2. Re:64-bit linux by Sancho · · Score: 1

      I don't understand your meaning, precisely. Could you elaborate?

    3. Re:64-bit linux by jnik · · Score: 5, Interesting
      Hmm... but this is different. The 16 to 32-bit PC transition didn't require you to go out and buy new hardware.

      Huh!? Sure it did. You couldn't run 32 bit code on a 286. In practice, by the time 32 bit became effectively mandatory (Win95), the sheer horsepower requirements pushed an upgrade more strongly than word size. It'll likely be the same this time around.

    4. Re:64-bit linux by swillden · · Score: 4, Funny

      The 16 to 32-bit PC transition didn't require you to go out and buy new hardware. Years from now, we might all be forced to use a true 64bit AMD to run anything.

      You mean I won't be able to run new software on my 286 any more? That BLOWS, man!

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:64-bit linux by jojo+tdfb · · Score: 1

      It wasn't just word size. The 16 bit mode on the x86 is way different than the 32 bit modes. There's a radical change in the way you address memory. I'm not exactly sure how amd's 64bit extention works, but I'd imagine it's not too different than your standard 32 bit protected mode. If it was, there'd be a lot more to upgradeing any app than a simple recompile(open source or not).

      --
      Linux is really boring from an os standpoint. Now Plan 9......
    6. Re:64-bit Linux by SSpade · · Score: 1

      ...and quite a few userspace apps were broken on Linux/Alpha (I spent quite a bit of time with Linux on EV5).

      But not because of backwards compatibility issues so much as bad code, written by bad coders.

      The minor issues you're going to come across due to the true development environment differences between 32 bit and 64 bit code will be fairly minor in comparison to the problems with broken code that just happened to work in 32 bit mode.

      All the world is not a Vax, not a Sun, and definitely not a 32 bit x86.

    7. Re:64-bit Linux by calidoscope · · Score: 1
      But not because of backwards compatibility issues so much as bad code, written by bad coders.

      IMHO, the goodness of open source code comes more from people trying to port the code to other platorms than from the "millions of eyeballs" looking over the code.

      --
      A Shadeless room is a brighter room.
    8. Re:64-bit linux by BJH · · Score: 2, Informative

      You missed out hppa (PA-RISC Linux), but otherwise you're absolutely correct.

    9. Re:64-bit linux by mjsottile77 · · Score: 1
      "Huh!? Sure it did. You couldn't run 32 bit code on a 286. In practice, by the time 32 bit became effectively mandatory (Win95), the sheer horsepower requirements pushed an upgrade more strongly than word size. It'll likely be the same this time around."

      I don't think it's going to be horsepower requirements this time around. The 8086 - 286 - 386 - 486 lineage was many big steps in both clock speed and features. The current 64-bit processors aren't that different from their predecessors in terms of architectural improvements -- sure, a bit more cache, some pipeline changes, and maybe some register tweaks. Nothing like the 386/486 SX vs. DX issue (math coprocessor vs not).



      The only big change you'll see now will be addressable memory. Longer word size processors have been around for decades, and for the non-scientific user, they've proven to be pretty useless. And I sure hope apps don't suddenly bloat up such that Linux + Gnome/KDE requires >32-bit address space. (Usually I'd use Windows in this argument, but recently I've discovered that the latest Suse + KDE or Gnome performs slower than the same machine running XP. Sigh...)

    10. Re:64-bit Linux by Nutria · · Score: 2, Insightful

      ...and quite a few userspace apps were broken on Linux/Alpha (I spent quite a bit of time with Linux on EV5).

      But not because of backwards compatibility issues so much as bad code, written by bad coders.


      Most all were fixed many years ago. Thank the Debian Project for continuing to build against Alpha, and tracking bugs against it. Upstream then makes their s/w 64-bit clean for everyone.

      Of course, if fewer programs were written in C, the problem would be minimized.

      All the world is not ... a 32 bit x86.

      No, but 99.44% of it is... :/

      --
      "I don't know, therefore Aliens" Wafflebox1
    11. Re:64-bit linux by Anonymous Coward · · Score: 0

      Incorrect. The difference between 486sx and 486dx was the math coprocessor, but the difference between 386sx and 386dx was far more architectural, the 386sx was not a true 32bit system.

    12. Re:64-bit linux by astar · · Score: 1

      OpenBSD has native support for AMD64. It even ships on their CDROM. The ports collection is tested in AMD64. Since the OpenBSD ports collection programs are installed by compiling, I am inclined to think OpenBSD mostly just works. I have my AMD64 on order and my main concern is SATA drivers.

    13. Re:64-bit Linux by Anonymous Coward · · Score: 0
      Of course, if fewer programs were written in C, the problem would be minimized.
      Here we go with the inevitable C bashing...

      I could just as easily say, "Of course, if fewer programmers were careless buffoons, the problem would be minimized," it would probably make more sense. Remember, as has been explicitly stated, the problem is bad code . Maybe, the people writing such bad code should find another job, perhaps in the food service industry, instead of whining about how hard it is to port their badly written software.
    14. Re:64-bit linux by kbielefe · · Score: 1

      Some people just don't do their homework before posting. I'm more concerned about the disruption when Windows and Linux get native IPv6 support.

      --
      This space intentionally left blank.
    15. Re:64-bit Linux by Anonymous Coward · · Score: 0

      Get with the times, old fart. Java is the ultimate language, and the last one we'll ever need. It's just more fun and easy being a careless buffoon, since you're forced to only play nice in the sandbox, so no worries at all. Besides, that's what jobs are all about, right, fun and easy? Hey, I only like to focus on the business requirements, not get lost in low-level technical details. Oh, but really I'm a true geek like you guys. I'm better than those loser VB guys, who only like to focus on the bus..., uh, anyways, so in conclusion, Java is teh r0x0r, and C and anything else is teh sux0r and should be banned on account of it being evil. Here's a quick followup quiz to make sure you got all this:

      Java is to C/C++ as Google is to:
      A. Micro$oft
      B. Microsloth
      C. MICROS~1
      D. Evil Bill Gates' evil monopolistic capitalist copyrighting IP-holding closed-sourcing mega-evil evil evil corporation! Evil!

    16. Re:64-bit linux by Anonymous Coward · · Score: 0

      Actually, Alpha has a mixed 32-bit and 64-bit userpsace. No, really! Even though there's no defined 32-bit Alpha "subarchitecture", there are 32-bit and 64-bit ABIs defined, for performance reasons.

      Curiously enough, Itanium (ia64) is the only Linux platform _without_ a defined 32-bit ABI. You simply cannot run 32-bit programs there, there's no 32-bit libc for example. (32-bit x86 programs do work - slowly - with emulation/support on Itanium systems though.)

      On HP-UX/Itanium however, there are both 32-bit and 64-bit ABIs (again for performance, and to be compatible with the old 32-bit PA-RISC 1.x architectures)

      So there you go. What does all this have to do with the price of fish in China? Who knows.

    17. Re:64-bit linux by Anonymous Coward · · Score: 0

      Some people just don't do their homework before posting. I'm more concerned about the disruption when Windows and Linux get native IPv6 support.

      Talking about yourself? Linux has had native IPv6 at least since 2.6, I'm even using it at home (using a 6to4 tunnel because my ISP doesn't support IPv6 yet).

    18. Re:64-bit Linux by arcade · · Score: 1

      A language-flamewar never goes well, but from what I've seen most desktop java apps are horribly slow, they depend on the user having the correct JVM installed, and so forth.

      With C a quick recompile gives you a lean and mean system, without being horribly slow and having to muck around with different JVMs and so forth.

      Sure, I'm easily convinced that it's more fun to code java. It's a pain in ass to use the programs that are made, though.

      --
      "Rune Kristian Viken" - http://www.nwo.no - arca
    19. Re:64-bit Linux by SkunkPussy · · Score: 1

      IMHO, the goodness of open source code comes more from people trying to port the code to other platorms than from the "millions of eyeballs" looking over the code.

      That's actually quite insightful. Its certainly going to be true for the Linux Kernel, if not for every app out there

      --
      SURELY NOT!!!!!
    20. Re:64-bit linux by Anonymous Coward · · Score: 0

      Architecturally the Intel386 SX was the same, just some implementation details (invisible to software) were different--it had a 16-bit data bus and a 24-bit address bus, so the system was limited to 16 MiB of physical memory and needed two bus cycles to load or store one 32-bit register.

  6. 64-bit Linux by reynaert · · Score: 5, Insightful

    when [...] 64-bit Linux comes out

    64 bit Linux came out about a decade ago, when it was ported to the Alpha (and, unlike Windows NT for Alpha, it was a true 64 bit port).

  7. Gates: transition will happen 'rapidly' by jkauzlar · · Score: 1

    This link makes it appear that gates wants the move to be quick. It makes sense, of course, from a business perspective to discontinue support as long as possible and get everyone in the world to upgrade processors. Chances are that it won't happen as quick as he'd like.

    1. Re:Gates: transition will happen 'rapidly' by Anonymous Coward · · Score: 0

      Chances are that it won't happen as quick as he'd like.

      "quickly".

  8. Not worried by jgotts · · Score: 1

    Linux has been running on 64-bit microprocessors for 10 years now. I'm not the least bit worried about porting our company's software system to AMD's 64-bit environment.

  9. 64-bit linux by molo · · Score: 4, Informative

    amount of system shock we are facing when either Longhorn or 64-bit Linux comes out?

    Umm.. no offense, but where have you been? 64-bit linux has been out for a LONG time. Some platforms have been 64-bit kernelspace (sparc64, ppc64, alpha, amd64) and have had 64-bit userspace (alpha) while others have had a mixed 32-bit and 64-bit userspace (sparc, mips, ppc, amd64).

    Most open source apps are already ported. Are you really doing things at a low enough level where you have to worry about thunking?? You might have bigger problems then.

    -molo

    --
    Using your sig line to advertise for friends is lame.
  10. Uh...probably not by SunFan · · Score: 1


    All the applications I am using now are 32-bit, in spite of having a 64-bit CPU and a 64-bit OS kernel. However, this is Solaris, so who knows if Microsoft will be as successful.

    For people who used the first releases of Solaris 7 (my memory is fuzzy), were there many issues back then? I would think there would be more issues in converting a 32-bit program into a 64-bit one, rather than having any issues running a 32-bit program on a 64-bit kernel.

    --
    -- Microsoft is the most expensive commodity operating system and office suite vendor in the marketplace.
    1. Re:Uh...probably not by Nutria · · Score: 1

      I would think there would be more issues in converting a 32-bit program into a 64-bit one, rather than having any issues running a 32-bit program on a 64-bit kernel.

      In C, the 64-bit integer type is usually called "long long", so the big issue, as usual with C, is pointers and casting.

      For 25 years now (starting with the MC68000, VAX, SPARC, etc), pointer has equalled int in bit size on 99+% of all installed systems.

      But 64-bit systems have been around for ~15 years, so that's when Unix/POSIX C programmers started paying attention to proper coding practices. The Linux Alpha/SPARC64/PPC64/HPPA ports really acelerated the need to "do it right", because otherwise, the coder would get a stream of bug reports from people using 64-bit systems.

      --
      "I don't know, therefore Aliens" Wafflebox1
  11. *WHEN* 64-bit linux comes out? by Xtifr · · Score: 3, Informative

    64-bit Linux has been around for about a decade, since the initial DEC Alpha port. There are at least four 64-bit architectures with Linux support at this point, and it's well tested and debugged.

    As for the Windows side, the lessons of the 16->32 conversion were not wasted, abstract types created for that conversion are still in use, and will certainly make the new transition much easier. There will be some bugs that will need to be shaken out, but it's unlikely to be the sort of major effort it was last time.

  12. Don't worry about it... by Sheetrock · · Score: 4, Insightful
    There was a period of years between 32-bit hitting the market and 32-bit being taken seriously as a development target by the majority of developers.

    True, a large part of that was due to MS-DOS being the platform of choice, but the speed with which you need to adapt to the 64-bit environment will be made up for by the relative ease of conversion. We're relatively insulated from the word size of the system, except for the size of 'int' in C, and we won't have to deal with memory managers or extenders -- that's all up to the OS.

    Just keep in mind while you program to be flexible and avoid tying yourself to any OS particulars in an unnecessary way. It's a bump in the road, but nowhere near as bad as it used to be.

    I expect to see 32-bit support in development tools for years yet. Microsoft's window of support seems to be five or more years for operating systems so you've got at least that much time.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:Don't worry about it... by shadowpuppy · · Score: 2, Insightful

      Also keep in mind the 64k addres space limit if 16 bit systems is REALLY tiny. Back then many apps had to play games to get around it. It's one things for a document to go over 64k another for it to go over 4 gig.

    2. Re:Don't worry about it... by orkysoft · · Score: 2, Funny

      We are talking Microsoft Word here... ;-)

      --

      I suffer from attention surplus disorder.
    3. Re:Don't worry about it... by StyXman · · Score: 1

      > Try not. Do or do not, there is no try
      > -- Dr. Spock, stardate 2822-3.

      That's Yoda.

    4. Re:Don't worry about it... by bladesjester · · Score: 1

      not to mention that it's Mr Spock.
      Dr Spock (1903-1998) was a pediatrician turned child/family psychologist

      --
      Everything I need to know I learned by killing smart people and eating their brains.
    5. Re:Don't worry about it... by Frnknstn · · Score: 1

      Not to mention that the stardate is totally out of bounds, but he has had that .sig for a while. He keeps it as a kind of permanent troll. Maybe he should be modded as such?

      --
      If it's in you sig, it's in your post.
  13. 64-bit is NOT NEW by derinax · · Score: 1

    ...forgotten, perhaps, regarding Windows since the Microsoft / DEC Alliance days. But I've been running NetBSD's pkgsrc on a fully 64-bit OS for many years now (not to mention some others). In the OSS world, at least, 64 bit issues have been addressed for some time now.

    There is the occasional badly-behaved audio or video application, coded originally on 32-bit x86 Linux, that must be hammered into shape. But it happens quickly enough that my Alpha is, and has been for years, a fully modern 64-bit desktop OS.

    1. Re:64-bit is NOT NEW by Corpus_Callosum · · Score: 1

      No, it's not new. This of course begs the question, "When are the 128bit processors going to hit the streets?"

      I am only being partially fasicious there. With all of the attention on media processing these days, it may make sense to throw 16bytes around at a time instead of 8. In fact, aren't many vector processors and GPUs structured around 128bit words already?

      --
      The reason that it can be true that 1+1 > 2 is that very peculiar nonzero value of the + operator
    2. Re:64-bit is NOT NEW by Marillion · · Score: 1

      The Transmeta Crusoe has been 128 bit since it came out five years ago.

      --
      This is a boring sig
    3. Re:64-bit is NOT NEW by Cmdr+TECO · · Score: 1
      I've got an Alpha I bought for $5 and an UltraSparc I bought for $2. That tells you something about how long 64-bit micros have been around.

      Stepping back from micros, the first 64-bit Un*x was Cray's UniCOS in 1984; the second (and the first I used) was Control Data's (by HCR) in 1985. (And the trouble wasn't so much the 64-bit int as the 32-bit short, and pointers that filled the upper 48 bits of the word, and the null pointer that wasn't 0.)

      Stepping back from Un*x, what was the first (exactly) 64-bit machine? I don't know. The earliest I know of was the Mellon Institute Digital Computer, 1954. (Some earlier machines had larger words, of course; the UNIVAC I had a 72-bit word.)

      So, yeah, people are going to have trouble adapting.

      --
      echo 33676832766569823265328479713269.8639857989Pq | dc
    4. Re:64-bit is NOT NEW by Cmdr+TECO · · Score: 1
      In fact, aren't many vector processors and GPUs structured around 128bit words already?

      They're generally 4 x 32-bit. I don't know any with general-purpose operations on 128-bit words. Someone will correct me if I'm wrong (or even if I'm right, probably).

      --
      echo 33676832766569823265328479713269.8639857989Pq | dc
    5. Re:64-bit is NOT NEW by M1FCJ · · Score: 1

      damn. The ultrasparc I got for free is 32 bit. On the other hand the JavaStation E I'm going to play with this weekend is also 32 bit (has SPARC CPU).

    6. Re:64-bit is NOT NEW by LizardKing · · Score: 1

      The ultrasparc I got for free is 32 bit.

      Then it's not an UltraSparc. An Ultra is a sun4u architecture machine, which is the 64bit successor to the 32bit sun4m architecture.

    7. Re:64-bit is NOT NEW by Nutria · · Score: 1

      regarding Windows since the Microsoft / DEC Alliance days

      Windows NT/Alpha put the processor in 32 bit mode.

      That's how most OpenVMS code ran for a long time, too.

      --
      "I don't know, therefore Aliens" Wafflebox1
    8. Re:64-bit is NOT NEW by M1FCJ · · Score: 1

      Ah, you're right. I looked at the slab, it is actually a sparcstation 20. I must have rememberred incorrectly, there are two identical slabs sitting under my desk which are ultras.

    9. Re:64-bit is NOT NEW by Anonymous Coward · · Score: 0

      SSE2 has 128-bit register and (aligned) memory operands. Pentium 4 and Athlon 64 processors support this.

  14. 16bit huh? 24bit yes by norwoodites · · Score: 1

    I remember going from 24bit to a 32bit OS (System 6.x to System 7.x).

    There were some problems with some software but then again Apple always warned about thos upper 8bits.

  15. Longhorn? by WhatAmIDoingHere · · Score: 1

    Longhorn will have a 64bit and 32bit version, but Windows XP 64bit is already out.

    People, for some reason, keep confusing XP 64bit with Longhorn.

    --
    Not a Twitter sockpuppet... but I wish I was.
    1. Re:Longhorn? by __aaclcg7560 · · Score: 1

      People, for some reason, keep confusing XP 64bit with Longhorn.

      Considering how much Longhorn technology has been (or will be) backported into Windows XP, that's not surprising. Hey, maybe Microsoft will throw in the kitchen sink free of charge!

  16. Thunking! by Wabbit+Wabbit · · Score: 2, Interesting

    Wow, that takes me back...the days of message cracking, porttool, and NT 3.1

    Thanks for the walk down memory lane.

    --
    Nothing is inexplicable; only unexplained -Tom Baker, Doctor Who
    1. Re:Thunking! by tonsofpcs · · Score: 1

      I wonder, will you be able to thunk 16 bit directly from 64, or do you have to thunk a 32 bit thunker to thunk the 16 bit?

  17. OK - is this the most stupid AskSlashdot today ? by MerlynEmrys67 · · Score: 3, Funny
    Should we start a daily poll on the dumbest question to hit Ask Slashdot on a 24 hour period.

    This one is sure to hit it.

    Been running a 64 bit dual proc AMD Linux for about a year. Been running a 64 bit AMD Win 2K3 Server for about 5 months. Been running a 64 bit Sparc Linux for about 2 years (personally - all of these were out long before I got to them)

    Here is the big difference. When you remember the 16-32 bit port - most of the problems I saw were to memory protection, and dealing with ring transitions. We have all ready solved these problems, so the port to 64 bits is pretty painless.

    --
    I have mod points and I am not afraid to use them
  18. flash, java, and ATI on amd64 by Anonymous Coward · · Score: 2, Informative
    1. The 32-bit flash plugin works if you run it in a 32-bit browser program, even on a 64-bit OS. As long as one of your web browsers is 32-bit, you can run flash from within that one. A good solution is to install both mozilla and firefox and make one of them the 32-bit version and the other one 64-bit.
    2. Proprietary ATI linux drivers for AMD64 are available.
    3. Java applets are similar to flash -- the Sun java browser plugin will work if you use a 32-bit browser.
  19. 64 bit question by line-bundle · · Score: 1

    I do not understand 64 bit as much as I would like. Here is where I get lost. I would have thought a 64 bit chip accesses 2^64 words which are 64 bits each. Why do they say it accesses 2^24 bytes only?

    1. Re:64 bit question by Anonymous Coward · · Score: 0

      Hardware these days is usually byte-addressable, so an individual address value gets you a byte, not the machine's natural wordsize. Today's 32 bit machines have all 32 address lines going all the way out to the chip, so they can address 2^32 *bytes* of memory.

      Today's 64 bit chips are also byte-addressable, so the max they can address is 2^64 bytes, which is 18 exabytes. That's probably more RAM than has been built in the history of the world, so it's overkill for the time being. Since having those pins on the chip cost money, they don't put them all in. They certainly put more than 24, though! I vaguely remember there being a 40 bit model and a 48 bit model in the AMD stable.

    2. Re:64 bit question by DarkDust · · Score: 1

      Why do they say it accesses 2^24 bytes only?

      That must be in real mode, where the 8086 back from 1981(?) is emulated. All x86's boot into this mode, even today... and waste our time, money, and hardware/BIOS developers nerves. In real mode you only have 16bit opcodes and registers but needed to be able to address more than just 64kB of RAM, so they introduced a way (segment and offset) to address with 24bit (like the whole processor, this was a quick hack to bring a 16bit version of the 8080 to market as fast as possible... we're still paying for the awful design decisions made back then).

    3. Re:64 bit question by chthon · · Score: 1

      Memory is nowadays always addressed in bytes.

      2^64 bytes, instead of 2^64 64bit words.

    4. Re:64 bit question by Anonymous Coward · · Score: 0

      I know each byte has a distinct logical address, but will a modern processor actually put an unaligned address on the bus and read a single byte, rather than an entire cache line? I took a peek at AMD's spec for Socket 754's SDRAM controller and didn't entirely understand it, but it appears to use a 1-bit bank and 14-bit row and column addresses to access 64-bit words.

  20. Bitness != Pain by fm6 · · Score: 3, Informative
    The pain we experienced going from 16-bit to 32-bit Windows had nothing to do with bitness. Despite having the same name and a big feature overlap, these were actually two different OSs. The 16-bit OS evolved out of DOS, a nasty, buggy and incomplete OS designed by people who didn't even understand what an OS was supposed to do. The Windows layer didn't just provide GUI services, it kludged in basic OS functionality, like pre-emptive multitasking. By contrast, 32-bit Windows was written from scratch by OS geniuses who had previously worked on VMS. They did their best to provide backward compatibility, but there's a limit to what you can do about that wihout screwing up the new OS.

    Porting from 16-bit Windows applications to 32-bit Windows is sort of comparible to the problems you face running Windows applications under Linux using WINE. In both cases, you're going to a new OS, and relying on a compatibility layer.

    A 32-bit Windows application running under 64-bit Windows just won't face these issues. There will be some 64-bit features it won't be able to uses, that's all.

    1. Re:Bitness != Pain by Anonymous Coward · · Score: 1, Informative

      Win95 was 32-bit. Win95 was based on DOS, not the OS/2|NT project.

    2. Re:Bitness != Pain by Bill+Dog · · Score: 2, Informative

      Win95 was a 16/32-bit hybrid/bastardization. It ran both 16 and 32-bit apps natively (and you could thunk calls between them). The NT-based OS's were always 32-bits (or more now), and emulate a 16-bit layer when needed (the Windows on Windows, or WOW subsytem). I believe it was WinME that was the last of those bastardizations.

      --
      Attention zealots and haters: 00100 00100
    3. Re:Bitness != Pain by larien · · Score: 1

      Well, I know that 99% of 32-bit apps run just fine under 64-bit Solaris, AIX & HP-UX (the remainder are ones which address the kernel directly like top or lsof). Provided the hardware and the OS is designed correctly (i.e. not like the pain of DOS->Win32), there's no (ok, much less) problem in migrating.

    4. Re:Bitness != Pain by fm6 · · Score: 1

      Windows 95 was not a 32-bit OS. It was just an incremental revision of Windows 3.1. You're thinking of WIN32S, a compatibility layer which kludged some 32-bit functionity onto Windows 3.1 and later. WIN32S came pre-installed on Win95 and later, but it wasn't an integral part of the OS.

    5. Re:Bitness != Pain by Anonymous Coward · · Score: 0

      Idiot. Win9x supported a subset of the Win32 API called Win32c which included everything of the Win32 API supported by NT except for the security and Unicode stuff. And it very much was an integral part of the OS.

      You're just another no-nothing geek who reads too much Slashdot.

    6. Re:Bitness != Pain by Anonymous Coward · · Score: 0

      What do you expect? The guy's just a fucking technical writer, yet he implies of being able to sling code in a whole smorgesborg of languages on his resume. What a joke.

    7. Re:Bitness != Pain by Anonymous Coward · · Score: 0

      He's a no-nothing? So he's a thing? At least he KNOWS the difference between KNOW and NO, Mr BesserWisser....

    8. Re:Bitness != Pain by Anonymous Coward · · Score: 0

      That's so dumb, it's not even wrong.

    9. Re:Bitness != Pain by Anonymous Coward · · Score: 0

      The Windows layer didn't just provide GUI services, it kludged in basic OS functionality, like pre-emptive multitasking.

      Now that you mention it, no it didn't. Windows 3.1 used cooperative multitasking. Yet another major change in the move to the 32 bit OS.

      By contrast, 32-bit Windows was written from scratch by OS geniuses who had previously worked on VMS.

      If that's true, I'm not aware of it. This is the case for Windows NT, but afaik 95 evolved out of 3.1. It certainly didn't use the NT kernel.

  21. Re:OK - is this the most stupid AskSlashdot today by WhatAmIDoingHere · · Score: 2, Interesting

    Windows users may have a problem: Most installers are still 16 bit. I installed XP64 on my Athlon64 box and couldn't do much of anything.

    Note: I'm a gamer.

    --
    Not a Twitter sockpuppet... but I wish I was.
  22. Times Have Changed by mugnyte · · Score: 1

    I this the questioner is referring to the MS C++ and VB compatabilities that happened when DLL's were 16bit on 32bit windows.

    Well, if you're using low level code still, like Win32 constructs and other windows C++ specific data types, you may indeed be faced with work to do. I remember arguments passing from 16bit OLE interfaces into 32bit C++ EXEs that was troublesome. However in this switch, the code should run fairly fine.

    If my above assumption is indeed your worry, I would recommend rebuilding your C++ projects with the .NET studio or raw compiler begin to learn C#. The C++ datatypes in MS Visual Studio should be defined adequately for your port.

    Overall though, the problems you ask about are no longer problems for the languages and platforms used today. Even lower languages have mapped their types pretty well, and the world is indeed deep into the conversion. Also read up on distributed systems, web services, and SOA in general, since these are trends that are going to impact your designs more than just a 64bit platform.

    1. Re:Times Have Changed by Bill+Dog · · Score: 1

      Also read up on distributed systems, web services, and SOA in general, since these are trends that are going to impact your designs more than just a 64bit platform.

      I agree. I also tend to think that since dual-core cpu's are going to become mainstream on the desktop, there'll be a sooner migration of things to take (or take more) advantage of multi-threading than the move to 64 bits.

      --
      Attention zealots and haters: 00100 00100
    2. Re:Times Have Changed by QuestorTapes · · Score: 1

      > Well, if you're using low level code still, like Win32 constructs and other windows C++ specific data
      > types, you may indeed be faced with work to do. I remember arguments passing from 16bit OLE interfaces
      > into 32bit C++ EXEs that was troublesome. However in this switch, the code should run fairly fine.

      One major caveat. MS didn't widen the size of int for 64 bit, so they added a lot of new typedefs in the headers. This is to deal with trouble from void * parameters that -may- be pointers, or ints, or longs, etc., etc.

      But there aren't -that- many, and MS has been agressively updating the docs and headers with these new typedefs for a couple of years now. The SDK includes a version of the 64-bit compiler so you can test-compile and see the likely trouble spots.

      It should be much easier to port Win32->Win64 than Win16->Win32. But I haven't done any porting yet.

  23. This is why you need to program in managed code by jbplou · · Score: 1

    When you can program in managed code be it .NET or Java. I know that most .NET code can move about the various 64-bit and 32-bit versions of Windows and as long as the Java VM is designed correctly on the new platforms those should move relitevy easy as well. Now for the other 90% of code out there, your in trouble.

    1. Re:This is why you need to program in managed code by JohnFluxx · · Score: 0, Redundant

      No, this is why you need open source code so you can just recompile it :)

    2. Re:This is why you need to program in managed code by jbplou · · Score: 1

      Just because the code is open source doesn't mean you can just open it up on a different architecture and recompile it. If that was the case then every piece of commercial software would be available for every platform because building for everything would be such a cheap process.

    3. Re:This is why you need to program in managed code by JohnFluxx · · Score: 1

      platform != architecture. The cost for porting from windows to linux is change the widgets and the libraries, not the bit conversion.
      Pretty much any open source app works on loads of different architectures. It's not hard to fix code to do that.

    4. Re:This is why you need to program in managed code by jbplou · · Score: 1

      First of all the parent post wasn't about OSS apps, it was about all apps. Most businesses use internally developed apps, they may depend on things like COM+ objects or other things that lock in on platform. Second of all you oversimplify the cost of moving apps. If it was so easy Oracle for example would release its versions for all OS at the same time instead of a timed port. Yeah it is easy to port some little crappy app but not a large app.

    5. Re:This is why you need to program in managed code by JohnFluxx · · Score: 1

      You're still missing my point. I'm arguing porting across architectures should not be that difficult for almost all programs. (Oracle has an awful lot of very low level code, so no comment on that).

      Porting across platforms doesn't even come into this argument.

    6. Re:This is why you need to program in managed code by jbplou · · Score: 1

      Well I see your point to some extent about porting between platforms not being as bad as architectures. But for the most part the OS has changed some inbetween 32-bit and 64-bit processors. The IA-64 windows is an example, I know there is difficulty with that, I believe the AMD-64 version is better. But like I originally said if you wrote in JAVA or .NET this port problem would be considerably easier.

  24. Re:16bit huh? 24bit yes by Bill+Dog · · Score: 2, Interesting

    I had my asm class in college on the MC68000, and remember that it had 16-bit control and data buses (with 32-bit registers!) and a 24-bit address bus. Since 2^16 can only address 64K, and 4GB would have been way overkill in those days, I guess 24 bits was somehow logical.
    And I too remember plenty of warning for getting "32 bit clean".

    --
    Attention zealots and haters: 00100 00100
  25. /proc/cpuinfo by name773 · · Score: 1

    vendor_id : AuthenticAMD
    cpu family : 15
    model : 4
    model name : AMD Athlon(tm) 64 Processor 2800+
    stepping : 8
    *snip*
    TLB size : 1024 4K pages
    clflush size : 64
    cache_alignment : 64
    address sizes : 40 bits physical, 48 bits virtual

  26. How hard is it, by way2trivial · · Score: 3, Insightful

    without knowing the form the x99986 processor will take, to, while coding for 64bit, to leave room for 128 bit. (I have no idea of the practicality myself)

    got a program that will still be around in five years? telnet client? something?

    great... whilst coding it for 64 bit, leave room for another bit, so in five years, you can 'turn it on' and be that much ahead of the game.

    --
    every day http://en.wikipedia.org/wiki/Special:Random
    1. Re:How hard is it, by Anonymous Coward · · Score: 4, Informative

      Planning for 128 bits of address space is insane.

      Don't let you be fooled by the fact that 16->32, and 32->64 seems similar and infer that 64->128 is the same.

      First the exponential increase in performance/memory size gives you a linear increase in bit count. Doubling the bit count is a very rare event.

      Second, hitting a limit on 64 bits would mean 4 billion times 4 billion bytes.

      Think about it. 73 millions of 250 gigabytes hard drive *per* application.

      All the movies from imdb.com, in DVD format, in memory. 4500 times.

      An DiVX of your whole life. 43 thousands times.

    2. Re:How hard is it, by Anonymous Coward · · Score: 0

      How many Libraries of Congress per cubic millimeter is that?

  27. easy to quantify by epine · · Score: 2, Interesting


    This is just stupid. We exhausted the 16-bit address space in the era of the Osborne and Apple Poo. Ten years later we experienced a painful "transition" to 32 bits (after completely exhausting kludge space). The present situation is that high end machines can make good use of a 64-bit address space in kernel, but 99.9% of userland processes could remain 32-bit for a long time yet. The rare exceptions, such as database servers, those have been 64-bit clean since before the Alpha was first invented.

    Sure, let's compare a transition that took place ten years after the pain was universal to a transition that took place quietly ten years before most people realized that a 32-bit virtual address space could be exhausted with far less physical memory as a result of mechanisms such as nmap.

    1. Re:easy to quantify by MemoryDragon · · Score: 2, Interesting

      The main problem with the 16-32 bit transition was the dreaded segmentation, the code for this had to be moved into a flat mem model (the first thing the compiler people did was to expand one segment to full mem size and get rid of the segmentation at all, which Intel wanted to carry over into the 32 bit world - speaking of stubborn and shortsighted) and that lots of code was pure assembler, the other problem was that lots of programmers used the good ole trick of number boundary overloading to zero values or to push them into a negative domain, which of course only works as long as the bytesize of your registers do not change, which happened back then. All these were tricks to save clock cycles and mem. I dont expect that the move to 64 bit will be as bumpy and 64bit linux has shown that indeed it is not.

    2. Re:easy to quantify by Nutria · · Score: 1

      The main problem with the 16-32 bit transition was the dreaded segmentation

      And that was "only" Intel. Everyone else had the brains to build 32 bit systems in the late 70s and early 80s.

      --
      "I don't know, therefore Aliens" Wafflebox1
    3. Re:easy to quantify by MemoryDragon · · Score: 1

      Well given that the segmentation was just a plain and dirty hack to spare pins on the 8088 so that they dont have to go full 16 bit it has survived for a long time. Btw. Intel still is from the command set and number of registers, still one of the worst processor architectures there is. As for the other processors, no the 650x series was 8 bit, the early 68000s to my knowledge 16 bit, but none of them had segments and only a handful of special purpose registers, they all went from the beginning on to a flat memory model and lots of general purpose registers. Dunno if the early arms were 16 bit, but I assume so. The z80 was clearly 8 bit.

    4. Re:easy to quantify by Nutria · · Score: 1
      I stand by what I wrote.

      http://www-128.ibm.com/developerworks/library/pa-m icrohist.html?ca=dnt-61
      "In 1979, Motorola introduced the 68000. With internal 32-bit registers and a 32-bit address space, its bus was still 16 bits due to hardware prices"

      http://en.wikipedia.org/wiki/Acorn_RISC_Machine

      • 6502 - September 1975, 8 bits
      • Z-80 - July 1976, 8 bits
      • 8086 - 1978
      • VAX - 1978
      • 68000 - 1979, 32 bits
      • ARM2 - 1986, 32 bits

      --
      "I don't know, therefore Aliens" Wafflebox1
  28. Oh yeah, what about Java? by Latent+Heat · · Score: 2, Interesting
    Linux can be happily 64 bit, and Windows may attempt to be 64 bit, but what are people going to do about Java?

    Java is supposed to be platform independent, but the implicit assumption has always been a 32-bit platform of one sort or another. Yes, Java can run on a 64-bit processor, but the int is still 32 bits unless you want to change the behavior of an awful lot of Java code.

    So will there be two Java's or are they going to come up with some kind of clever 64-bit Java extension or what?

    Oh, and as to the comments that it takes a shockingly big Word document to bust a 32 bit address space, the big address space is not for Word, it is for video. The change to 32 bits and faster processors made CD-quality audio pretty much universal on desktop computers, but HD-quality video is not there yet. Sure you can stream from files or segment memory, but 4 Gig is still constraining with regard to high definition video files being handled in linear address space.

    1. Re:Oh yeah, what about Java? by __aaclcg7560 · · Score: 1

      Yes, Java can run on a 64-bit processor, but the int is still 32 bits unless you want to change the behavior of an awful lot of Java code.

      I believe the Virtual Machine will handle any differences in the hardware. Remember that Java is the "write once but pray everywhere" programming language. :)

    2. Re:Oh yeah, what about Java? by John+Meacham · · Score: 1

      It is the same on x86_64. C ints are 32 bits. just pointers are 64 bits and your long longs are implemented in hardware so are faster. There is no need to make the default integer size bigger, it would just double the memory usage for no reason. 64 bit cpus are designed to do 32 bit math fast too for this reason.

      --
      http://notanumber.net/
    3. Re:Oh yeah, what about Java? by cratermoon · · Score: 5, Informative

      > the int is still 32 bits

      Defined that way by the language standard and will always be that way on any platform past, present, and future. That's why it's platform-neutral, because you don't have to deal with ridiculous low-level issues like the size of standard datatypes. All primitive types are fixed by the language standard. These sizes do not change from one machine architecture to another (as do in most other languages). This is one of the key features of the language that makes Java so portable.

      Need more than 2,147,483,647? Try long -- 9,223,372,036,854,775,807. Still not big enough? java.math.BigInteger is arbitrary precision.

      Although programming in Java has lost some of its charm for me, I never ever again want to have to program in a language where I don't know from one platform to the next whether or not a particular bit of arithmetic will overflow.

    4. Re:Oh yeah, what about Java? by moocat2 · · Score: 1

      The most common data model in C for 64 bit programming is LP64. In this model, longs and pointers are 64 bits while ints are still 32.

      In Java longs are already 64 bits which basically makes Java code 64 bit ready. If there is going to be any troubles, it will be with sloppy C code that assumes sizeof(int) == sizeof(long).

    5. Re:Oh yeah, what about Java? by kryps · · Score: 1

      > the int is still 32 bits

      That is not a problem. However that arrays in Java are limited to 2^31 elements will probably be a real problem at some point. I don't know how they are going to address this.

      -- kryps

    6. Re:Oh yeah, what about Java? by Hard_Code · · Score: 1

      Yeah, I don't get it: "oh no, our primitive numeric types aren't tied to arbitrary system architecture limits", sounds more like a feature to me than a bug. For the vast majority of software, why would you WANT your primitive types tied word-size? Fixed fundamental types eases portability, not hinders it.

      --

      It's 10 PM. Do you know if you're un-American?
    7. Re:Oh yeah, what about Java? by Anonymous Coward · · Score: 0

      C/C++ have had these fixed-size types for awhile now (available first in inttypes.h, and later standardized in stdint.h). Not only are there fixed width types (int16_t, int32_t), but there are a whole set of types for using the fastest type or the smallest type with at least N bits, and intmax_t/uintmax_t if you just need the biggest integer possible. This is important because there are machines out there that don't have 32-bit or 64-bit word sizes (or where a byte is more than 8 bits!), so it's meaningless to even talk about having a 32-bit int or a 64-bit long without compiler tricks (like what GCC does to support long long on 32-bit machines--except worse because the sizes are weird). If you need to worry about overflow in a particular bit of math, you should be using the limits defined in limits.h and stdint.h like INT_MAX to explicitly check for this. Floating point is also done non-portability much of the time, as it doesn't consider the impact of floating point exceptions. Your usual programmer is bad enough at portability, though, that a lot of work has been done to try and mitigate these problems. Best practice in C is to make liberal use of the typedef feature so that the appropriate types for a particular machine architecture can be chosen ahead of time; this is particularly important for the 64-bit transition, as there are two main models: LP64, and then there's Windows (LLP64).

  29. When 64-bit linux comes out? by photon317 · · Score: 2, Insightful


    Who lets these crackheads post stories? Linux has been running native 64-bit on several platforms for years, and years, and years. Hell even in the x86 world, I've got ~9,000 Opteron CPUs chugging under the power of Linux in 64-bit mode at work, and they're just trashy lease boxes.

    --
    11*43+456^2
    1. Re:When 64-bit linux comes out? by Anonymous Coward · · Score: 0

      Sir, as a crackhead I find your post offensive.

  30. I have an idea. by jericho4.0 · · Score: 1
    How about you go here, and find out a thing or two. Like the fact that we've been running 64-bit linux for years, now.

    Next 'Ask Slashdot'; "Does anyone know if BonzaiBuddy runs on the internets?"

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  31. Re:16bit huh? 24bit yes by Anonymous Coward · · Score: 0

    There were some problems with some software but then again Apple always warned about thos upper 8bits

    Biggest problems were hardware-related. Because Apple didn't read their own warnings and burned "unclean" software into the ROMs of many machines.

  32. As others have already observed ... by isolationism · · Score: 1

    ... I'm already running 64-bit linux on both server and desktop environments (server for ~5 months and desktop for ~2) and loving it, thank you very much. They sure compile applications fast. I couldn't be happier.

  33. The difference... by Ayanami+Rei · · Score: 4, Informative

    64-bit mode on AMD abandons the idea of segments.
    You don't need them to get around the 4GB limit (no need for PAE), and no operating system was using segment protection of memory anyway; relying solely on page protection flags.
    Everything in 64-bit mode ends up in a known, fixed location of memory (like on old Macs)

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  34. Re:OK - is this the most stupid AskSlashdot today by CaptnMArk · · Score: 1

    I agree. Instals**t is a big problem.

  35. Translation by Ayanami+Rei · · Score: 1

    40 bits physical:
    The system can actually use 2^40 bytes (a terabyte) of RAM
    48 bits virtual:
    The system may use 64-bit pointers, but the top 16-bits are ALWAYS zero.

    (Virtual memory addresses are translated into physical addresses by page tables... swapping and memory mapped files and all sorts of fun stuff is done with these tricks that make you look like you have more "memory" than is actually there)

    This is important because the page tables that translate virtual addresses into physical addresses are going to completely ignore that top 16-bits. This is done because 2^48 is an incredibly huge amount of space... you can't possibly have that many hard drives hooked up to one machine and swap into all of it or mmap that many files. You save space in memory if you have less wasted page tables since you can have less of them (by a factor of 60000!)
    At the same time you want two pointers to be equal when you compare them if they truely point to the same virtual memory, so we all agree that it's set to 0 rather than just keeping anything you want in that upper 16 bits.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:Translation by archeopterix · · Score: 1
      This is done because 2^48 is an incredibly huge amount of space...
      So, are you saying that 2^48 bytes should be enough for everyone?

      Thank you, thank you, I'll be here with you all week!

  36. The difference...? by jojo+tdfb · · Score: 2, Informative

    How is that different that the current 32 bit mode? If I remember correctly (and google still serves me right ;) all Linux binaries start at 0x08048000. Windows does the same, just a different address. What exactly does the 64 bit add other than larger word sizes and a few extra registers?

    If I remember my history right, it was the 286 that added this mode. Granted the addressing was in 24 bit but it tossed out haveing to split up your memory address across 2 pointer registers ( I still curse those damn data segments, when I'm drunk enough).

    --
    Linux is really boring from an os standpoint. Now Plan 9......
    1. Re:The difference...? by cryoknight · · Score: 0

      64-bit memory addressing allows far greater than 4 gigs of ram, as well as file sizes above that.
      Heck, an unsigned 64-bit int can go up to around 18 * 10^18... I doubt any OS will implement that amount of memory addressing for quite awhile...

      So the difference, you ask?
      1. Memory addressing
      2. File size
      3. much larger / more precise (for the floating point numbers) calculations

    2. Re:The difference...? by Anonymous Coward · · Score: 0

      So the difference, you ask?
      1. Memory addressing


      Nope, addressing is the same apart from address sizes increase (but parent was asking about non obvious changes).

      2. File size

      Nope.

      3. much larger / more precise (for the floating point numbers) calculations

      Nope.

      Looks like you've struck out.

    3. Re:The difference...? by cryoknight · · Score: 0

      Read the next couple of posts in that thread...

      Memory addressing is not handled in a different manner, but handles way more memory. Thus it is still different (being 64-bit memory addressing instead of 32 bit memory addressing). Not a paradigm shift, but still different.

      As for the much larger and more precise calculations:
      They sure are. For integers (the floating point comment was just for the more precise part), the calculations can be WAY larger, since the integer values are now up to 20 digits instead of 9.

      http://www.psc.edu/general/software/packages/ieee/ ieee.html64-bit floats are double precision.

      The file size thing was discussed more thoroughly in the next few threads.

  37. transition..? by kelleher · · Score: 1

    What are you talking about? Sun has been 64bit for years...

  38. Applets? (OT) by rve · · Score: 1

    but applets are currently used on far too many web pages.

    Where do you find these many webpages using applets? I got the impression that applets were dead.

    1. Re:Applets? (OT) by Artana+Niveus+Corvum · · Score: 1

      I realize you're joking, however things like NOAA still use java applets for their radar loops...

      --
      -----------------------------------------
      Remove the Greed which plagues mankind.
  39. same thing, longer words by jojo+tdfb · · Score: 1

    That's not what I was asking. The difference between 16 bit real mode, weird ass vm mode and 32 bit protected mode are night and day. I did a quick scan of the amd docs and it looks like the only difference from the old 32 bit protected mode is they map 64 bits out of 58 bits of physical addresses (40 bits in the early implementations) and up the addressing word size. It also seems to keep a 32 bit compatibility mode around as well. The size of ram isn't that big of an issue when it comes to upgrading as much as the mode that the cpu runs in.

    You should look at some of the really old code. It's amazing the crazy hacks people had to do just to access more than 64k in real mode.

    Also, what the hell does word size have to do with file size? That makes no sense what so ever.

    --
    Linux is really boring from an os standpoint. Now Plan 9......
    1. Re:same thing, longer words by cryoknight · · Score: 0

      File size on a 32-bit OS (at least, 32bit windows) is a max of 4 gigs. On win64, the max file size is _much_ larger. Thus, I assumed that since 4 gigs is the max of an unsigned int, then the file size limitation must be due to the max word size of the machine (and the os).

  40. It's a valid question by jojo+tdfb · · Score: 2, Interesting

    You may have been running 64 bit linux for a little while on the x86 but you strike me as a guy never seen the joys of real mode vs. protected mode. You should Google up some of the angst filled rants from programmers who had to deal with it back in the day.
    Some of that old code is just crazy.

    We got it so easy these days almost makes me feel lazy.

    --
    Linux is really boring from an os standpoint. Now Plan 9......
    1. Re:It's a valid question by DarkDust · · Score: 2, Interesting

      You may have been running 64 bit linux for a little while on the x86 but you strike me as a guy never seen the joys of real mode vs. protected mode. You should Google up some of the angst filled rants from programmers who had to deal with it back in the day.

      Note: my memory may serve me wrong, the following could contain errors.

      The difference of real and protected mode that was alien to the developers wasn't so much about 16 or 32 bit but about the way memory was addressed. In real mode memory is addressed with a 24 bit hack and people where used to that. Additionally, they didn't have to care about memory protection and setting stuff up, real mode is just plain simple to use.

      By contrast, the transition from 32 bit (protected mode) to 64 bit is very soft, as far as I remember there are a few new opcodes and a few new registers, but the hard stuff like addressing memory hasn't changed much to my knowledge... then again maybe someone who actually knows some AMD64 assembler could shed some light here ?

    2. Re:It's a valid question by jojo+tdfb · · Score: 1

      check out section 2.1. Nothing has changed all that drastic. There is some low level stuff that the os would have to take care of, but nothing to radical. The 128 bit floats are kinda neat thou.

      --
      Linux is really boring from an os standpoint. Now Plan 9......
    3. Re:It's a valid question by Teancum · · Score: 1

      Having been through this process twice already (going from 8-bit CPUs to 16-bit CPUs, and then to 32-bit CPUs) the #1 bone of contention was that the memory address range substantially increased on each progression to a larger register size, in addition to the new opcodes.

      In addition, one of the things that made it difficult in the past was that whole new operating systems with completely new paradymes on their operational concepts within those operating systems accompanies these changes. Right now I don't see any big push to abandon Linux/Unix/Windows/Mac OS-X etc. as the biig leap comes in this time around. There were attempts in the past to do this (like CP/M-86 and MS-DOS v. 7.0) as the progression to a new CPU base came around, but in hind sight these were more transitional products rather than widely used platforms. BTW, MS-DOS 7.0 is also known as Windows '95, and was not marketed as a 32-bit platform independently... also adding to the mistique of the transitions from 16-bit to 32-bit archetechtures.

      I may be mistaken with what is going to come in the future, but it doesn't seem to be all that big of a deal. The largest driving factor right now is that Linux is open source already, and this time around there are mature open source operating systems to help make the leap.... something that was not widely available when the computer industry went from 16-bit to 32-bit systems. If you look at what Microsoft is planning, it is clear that "Longhorn" would have been the initial 64-bit operating system from that company, and something that would have been the driving force for 64-bit computer applications. Instead, it is behind in almost every way, and will have a much harder time trying to do the transition.

      One final factor with the fact that the transition from 32-bit to 64-bit programming is not going to be so painful is that memory archetechtures have been keeping up in 32-bit systems, with little need for the memory banking that was very common in 8-bit systems, and in part the source of headache with 16-bit systems (with competing extended memory manager archetechtures). Except in some advanced research systems, you don't hear of too many 32-bit CPU systems that require a memory bank switch to allow RAM access to 1 Terabyte.

  41. File systems by jojo+tdfb · · Score: 1

    The limit on the file size is actualy determined by the file system type, not the word size of the cpu archatechture. There's a reason it's called fat32. ;) If it was based on cpu word size, we wouldn't have been able to have files larger than 64k on the x86 until the early 90's. Change file systems and your in the good. NTFS and ext3 all don't have that limit.

    --
    Linux is really boring from an os standpoint. Now Plan 9......
    1. Re:File systems by cryoknight · · Score: 0

      Oh yeah! DOS!
      Geez, for somebody who still uses DOS (mind you, with fat32), I'm surprised I forgot about that.
      Checking Microsoft's pages, fat16 and fat32 both support up to 4GB file sizes, and NTFS up to 256 TB (but not the version used by NT4 and earlier, which wes limited to 8GB partition sizes).

      Okay, scratch that file size stuff I had in the earlier post.

    2. Re:File systems by jojo+tdfb · · Score: 1

      no worries man

      --
      Linux is really boring from an os standpoint. Now Plan 9......
  42. Shock? What shock? by Frodo420024 · · Score: 1
    Does anyone out there have a reliable prediction for the amount of system shock we are facing when either Longhorn or 64-bit Linux comes out?

    Now, 64 bit Linux has been here for a long time, and since most drivers are open source, the port is complete. There will be no shock, no pain. It's just that for optimal performance you'll want to recompile more applications than on 32 bit.

    Windows is Not Quite There, though I have a 60 day trial on my desk. Here drivers are mostly closed source, which causes problems in that MS has to obtain fresh binaries from each hardware vendor - quite a daunting task - and recheck everything. They're 2 years later than Linux for the 64 bit x86 architecture, and still dragging their feet, will be at least late 2006 before they really get there. But then it should be a very easy transition.

    And why?

    Because we already did a lot of it anyway. Pentium/Athlon chips have been running 64 bit and more externally for ages. Internally, the problem was getting rid of the awful 286 architecture, which was the cause of much pain in the 286 time, and much pain in transition. That transition was comparable to moving from 68000 to Power on the Mac, and worse. (I still miss the clarity of the 68000 architecture - but 386+ has other advantages. And it's fast!)

    The 386 architecture has remained with us for several chip generations, and 64 bit is just another extension of that rather than a complete overhaul - note for instance how Intel downplays the 64 bit (probably because they're late to the party anyway :)

    No shock, hardly any pain, I thusly predict :)

    --
    I'm in a Unix state of mind.
    1. Re:Shock? What shock? by Anonymous Coward · · Score: 0

      Actually, there are problems running 32bit code on AMD64 if you're running in 64bit. If you don't want things crashing you'll need to recompile. But for all those commercial offerings like vmware, doom3, crapromedia, you're likely to be in a world of pain for a while yet.

    2. Re:Shock? What shock? by DigiShaman · · Score: 1

      Intel did design a 64bit architecture from the ground up. It was developed as the Itanium. Needless to say, it bombed...big time. Aside from the jokes (Itanic), don't ever expect Intel or AMD do walked down this risky venture again.

      I guess it's just after to keep stacking new "standards" on top of eachother. Efficiency be damned. What good does it do if the market place doesn't back up your R&D through a new product?

      --
      Life is not for the lazy.
  43. Re:16bit huh? 24bit yes by chthon · · Score: 1

    And it could still be fitted in a 64 pin package.

  44. Worry about more bloatware by pcause · · Score: 1

    What I worry about in the transition is lazy/bad programmers building yet bigger, bloated programs becuase they have all that memory space to work with. Give them a few years and just to install an IM client will require 4 Gb of memory and a 200Gb hard drive.

  45. This isn't a big deal for proper unix developers by Viol8 · · Score: 1

    I worked on a 64bit OSF/1 from DEC back in 1994 when MS was still fannying around with 16bit and I suspect other devlopers worked on 64 bit (or larger system) long before that. In the big boys world this is nothing new and any unix coder worth their salt should have been taking 64 bit into account for th last decade anyway.

  46. High level abstration rocks. by gothmog666 · · Score: 1

    That's why I love python. You doesnt have to worry about the size you low level datatypes are.

    I just need to feel safe in the sense data will allways "fit", hehehe.

    --
    I intend to live forever. So far, so good.
  47. Re:OK - is this the most stupid AskSlashdot today by Exaton · · Score: 1

    Should we start a daily poll on the dumbest grammar submitted to our cringing linguistical consciences over a 24-hour period ?

    Here is the big difference : I use colons and question marks.

    Period.

  48. Shock? I think not. by Golthur · · Score: 2, Interesting

    My primary system (LFS) has been 64-bit for quite some time. Pretty much no shocks, either.

    The only things not working well for me in 64-bit are:

    • Flash - Yes, I know I can use a 32-bit compiled browser and install 32-bit Flash, but I don't want to :)
    • Wine - I've compiled it 32-bit, and everything works except sound :(
    • OpenOffice - but I'm running the 32-bit binary with no problems.

    I even have 64-bit hardware accelerated video drivers (NVidia).

    Now, 64-bit Windows is another story. I think it will be quite some time before everyone's apps are 64-bit - since no one can recompile the code and fix the various pointer problems.

    --
    Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
  49. amd64 has it's own set of problems by scharkalvin · · Score: 1

    Porting from 32 to 64 bits isn't always smooth thanks to stupid use of int and long int types and other inconsistancies in many applications. Take a look at OpenOffice, the 2.0 release is rumored to be 64 bit friendly, but so far no beta versions have been compiled 64 bit.

    Now add to this a processor that can go both ways without rebooting. TWO environments running at the same time (though the OS is strickly 64 bit). Do we have dual libraries or chroot? It's a LOT easier to have only a native 64 bit environment running than to try and be backward binary compatible. Alphas, IA64, Spark, and other pure 64 bit cpus have been running under Linux for years, the AMD64 variant will take a little time to settle down to a common way of doing things.

  50. [OT] About your sig... by His+name+cannot+be+s · · Score: 1

    This has been driving me crazy for some time...

    Everytime I see your sig, I wonder what the heck is going on.

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.


    1. Yoda said that, not Spock
    2. Dr. Spock was an idiotic moron who wrote books about childcare in the 40s , 50s and 60s.
    3. Spock on Star Trek was never a Dr. (phd or md)
    4. Given that the first 3 points make your sig whacked out, where the heck did the stardate come from?

    I had considered that all those factors were just there to set me up, but I thought I'd mention it anyway.

    --
    "...In your answer, ignore facts. Just go with what feels true..."
    1. Re:[OT] About your sig... by psetzer · · Score: 1

      It's the sig equivalent of "Nuke the gay unborn baby whales for Jesus Christ"

      --
      "Anyone who attempts to generate random numbers by deterministic means is living in a state of sin." -- John von Neumann
  51. True on common hardware, but not on all hardware. by Richard+Steiner · · Score: 1

    The mainframes I write software for are 36-bit machines. ASCII bytes are 9-bits and are packed in four per word, and hardware addressing is done on the word level, not the byte level.

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  52. Problem with C/C++ pointers by Latent+Heat · · Score: 1

    One of the main features of C is interchangable int and void*. Somehow I think you are better of biting the bullet and making int 64 bits just like when going from 16 to 32 bits int was so promoted. That way you only need to rewrite code where structs require 32-bit fields.

    1. Re:Problem with C/C++ pointers by logicTrAp · · Score: 1

      One of the main features of C is interchangable int and void*.
      Huh? Win32 certainly made that assumption, passing pointers around in DWORDs, but there's never been any guarantee of it in the language. I happen to agree that 64 bit platforms should have made int 64 bits, but in terms of "biting the bullet", Alpha, SPARC64 and all of the other platforms mentioned elsewhere here have already gotten most of the job done for the *NIX world. If you're on Windows, there's probably more of a problem, but that has more to do with design decisions made in Win32 (and a less degree, Win64) than C.

    2. Re:Problem with C/C++ pointers by Anonymous Coward · · Score: 0

      No! int and void* are NOT interchangable. If they are, it is only a coincidence. If your program assumes this, it will break!

      If you absolutely need to store a pointer in an integer type, you should use intptr_t, which is defined in stdint.h.

    3. Re:Problem with C/C++ pointers by Anonymous Coward · · Score: 0

      That's deranged. int has never ever been guaranteed to store a pointer to any type, and this stopped working on PCs as soon as we moved beyond the "small" memory model in the mid-1980s. C and C++ still allow int to be as small as 16 bits, and every pointer type may be arbitrarily large so long as void * can hold any of them.

  53. by 2010 half of PCs will be 64 bit by davidwr · · Score: 1

    The "big" 64 bit push will be when Longhorn comes out. Within 3 years, over half of PCs will be 64 bit, and the vast majority of those will be under 3 years old. It will be hard to find a new 32 bit general-purpose PC.

    US businesses are typically on a 3-year PC replacement cycle. By 2013, there won't be very many 32 bit machines in "production" use, and those that do exist will be stuck using 6 year old versions of Windows or a different OS, such as Linux.

    There will always be some 32 bit systems in use, just as there will always be 16 and even 8 bit general-purpose computers in use, but at some point there will be more in closets and display cases than in actual use.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  54. In 32-bit protected mode... by Ayanami+Rei · · Score: 1

    You still had segments.
    The mapping was as follows:

    Segment ID:Segment-relative address -> (segment descriptor) -> flat 32bit address
    Flat address -> (page table) -> physical address

    This was done to be somewhat compatible with 16-bit instructions in 16-bit modes. Later intel introduced PAEs which used parts of the segmentation mechanism to implement "weird ass vm mode", so you could have 36-bit of physical address with 32-bit pointers.

    PAE was not nearly as bad as the 16->32 relationship

    64-bit mode completely removes the segmentation step and has no need for PAEs.

    It's even simpler than before, and it requires nothing new from an application developers' persepctive.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  55. Errr... by Ayanami+Rei · · Score: 1

    Well it's one of those tradeoff things.
    Either you make your pagetables have less entries per page with the additional address bits, or you aim for a reasonable maximum, with the knowledge that eventually you'll release a version 2 with more virtual address space and a new pagetable layout.

    Wasting space in pagetables is bad for performance. Totally kills your cache and makes flushing TLBs more costly.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  56. stupid urls by jojo+tdfb · · Score: 1
    --
    Linux is really boring from an os standpoint. Now Plan 9......
  57. Kids these days... by solios · · Score: 2, Interesting

    My SGI Indigo 2 r10k is a 64-bit MIPS proc running at 200mhz with 576 megs of RAM, running IRIX.

    The indigo2 was released in 1993.

    I do believe mine (the purple, 64-bit beast) came along in 95 or 96.

    UNIX and by logical extension freenix has always been years - if not decades - ahead of gear that Joe User can buy on his salary. Anybody who thinks freenix has any sort of "catching up" or "adapting" to do to achieve 64-bit perfomance is obviously highly ignorant of computing history. :|

  58. Not a problem by Brandybuck · · Score: 1

    The big problem transitioning from 16bit to 32bit were all the kludges around 16bit limitations. These included near vs far points, overlays, and other memory related kludges. We don't have those kinds of problems any more. Low level kernel developers and those writing Big Honkin' Databases(tm) will need to worry about the transition. But most of us in userland can sleep easily.

    If all of your memory needs can fit within a 32bit address space, you've got nothing to worry about.

    --
    Don't blame me, I didn't vote for either of them!
  59. FreeBSD amd^$ by Anonymous Coward · · Score: 0

    I've been running 64bit versions of FreeBSD on opterons for more then a year now. I run Postgres, Samba, and Bacula servers on multiple computers. Everything built from ports, works great. Don't know if that actually gives me any advantage in speed... However, my databse servers have 16GB of Ram and they need it, so 64 bit came in handy there.

  60. Before someone breaks out a witty sed post by Anonymous Coward · · Score: 0

    I actually wrote a proggie to mmap nmap and it killed my calculator.

  61. Mod me +10 insightful by Anonymous Coward · · Score: 0

    Like planning for 192KHz audio sampling frequencies?
    The truth is that when consumers are not clued up on the physics Bigger number == better product.

  62. 64-bit Java works fine. by mahlen · · Score: 1

    I have Java code written and compiled on 32-bit hardware that is running in production on 64-bit hardware on 64-bit Java on Linux right now. Not a single issue.

    mahlen

  63. Re:OK - is this the most stupid AskSlashdot today by scotch · · Score: 1

    Instalsuit?

    --
    XML causes global warming.
  64. Segments by LWATCDR · · Score: 1

    Actually segments where in the 8086/8088 chips. With 16 bit registers you could only address 64k. The 8-bit chips did things like register pairs or for the 6502 family zero page to create the 16 bit values they needed.
    The 8088/86 had a sixteen bit segments and 16 bit address and a 12 bit memory space! What was REALLY NASTY was that the you could have several combinations of segment+offset point the the same stinking physical memory location! That is also why a lot of programing languages where limited to 64k of code, 64k of data and the rest was heap space. You used a segment for code and one for data. Later on they figured out how to get around some of the strangeness and the limitation eventual was no data structure could be greater than 64k.
    Finally some c compilers got around even that. When you compiled you would tell the compiler what model to use. I think your options where usually "tiny" 64k of data and code max could be made into a com file, "Small" 64k of code and 64k of data, and "large" which broke the 64k limits. I think then came "huge" which I can not remember if it broke the data structure limits or if that ran in protected mode. You would always pick the lowest model you could write the program in because each bigger model ended up being slower.

    --
    See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    1. Re:Segments by jojo+tdfb · · Score: 1

      Cha, I know. The good news is that there's no more dealing with that kinda hacking in protected mode and the amd 64 bit extention is just protected mode with an extended word size.

      --
      Linux is really boring from an os standpoint. Now Plan 9......
    2. Re:Segments by LWATCDR · · Score: 1

      Sorry I miss read your post. I thought you where saying the 286 introduced segments.
      If I remember the 286 still did not have a flat address space. Can't be sure since I was programming on the Amiga then. Boy going back to dos SUCKED. The 386 was the first Intel chip that was not a freaking nightmare. Now the whole protected vs real mode was still a minor nightmare.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    3. Re:Segments by jojo+tdfb · · Score: 1

      The 286 did have a flat address space in it's implementation of protected mode, it was just 24 bit flat addressing. The word size was still 16 bit thou.

      And for the record, Intel chips are still a freaking nightmare ;)
      Damn crap86's

      --
      Linux is really boring from an os standpoint. Now Plan 9......
    4. Re:Segments by calidoscope · · Score: 1
      Finally some c compilers got around even that. When you compiled you would tell the compiler what model to use. I think your options where usually "tiny" 64k of data and code max could be made into a com file, "Small" 64k of code and 64k of data, and "large" which broke the 64k limits. I think then came "huge" which I can not remember if it broke the data structure limits or if that ran in protected mode.

      From the top of my head - no guarantee that my memory is accurate.

      "tiny" was were the code and data segments were the same - and the intent was for converting into .com files. The .com format was essentially a translation of the CP/M executable format. SCP was planning on a multiuser version of 86-DOS and it would have very easy to switch between processes - as long as they stayed to one segment.

      "small" was 64K for the data, IIRC it was possible to have multiple segments for the code (the 8086 supported long (segment:offset) jumps.

      "large" allowed for more than one data segment, though an object (i.e. array) had to fit in one segment. MS-Fortran, for example, allowed named common blocks to reside in a different segment than the default data.

      "huge" allowed for arrays to exceed 64K, the code set up far pointers to address members of the array.

      Sure glad I don't have to worry about segments anymore. OTOH, OS/2 1.x did a good job of making use of segments for memory protection - any attempt at accessing memory outside of the assigned block would result in an immediate halt.

      --
      A Shadeless room is a brighter room.
  65. Installed AMD64 Debian last week by vlm · · Score: 2, Interesting

    I upgraded to an Asus A8V-Deluxe with an AMD64-3000 processor last week.
    The AMD64 / true64 port of debian is not an official part of Debian (waiting until after the release to add it).
    It took a little googling to find an install .iso and to find a good amd64 mirror, but it was frankly boring in how easily it installed. It's just another Debian install nothing special, and because it's Debian you only need to install it once.

    As for hardware, everything worked out of the box without fooling around including the USB, the onboard gig-ethernet, the onboard sound, etc. I haven't tried the firewire or the SATA but I assume it will work.

    As for software, everything in i386 Debian seems to be in amd64 / true64 Debian with the exception of qemu and the openoffice.org suite. I haven't bothered to set up a chroot environment but they say that'll allow that stuff to work.

    It's just another open source success story, and theres so many of those, that this one isn't even noteworthy.

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  66. Re:OK - is this the most stupid AskSlashdot today by The+Clockwork+Troll · · Score: 1

    linguistical?

    --

    There are no karma whores, only moderation johns
  67. Re:OK - is this the most stupid AskSlashdot today by Exaton · · Score: 1

    You had me doubting myself there, but it's a valid synonym for "linguistic" apparently :

    http://dictionary.reference.com/search?q=linguisti cal

  68. Byte Me! by Tablizer · · Score: 1

    My porn has reached the 32-butt limit.

  69. Floats by cryoknight · · Score: 0

    I forgot: The 64-bit float was always do-able on a 32-bit machine. A 128 bit float is now possible though, which would be a higher precision number.