home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:20030 comp.lang.c++:19696
- Path: sparky!uunet!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!mharriso
- From: mharriso@digi.lonestar.org (Mark Harrison)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ Correctness (was: Re: C/C++ Speed)
- Message-ID: <1993Jan21.171417.4775@digi.lonestar.org>
- Date: 21 Jan 93 17:14:17 GMT
- References: <1993Jan14.015547.2259@informix.com> <1993Jan18.153627.15707@digi.lonestar.org> <1993Jan19.005020.12507@informix.com>
- Organization: DSC Communications Corp, Plano, TX
- Lines: 33
-
- In article <1993Jan19.005020.12507@informix.com> cshaver@informix.com (Craig Shaver) writes:
-
- >What C++ standard library?
-
- The "C++ Standard Libraries" from USL. It's the one with iostreams,
- and comes with C++ compilers from many vendors..
-
- >What excellent coroutine library?
-
- The one written by B. Stroustrop and Jonathan Shopiro. It's very likely
- that you have this at your site. Look in your compiler documentation for
- a section entitled "A Set of C++ Classes for Co-routine Style Programming."
-
- >1. This sounds like most of the gain came from elimination of the
- > UNIX IPC based approach in favor of a threaded single process.
-
- Exactly. The C++ library provided a method of multi-threading the
- application that was portable across the target platforms. They didn't
- have that in their C environment.
-
- "Remember that much programming can be simply and clearly done using
- only primitive types, data structures, plain functions, and a few
- classes from a standard library" -- B. Stroustrup, 1985.
-
- >I suspect the same result could be had using straight C. The real gain
- >comes from code reuse to simplify the problem and expedite the solution.
-
- And this is one of the big wins of C++. It facilitates library building
- and code reuse.
-
- Anyways, I though the prosecution/defense had rested. :-)
- --
- Mark Harrison, mharriso@dsccc.com
-