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: "John Saunders" Subject: Re: The Massively Muddled Alpha Message Date: 1998/01/27 Message-ID: <6alfj7$537$1@decius.ultra.net> X-Deja-AN: 319761230 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> X-Ultra-Time: 27 Jan 1998 20:20:55 GMT X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: abuse@ultra.net Organization: UltraNet Communications, Inc. http://www.ultranet.com/ Newsgroups: comp.sys.dec Tom Thornhill wrote in message <01bd2b40$6d83afd0$725e9082@mniw0055>... >John Saunders wrote in article <6akrfc$le4$1@decius.ultra.net>... >> >> FX!32 didn't exist when Windows NT 3.1 was introduced. >> > >> >No, I meant distributing the applications in P code as opposed >> >to native binaries. Something like Java but designed to be compiled >> >to native rather than interpreted. That way you'd distribute one >> >Win32 'binary' that would work on any Win32 platform. >> >> I'm sorry I misunderstood you. P-code makes even less sense. What >> problem does it solve? > >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. > 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. 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? There are undoubtedly reasons for these things. I don't pretend to know all of them. One of the obvious reasons is performance. Another is the fact that you STILL need to test the resultant code on all the platforms you're going to sell it on. You STILL need to support the code on all the platforms you're going to sell it on. P-code saves you nothing in this regard. Compared to the cost of testing and support, the cost of a development environment for the target platform is miniscule. And you have to debug any platform-specific bugs on the target platform anyway! Note that the same arguments seem to apply to shipping Java bytecode. >You could almost get to this stage with cross compilers if >you could guarrantee source code compatibility between >platforms, but as you point out you'd probably need to test release >builds on each platform. From what I've read the Alpha and >x86 NT platforms are pretty much identical except for >aligment issues and Fx32 hooks, so you could probably avoid testing >most builds on Alpha. > I consider it irresponsible to not test all baselevel builds on all platforms. Assume you have fixed all the logic bugs on your primary (x86) platform. This leaves platform-specific bugs. These could be bugs in your code, in the compiler, in the runtime libraries or in the operating system. Let's say you do no testing of baselevel builds. If the bug rate is sufficiently low, you're all set. But what if you have, say, one bug per baselevel? What if you have, say, ten baselevel builds per release? This means that, just when you're ready to release, once you've succeeded testing on your x86 platform, you'll now suddenly find ten bugs! And you'll have to fix them all at a time when you'd prefer to be shipping! Most likely, there will be more platform-specific bugs or problems introduced than you will find in your testing. So you're leaving it up to your customers to find them for you. But that's ok. You've got those test machines available, and you'll quickly fix that bug and build and ship a patched version. Now, did you test that patch on all platforms? No? Oh, that's a pity... >> Is it really that big a problem to ship two binaries? Have you, >> personally had this problem, or do you know someone else who has? I've >> had to ship multiple binaries per component before, and it's just not >> that big a deal. > >Yes, I think it is. Would Java be as credible if you had to ship a different >binary for all supported platforms? > 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???") >> if >> >you have a cross compiler you could do almost all of the development >> >on x86, occassuionally checking if the Alpha version is Ok. ). If >> >you can trust the source compatibility, you don't need to own an >> >Alpha, just have time booked on one for testing. Most companies the >> >size of Philips have an Alpha or two somewhere, but not enough to >> >hand them out to developers. If I could build my code here an ftp the >> >binaries across the site for testing, I'd probably try it. >> >> >> I have been focusing my remarks on software vendors: companies which >> create software for the purpose of selling it and making a profit. >> >> 1) I think most companies would have their sources and/or source >> control system on a server. You don't have to move your project >> anywhere to get it to build on the Alpha boxes, just point your Alpha >> workstation at the sources the same way you would your x86 >> workstation. > >Ok - in this situation it's less of a problem. > >However if you want to develop in between global builds then >it's still more convenient to be able to do this locally. I mean you should do your little local builds wherever you like, but if you don't want errors to pile up, you'll frequently build and point-test on all platforms. >> >> 2) I think most would give someone physical access to the machines. If >> nothing else, the QA people probably want to be able to reconfigure >> machines for different test scenarios. Maybe in your situation the >> developers aren't physically close to QA? > >Most companies I've worked at that have a separate QA dept would be >displeased at someone running builds there. So, buy a few more machines? >> >> 3) If you're supporting multiple platforms - whether different CPUs or >> just different OS versions, then you really had better do your "real" >> builds on all of the platforms in order to avoid nasty surprises. I > >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. >> agree that each developer does not need all platforms on his desktop, >> and does not need to build all platforms every time he changes a line >> of code. But before he checks his sources in, I hope he's built and >> tested on all relevant platforms. Otherwise, QA is testing a large > >Surely having the developer build on his local PC solves this since >there isn't a problem of builds failing on your QA Alpha. > >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. >> 4) If you can't afford enough machines to build and test on, then >> maybe you can't afford to support a new platform. > >This is the point. > >> >> >It's all very well to say that any company that wants to support >> >Alpha will do it, but most companies could'nt afford to even if >> >they wanted to. >> >> Again, I'm talking about serious companies here. Perhaps I should work >> out the math, but offhand, it seems to me that there is a large class >> of companies who could expect to earn more money on their Alpha >> version than it would cost to equip their developers to develop it. > >But this is the reason Alpha has such a low market share. > >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 ..." >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? >> >> > I suspect this sort of argument happened at Microsoft >> >when NT was released, and this resulted in two Risc platforms being >> >dropped and the remaining one appears to have been de-emphasized. >> >> >> De-emphasized? By whom? When was it ever "emphasized"? And you might >> want to take a look at some of the recent press. Among other things, I >> think I just read about FX!32 being added to NT 5.0 integrated into >> the system... > >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? 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 Excel 97. Do you think they decided to leave a lot of money on the table by failing to create a native Powerpoint 97? 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. >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. > >1) NT was originally designed for Risc systems, tested on I860, >and ported to x86 later. Microsoft make a big fuss about portability. >I860 looks like it won't end up as a volume PC CPU. I860 dropped. > >2) Mips chip looks cool + possibly high volume. Mips support added. > >3) Dave Cutler personally makes sure the Risc and x86 versions stay synched. >Lots of people in Microsoft management suggest concentrating on >x86 support at the expense of Mips. Dave disagrees. >NT ships pretty much simultaneously on both platforms. Ace consortium >is the Next Big Thing > >4) PowerPC looks cool + high volume. PowerPC support added. Also IBM was supporting it too, right? >5) Ace consortium concerned that people don't seem to be >rushing to develop Mips native apps. Ace consortium drops Mips. > >6) Microsoft find it hard to support several platforms for products >like Office 9x, ActiveMovie etc. Management insided Microsoft >thinks Mips and PowerPc have low market share, not worth >releasing Microsoft apps for, both get dropped. 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? >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. >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. >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. >> >> >I still maintain that there is a practical difference between needing >> >and needing one for each developer. >> >> >> Again, I hope I never implied each developer needs one at all times. > >No, but you need more of them if you want to use them to build >than if you want to just use them for testing. > >PS - I think my argument for cross compilers is pretty >water tight, but you obviously don't. I still don't >really see why. At the risk of repetition my argument >can be summed up as saying that you need to buy less >Alphas if you can do all you're builds on x86. > >I also suspect that in this case you'd quickly develop >an instinct for deciding if the last change you made >merits a test on Alpha, or just a test on x86. In an >ideal world you'd need access to one just before you >actually release the code to the outside world. > >Also for the record I think Alpha is a good chip which >could have succeeded if it had been cheaper for >software houses to support it. 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. If the quality is not the same then you will have a problem. 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! Good Luck, John Saunders jws@jws.ultranet.com