From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,826bfb7dedfaccf5 X-Google-Attributes: gid1164f8,public From: "Tom Thornhill" Subject: Re: The Massively Muddled Alpha Message Date: 1998/01/28 Message-ID: <01bd2be7$63a2b810$725e9082@mniw0055> X-Deja-AN: 319963292 References: <1998Jan19.022852.1@eisner> <34C39A15.BD464603@uvo.dec.com> <87btx8l0fw.fsf@ix.netcom.com> <34C4B368.1A38@iosat.com> <34C639C4.DAA796E2@merlin.arc.nasa.gov> <6a6f4f$ujk$1@decius.ultra.net> <01bd2a3e$5e21e320$725e9082@mniw0055> <6aikga$u8v$1@decius.ultra.net> <01bd2afd$58a5df40$725e9082@mniw0055> <6akrfc$le4$1@decius.ultra.net> <01bd2b40$6d83afd0$725e9082@mniw0055> <6alfj7$537$1@decius.ultra.net> Organization: Philips Medical Systems Best Newsgroups: comp.sys.dec John Saunders wrote in article <6alfj7$537$1@decius.ultra.net>... > I'm sorry, I'm really not getting through. Let me try again. > > You suggested shipping a single, P-code image for both Alpha and > Intel. I asked you what problem that solved. You said: > > 1) You ship one image, it runs anywhere. Thus people buy Alphas > because they're quicker for the same price, and run all the Win32 apps > they have natively. Choosing a CPU would be as painless as choosing a > video card. > > You seem to be mixing several issues. One is the number of binaries > that get shipped. Another is the number of platforms supported. You > seem to be proposing P-code because it seems to solve both problems > (only one binary, all platforms automatically supported). This is a > great idea. > > First, please notice that media is not so expensive that we need to > save space by reducing th number of binaries shipped. If I really want > to ship a single piece of media, I'll ship a CD. If I run over a > single CD, I'll ship two and try to keep all the binaries for a > particular platform on a single CD. True - I'm thinking more of the cost of equipping developers > > Also, I could be mistaken, but I don't think there are many vendors > who ship P-code versions of their products. I also wonder how many > operating systems ship a P-code interpreter? NB I'm thinking of a P-Code compiler - ie you translate the code to native before you execute it. But admittedly that doesn't alter your point. At the last count none. Reasons - OS/2, Win95, Dos - Not portable, so no point. Unix - Minor API differences would need to be fixed first. Windows NT - don't know > > Note that the same arguments seem to apply to shipping Java bytecode. This is where we differ I think. > > I don't yet believe in Java. Ask me in ten years or so. Right now, I'm > horrified at the prospect of writing code in Java which will run on > platforms I've never heard of. (The customer calls and I say, "You're > running on a WHAT? What company makes that? Could you spell that? What > do you MEAN you can't spell it using ISO-Latin-1? WHAT country are > they in? Are you sure that's on THIS planet???") This dependant on how good the virtual machine - how well it hides the underlying platform details. This is an issue whether you have a C virtual machine, a P code machine ( whether implemented as an interpreter or compiler ), or native binaries. I suppose that I'm just more confidant of the practicality of this ( especially since Java ). > > > So, buy a few more machines? So we get back to the cost issue again. > > > >I've used cross compilers to develop for embedded targets for ages. > > > Embedded targets don't generally support high-quality development > environments. Thus the need for cross-compilers. It's a matter of > necessity, not of preference. Sometimes it's a matter of preference too - you have one machine to build on, but many to test. On embedded systems testing is actually more of an issue since there isn't much of a virtual machine - you just hit the hardware direct. > > > >I admit that the developer needs to test the binary on an Alpha > >before it goes off to QA. > > > Then we almost agree. I want the developer doing unit tests and point > tests on all platforms before it goes to QA. I don't want him waiting > until the very end before even BUILDING on all target platforms! > > To be specific: You finish a class or testable portion of a class: > test it all around. You finish fixing a bug: test it on all platforms. > Don't wait until there are several days of work to test and you're > ready to send it to QA before you find that you caused a problem days > ago but you're no longer sure which of your changes caused it because > you've made so many changes in the interim. I'm thinking of doing this test at a slightly higher level - at COM component, DLL, EXE and so on. To gain much from this you need to split the product into finer grained components, but that has other benefits. Then you test each bit as it gets 'released' to other developers, ie whenever it changes, on each platform. > >Low market share -> Companies don't see the need to buy development > >machines -> Not much software -> Low market share. > > > I agree with that, but let's say "Low market share -> companies don't > feel a demand for their software on Alpha -> companies don't see the > need to buy development machines ..." Ok. > > >Now if you're model is even slightly more expensive than mine, > >and I'm sure it is, then the lack of cross compilers is > >damaging to Alpha. > > > > > No. As I've been trying to get across to you, you cannot develop > high-quality software for a platform without sufficient resources to > build, test and support that platform. Cross-compilers or even P-code > do not address this problem at all. Therefore, lack of cross compilers > is not damaging to Alpha. > > If you buy into the myth that interpreted binaries implies no need for > frequent, incremental testing, then I suppose you feel you would need > very few Alphas in order to sell an Alpha product, given > cross-compiler or P-code technology. However, I believe this is a > myth, plain and simple. By the time you have what I consider to be an > adequate number of machines for incremental testing, you'd just as > well do incremental builds on those machines as well. Then, the ratio > of off-platform machines to developers can approach 1:1. After all, > how much is your developer's time worth to you? Do you really want > your developers queuing for test machines? As I've said I think you can do most testing at a component level, so you don't need many test machines. > > > > >By de-emphasized I mean the lack of native Microsoft apps. If > >it were as important as x86 to Microsoft you'd get simultaneous > >releases on x86 and Alpha which you don't at the moment. > > > > > Does Microsoft like money? Is the Pope catholic. > Do you think they would "de-emphasize" > Alpha if they thought they could make money by having native versions > of their products? They decided to make native versions of Word 97 and No. > Excel 97. Do you think they decided to leave a lot of money on the > table by failing to create a native Powerpoint 97? Exactly - because the current model where you build on the target means that it costs more to equip for a platform. > > More likely, Microsoft is just like any other software vendor. > Remember? Low market share->low demand... In this case, little demand > for native Powerpoint means little reason to make a native Powerpoint. Yes. > > >Consider the following (IMHO) history of Risc support on NT. > >Much of this is from Showstopper but I don't think it's > >entirely inaccurate. > > > > > >4) PowerPC looks cool + high volume. PowerPC support added. > > > Also IBM was supporting it too, right? I think the hype behind it convinced them that it would be a commodity PC architecture. IBM still support Power, but not PowerPC, since Apple and Microsoft have backed away from it. > > This should be substantiated or ignored. Who said they were having > trouble supporting multiple platforms? Also, Microsoft didn't drop > MIPS until the ACE consortium did. No ACE = no MIPS vendors except NCR > = why support MIPS. Similarly with PowerPC. Didn't IBM decide not to > sell NT on PowerPC before MS dropped support? I thought the Microsoft decision came earlier, but I could be wrong. > > >7) Alpha chip looks cool + high volume. Alpha support added. > > > > Wrong. Alpha support shipped a few months after Windows NT 3.1 shipped > on x86. Once again I could be wrong about the timing of the decisions. > > >8) Microsoft drops support for two platforms. Still not all of > >Microsoft apps run native. Alpha has small market share. > > > >9) Merced look cool, looks like it will be high volume. > >Merced support announced for NT. > > > Merced looks like x86++. No one who supports x86 has any choice but to > support Merced. If they don't support Merced, do you think they'll > support Pentium III? No, because there won't be one. >From what I've heard ( see comp.arch on Dejanews, Hot Chips symposium ), Merced will be a VLIW-like extension to Risc (HP-PA?) - ie a load store architure but with cunning information on scheduling embedded in the instructions. The x86 compatibility is only for legacy apps, NT on Merced will run native. You'll need to recompile to get performance better than x86 chips. As to Pentium III's, Intel have already said that they'll continue to develop x86 stuff for a few generations past Merced ( which will initially be expensive, and if previous first generation Intel designs are anything to judge by no terribly impressive performance wise ). > > >10) Guess what happens next, given that Microsoft don't seem > >to like supporting more than one non x86 platform. > > > By the time we get here, your argument has faltered. > > My experience with supporting multiple platforms and multiple > operating systems seems to completely contradict yours. Your argument > for cross-compilers seems invalid to me, as you assume similar quality > between software that is "only tested" on Alpha and software which is > frequently tested on Alpha. If the quality were the same, then of > course you could reduce the frequency of the tests. Perhaps we could > even reduce the frequency of tests to the point that developers only > test (and debug) their Alpha code just before passing it to QA. Then > it might make sense to use a cross-compiler (not P-code) since there > would be no machines on which to compile natively. I think that like Java, developers could learn to develop code that's really portable, ie that the only difference between running on x86 and Alpha is speed. Basically they could develop a gut feeling for which bits of code are likely to be non portable. This lessens the frequency of testing on Alpha. > Of course, I'll have a different problem: convincing management that > we need more machines. This will be especially difficult if people > continue to buy into the mindset that little testing is necessary. > > > Let's just agree to disagree, and let's check back in ten years to see > who was right! To be honest I have absolutely no idea about the next 10 years. My gut feeling is that Java won't take off, Alpha will disappear, and the PC world will gradually make the transition from x86 to Merced. No-one else will be able to afford to develop a competing architecture. Intel rule the world. Alternatively, Microsoft will agree on a ANDF style standard for distributing applications, that can be compiled to native on install. Then we should see Win32 implementations from Microsoft and others running on a wide variety of hardware, from PC's to consumer stuff. Intel still rule the PC world. Or Merced flops disasterously, Intel goes into shock, someone else designs a new processor, NT and various Unixes move to it. Someone else rules the world. Java takes off, the point becomes moot. But yeah, we should agree to differ. My point is that you have a great chip like Alpha, which almost no one I know is supporting, despite the fact the decent OS's are portable, and so is most code and I'm trying to work out a reason why, and also to suggest some easy way for DEC ( Compaq? ) to change this. It's in no ones interest that Intel have such a vast market share. Tom. -- ** Please email me a copy of anything you post *** Mailto: tthornhi@best.ms.philips.com-nospam ( remove the -nospam before replying ) Talkto: Tom Thornhill, Philips Medical Systems Nederland BV Tel +31 4027 64080 (Work), +31 499 338211 (Hotel - after 5pm UK time)