Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 07 Jun 2011 08:08:56 -0500 Date: Tue, 07 Jun 2011 06:08:56 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Managed-Code Bloat References: <4dedd5fb$0$49038$e4fe514c@news.xs4all.nl> In-Reply-To: <4dedd5fb$0$49038$e4fe514c@news.xs4all.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <986dnU4LdL90v3PQnZ2dnUVZ_q6dnZ2d@earthlink.com> Lines: 24 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.199.66 X-Trace: sv3-ynVHiWU4tiEgVAWl58puBxl+VRPMnag+u7zDgV1CBisyQuF8giaGDeAQXq94OZvttRCtgopNE+xF394!h176oXvh/YFE3C+lZ4UYH4yrB4F68hHtBQx/2Ot4v5vgXzq0Jnu46s4qyymN+d+ajFlxF/FsW124!QwatQeFoPEKfT/EJmMGl1XWzrsapGoi6pa1ny2rYgh/zAw== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2322 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5067 On 6/7/2011 12:40 AM, Silvio wrote: ... > Soon I discovered that the portion of effort needed for correct explicit > memory management (and tracing bugs caused by the lack thereof) in C/C++ > was so large that development times dropped drastically by using Java. > Very soon I was convinced that only a very small part of the systems I > wrote actually justified opting for C/C++. ... I started using Java for similar reasons. I used to write performance models simulating very complicated multiprocessor servers. A cache miss could produce several messages causing actions in different components of the processor-memory interconnect. The cache miss was completed when several conditions had been all been met, and the order depended on the states of various queues. I wrote one in C++. It worked, and did not leak memory even when run for several days. The problem was that I had spent significant effort to achieve that result. The next time I used Java, and got the same effect for zero programming effort. Patricia