From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd705,c2d207ce659e8f89 X-Google-Attributes: gidfd705,public X-Google-Thread: 1164f8,33dd5febb8fc0fd0 X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,cf27a69d65b9f023 X-Google-Attributes: gid102b75,public X-Google-Thread: 105d97,cf27a69d65b9f023 X-Google-Attributes: gid105d97,public X-Google-Thread: 110292,33dd5febb8fc0fd0 X-Google-Attributes: gid110292,public From: "Scott Gilbert" Subject: Re: Why people accept bad computers Date: 1997/05/29 Message-ID: <01bc6bcb$af437ca0$5989d8cd@atlantis>#1/1 X-Deja-AN: 244608991 References: <5lbm3p$qgn$1@nnrp1.crl.com> <5m9oen$26j$1@newsserver.dircon.co.uk> <5m9vf9$ilu@dfw-ixnews9.ix.netco <01bc694f$7dbb96f0$9e89d8cd@atlantis> <5mi8kh$ei2$1@sue.cc.uregina.ca> Organization: Infinite Pictures Newsgroups: comp.sys.dec,comp.sys.intel,comp.arch,sci.electronics,alt.folklore.computers John Bayko wrote > > Are you saying you wouldn't want to expand your customer base by > 10% (or possibly a more, since that figure is a little exaggerated in > some ways) for (almost) free? > Possibly, but it's not free. It's not even almost free. > > There's nothing stopping a developer from coding speed critical > parts of a Java application to run natively - heck, that's how the AWT > interfaces with the native OS GUI (ack, three TLAs in a single > sentence!). In face, you said you're doing that now - mixing assembly > with C++. > I write graphics engines (libraries) to be used in applications, not (usually) the applications themselves. It seems kind of screwy to write the fast code in C++/Asm, and then put a Java wrapper around it. Especially since this is only "portable" to as many platforms as I have compiled the native code. Now maybe the applications and tools people at my company should do this... but there is still the argument that you only need the tools for the platforms where the library runs. > > Remember, Merced/IA-64 is coming. It may be big, or it may be a > bust. Either way, the only way to win no matter which happens is to > pay attention to portability in a big way. > In the two years I've been doing this, I've rewritten (from scratch) the whole library several times. Two or three times because I've decided on a better design, and now because I want to make use of the MMX stuff for what it's worth. When the P7 comes out, I'll probably rewrite it again to take advantage of whatever I can on that platform. As long as there is one company holding a significant majority of the market, the company I work for and I will probably continue to cater to that majority. I did see something involving Java I thought was pretty cool though. A teacher at the UofA (one of my Profs from a couple years ago) is planning to write a set of high speed compilers for Java that compile native to whatever Unix platforms the user is running on. I think the idea is to send the source code instead of the byte code, and as long as the compiler can process the stream faster than the network connection can supply it, the user would never need to know. This is a pretty cool idea as you get the best of both worlds - portability and native compilation for a fast executable. This only works for apps where the source code is public of course.