From 3649115433892502297 X-Google-Thread: f78e5,f292bdd67daeb7bb X-Google-Attributes: gidf78e5,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news.alt.net!comp-std-cpp-robomod!not-for-mail From: "Bo Persson" Newsgroups: comp.std.c++ Subject: Re: C++ Embraces Procedural Programming Over OO Programming [OT] Date: Thu, 30 Nov 2006 12:36:11 CST Organization: Altopia Corp. - Usenet Access - www.altopia.com Lines: 75 Approved: Fergus Henderson , moderator of comp.std.c++ Message-ID: <4t8m4bF12rhp3U1@mid.individual.net> References: <1164724788.102215.311700@h54g2000cwb.googlegroups.com> <1164799891.346141.92780@16g2000cwy.googlegroups.com> <4t6cfjF12g0a2U1@mid.individual.net> <1164841799.669744.22800@14g2000cws.googlegroups.com> Return-Path: X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Original-To: std-c++@mailman.ucar.edu Delivered-To: std-c++@mailman.ucar.edu X-Orig-X-Trace: individual.net H4WXgne2FsV8+FYZ6csCHA9LKfVsBwN+uNvS5GdGZ6lrmKUj1V X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original X-Originating-IP: 130.133.1.2 X-Virus-Scanned: amavisd-new at ucar.edu X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au Xref: g2news2.google.com comp.std.c++:4851 ===================================== MODERATOR'S COMMENT: For what it's worth, I can't think of anything more on-topic than a discussion of whether certain kinds of requirements in the standard would make the standard unimplementable on important platforms. ------=_Part_49201_5158480.1164911750310 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline approve
comment
For what it's worth, I can't think of anything more on-topic than a discussion of whether certain kinds of requirements in the standard would make the standard unimplementable on important platforms.
------=_Part_49201_5158480.1164911750310-- ===================================== END OF MODERATOR'S COMMENT kuyper@wizard.net wrote: > "Bo Persson" wrote: >> kwikius wrote: >>> >>> Various times I have heard it is hard to write the spec for such a >>> virtual platform, but nevertheless they exist for e.g Java and . >>> Net. Sure its hard, but it makes life much simpler for the user >>> and library developer. >>> >> >> But it sometimes makes it incredibly hard and expensive for those >> that happen not to exactly fit the spec. >> >> I work on big iron machines like this >> >> http://www-03.ibm.com/systems/z/hardware/ >> >> where it is necessary to add this kind of hardware extension to >> run Java properly >> >> http://www-03.ibm.com/systems/z/zaap/ >> >> >> I don't see that some advantage for a library developer is really >> worth the $$$ invested here. I also hope that C++ never ever ends >> up there! > > I'm curious - what features of the Java Virtual Machine make it > difficult to emulate efficiently on that platform, without that > hardware extension? A quick look around those web sites didn't > answer that question for me. > Hope this is still on topic :-) I don't know really where the problems occur, but it seems like what could be a single machine instruction in "implementation defined" C++, takes several machine instructions in the Java VM. Running a webserver, this happens often enough that 1 zAPP can do the work of 2-3 general purpose CPUs. Without the Java hardware, we have seen cases where WebSphere took as much as 50% of the total capacity, leaving the rest to DB2 and the several hundred other applications running on the machine. Bo Persson --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]