Newsgroups: comp.lang.c++.moderated
From: ap...@student.open.ac.uk
Date: Tue, 30 Oct 2007 06:41:41 CST
Local: Tues, Oct 30 2007 2:41 pm
Subject: Re: C++ Frequently Questioned Answers
On 26 Oct, 08:27, Yossi Kreinin <yossi.krei...@gmail.com> wrote:
> The C++ FQA Lite is available here:http://yosefk.com/c++fqa Yes it is. In order to make it easier to navigate could you put fwd > It's based on the comp.lang.c++ FAQ -http://parashift.com/c++-faq-lite > While certainly not off-topic for comp.lang.c++[.moderated], the FQA > The FQA is fairly large (about half the size of the FAQ). and backward arrows on each page please? A top button would be useful as well. I realise that alot of work has gone into this so please don't take Would you be ammenable to suggestions from this NG that would tone -Andrew Marlow -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: Yossi Kreinin <yossi.krei...@gmail.com>
Date: Tue, 30 Oct 2007 13:51:17 CST
Local: Tues, Oct 30 2007 9:51 pm
Subject: Re: C++ Frequently Questioned Answers
On Oct 30, 2:41 pm, ap...@student.open.ac.uk wrote:
> I think many of the criticisms are valid but are About "aggression": http://yosefk.com/c++fqa/faq.html#faq-6 > phrased in an aggressive way. It makes it appear the people > responsible for C++ are stupid or irresponsible, which IMO is not the > case. As the disclaimers section states, I didn't want to personally offend anybody. > Would you be ammenable to suggestions from this NG that would tone appear stupid or make any derogatory statements (maybe e-mail is a better way to talk about the details). I will probably not remove the claims about how marketing forces shaped C++ (which I think are the fiercely phrased ones), because of quotes like this (http:// www.research.att.com/~bs/dne.html): "Within C++, there is a much smaller and cleaner language struggling .../and/ of course because of quotes like this (http:// "the chance of success was affected by marketing clout, which I did P.S. I'll try to answer the rest of the meaningful criticism in the http://yosefk.com/c++fqa/web-vs-fqa.html If you want to get a reply from me, e-mail is the most effective way: -- Yossi -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: LR <lr...@superlink.net>
Date: Tue, 30 Oct 2007 19:58:23 CST
Local: Wed, Oct 31 2007 3:58 am
Subject: Re: C++ Frequently Questioned Answers
I haven't read the whole thing, but what I have read seems very interesting.
But I'm not quite sure that I understand the point you're trying to make. The FQA contains at least one FAQ (in the literal sense, rather than the Could this be what you're driving at? If so, what do you have in mind? LR -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: Yossi Kreinin <yossi.krei...@gmail.com>
Date: Thu, 1 Nov 2007 12:36:59 CST
Local: Thurs, Nov 1 2007 8:36 pm
Subject: Re: C++ Frequently Questioned Answers
On Oct 31, 3:58 am, LR <lr...@superlink.net> wrote:
> "How about trying another programming language?" This is exactly what I'm driving at. The language choice depends on > Could this be what you're driving at? If so, what do you have in mind? your application domain, organizational constraints and personal taste, and discussing this seems off-topic here. A partial list of languages I refer to when I speak about useful things C++ doesn't have (or problematic things other languages haven't) is here: http://yosefk.com/c++fqa/disclaimers.html One particular thing that AFAIK applies almost always: low-level work -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: ap...@student.open.ac.uk
Date: Tue, 6 Nov 2007 13:44:37 CST
Local: Tues, Nov 6 2007 9:44 pm
Subject: Re: C++ Frequently Questioned Answers
On 1 Nov, 18:36, Yossi Kreinin <yossi.krei...@gmail.com> wrote:
> One particular thing that AFAIK applies almost always: low-level work Hmm, this is interesting. I recently did some work on a java project > is better done in C than C++. I speak from lots of experience (but it > doesn't matter - what matters is whether my points in the FQA convince > you or not). By "low-level", I mean "when your resources are really > scarce" (compared to the "size" of the problem). where I had to interface to a third-party library written in C. I used SWIG to create a JNI wrapper which has enabled the project to be rewritten in java. There was poor encapsulation in the lib and various other issues so I wrote a layer above this lib. I chose to write that layer in C which is then SWIG'd. But the reason was not due to the low level work. It is true that some might consider the work to be low- level, e.g use of UNIX pipes, multiple socket select, POSIX condition variables and so on but there are several C++ libs that provide nice wrappers for these (ACE, Boost, Poco etc etc). I didn't use them because the project was trying to get rid of C++. I managed to keep the wrapper small enough that the project now has no C++ complexities because there is no C++. Using them would have made things smaller and easier in some places. For example where I used POSIX mutexes it would have made for shorter So I wonder why you would chose C. I did because of special project Regards, Andrew Marlow -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: Yossi Kreinin <yossi.krei...@gmail.com>
Date: Tue, 6 Nov 2007 18:42:40 CST
Local: Wed, Nov 7 2007 2:42 am
Subject: Re: C++ Frequently Questioned Answers
On Nov 6, 9:44 pm, ap...@student.open.ac.uk wrote:
> So I wonder why you would chose C. I did because of special project case. The ultimate purpose seems to be to write a thin layer of glue code between existing C and Java code; you can't really do it "really wrong" since it's a small thing. I could prefer C because it would compile in a snap (I never use And I wouldn't introduce a third language, especially a tricky one But then again, I don't know what I'd do in your case, since I don't -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: David Abrahams <d...@boost-consulting.com>
Date: Tue, 6 Nov 2007 18:45:24 CST
Local: Wed, Nov 7 2007 2:45 am
Subject: Re: C++ Frequently Questioned Answers
on Tue Nov 06 2007, apm35-AT-student.open.ac.uk wrote: > This lost opportunity to use RAII is probably what David Abrahams It was someone else, but I've had the same experience. A combination > was referring to when he said his code was typically shorter and > simpler in C++. of C++ features (mostly operator overloading, templates, and inlining) make it possible to have abstraction without time and space penalties. To get equivalently-efficient use of resources in 'C' requires (sometimes complete) loss of abstraction, resulting in messy, hard-to-write, hard-to-maintain, incorrect code that sometimes is even less efficient than the equivalent C++. I can cite many examples, but here are two: * High-performance math: expression templates allow optimal Matrix sum = a + b + c ... ; The optimal code walks the summed matrices in parallel, placing The equivalent 'C' is bigger, uglier, and even if you manage to * The Python interpreter is written in 'C' and uses I could go on. Abstraction without efficiency penalty is key to -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: c...@mailvault.com
Date: Thu, 8 Nov 2007 03:14:32 CST
Local: Thurs, Nov 8 2007 11:14 am
Subject: Re: C++ Frequently Questioned Answers
On Nov 6, 6:45 pm, David Abrahams <d...@boost-consulting.com> wrote:
> on Tue Nov 06 2007, apm35-AT-student.open.ac.uk wrote: [snip] > > This lost opportunity to use RAII is probably what David Abrahams > It was someone else, but I've had the same experience. A combination > Abstraction without efficiency penalty is key to OK, and > writing robust, correct, efficient, sustainable software, and 'C' > doesn't provide nearly the capabilities that C++ does in that > department. On Nov 5, 9:08 am, "Alf P. Steinbach" <al...@start.no> wrote: > * Walter Bright -> Jerry Coffin: How much sense does it make to keep piling new layers on top of > > If you can speed up g++ template processing, it's open source! > Yeah, spaghetti K&R C. I tried to fiddle with it once, and got as far > I find it amazing that e.g. concept GCC has been implemented. > I think one must be really dedicated (and perhaps have a /lot/ of free GCC? I've been of the opinion that it needs to be rewritten in C++ for 8 or 9 years. Before embarking on concept GCC I think it would have made sense to ask, "If not now, when?" http://www.jewishvirtuallibrary.org/jsource/Quote/hillel2.html In the short term I can understand the decision, but from a Brian Wood -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: David Abrahams <d...@boost-consulting.com>
Date: Thu, 8 Nov 2007 15:04:54 CST
Local: Thurs, Nov 8 2007 11:04 pm
Subject: Re: C++ Frequently Questioned Answers
on Thu Nov 08 2007, coal-AT-mailvault.com wrote:
> How much sense does it make to keep piling new layers on top of That might (or might not) make sense from a "health of GCC" > GCC? I've been of the opinion that it needs to be rewritten in > C++ for 8 or 9 years. Before embarking on concept GCC I think > it would have made sense to ask, "If not now, when?" > http://www.jewishvirtuallibrary.org/jsource/Quote/hillel2.html standpoint, but Doug Gregor, who wrote most of the ConceptGCC extensions, didn't do it "for the good of GCC;" he did it for the good of concept support in the C++ language. -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.lang.c++.moderated
From: c...@mailvault.com
Date: Fri, 9 Nov 2007 02:28:48 CST
Local: Fri, Nov 9 2007 10:28 am
Subject: Re: C++ Frequently Questioned Answers
On Nov 8, 3:04 pm, David Abrahams <d...@boost-consulting.com> wrote:
> on Thu Nov 08 2007, coal-AT-mailvault.com wrote: I think its likely future endeavors, that are just as pressing > > How much sense does it make to keep piling new layers on top of > That might (or might not) make sense from a "health of GCC" and desired as ConceptGCC, will have a harder time succeeding as GCC grows bigger than it needs to be. I acknowledge a short term gain, but don't think the status quo, C, in GCC is sustainable. I guess we'll be able to tell by the quality of GCC releases going forward. Its too bad there isn't already a group in place rewriting the thing. Brian Wood -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2010 Google |