Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #14075
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Event handler in c++ |
| Date | 2012-02-16 07:46 +1300 |
| Message-ID | <9q2ct7Fnb1U1@mid.individual.net> (permalink) |
| References | (4 earlier) <66228237-d278-44c6-a491-471b9073dfa9@hb4g2000vbb.googlegroups.com> <30919923.35.1329214493307.JavaMail.geo-discussion-forums@pbbmr9> <9pvmq7FaapU1@mid.individual.net> <21381630.1044.1329249105974.JavaMail.geo-discussion-forums@pbcvu10> <efdfc244-e379-46a7-a60c-50f5f88f33e7@9g2000yqo.googlegroups.com> |
On 02/15/12 11:11 PM, MiB wrote: > On Feb 14, 8:51 pm, 88888 Dihedral<dihedral88...@googlemail.com> > wrote: >> 在 2012年2月15日星期三UTC+8上午2时17分43秒,Ian Collins写道: > [..] >>> On 02/14/12 11:14 PM, 88888 Dihedral wrote: >>>> People working on the linux kernal talked about this >>>> problem for so long. >> >>> They are somewhat bigoted. > > Actually, one of the dominant goals of GNU/Linux is availability on a > wide range of platforms. To bootstrap the development tool chain, some > core functionality needs to be implemented, i.e. library code, cross > compiling code generators for the target architecture, hardware > drivers, code to load and start the Linux core. A major milestone in > porting an OS to any platform is to get it to compile its own kernel, > the rest is more transpiration than inspiration. Don't forget the GNU/Linux and gcc are joined at the hip. Anywhere gcc can go, GNU/Linux in some form can follow. > Unfortunately only major platforms offer C++ compilers, and if they > do, there is wide range of language implementation issues that make > writing common source code APITA. But the GNU/Linux kernel only builds with gcc, or with a compiler specifically tailored to build it such as the Intel compiler. So in this specific context, the ABI incompatibility argument doesn't really hold water. > C, however, is more readily available on smaller platforms (embedded > systems, mobile phones, ...) and has less portability problems just > because the language core is so much smaller. I believe this was the > main argument of the C vs. C++ factions in Linux development, not > issues regarding memory consumption (there is, in fact, no such issue) > and not performance worries. I am not aware of any problem solvable in > C, that needs more run time when implemented properly (!) in C++. From what I've heard and read over the years, the objections to C++ from GNU/Linux kernel developers are more philosophical dressed up as practical than practical. -- Ian Collins
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Event handler in c++ pratik lala <pratik3558@gmail.com> - 2012-01-22 06:42 -0800
Re: Event handler in c++ "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-22 16:11 +0100
Re: Event handler in c++ "osmium" <r124c4u102@comcast.net> - 2012-01-22 10:56 -0600
Re: Event handler in c++ Robert Wessel <robertwessel2@yahoo.com> - 2012-01-22 21:32 -0600
Re: Event handler in c++ Christopher <cpisz@austin.rr.com> - 2012-01-24 08:25 -0800
Re: Event handler in c++ Robin Tucker <robinmjtucker@gmail.com> - 2012-02-13 03:52 -0800
Re: Event handler in c++ 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-14 02:14 -0800
Re: Event handler in c++ Ian Collins <ian-news@hotmail.com> - 2012-02-15 07:17 +1300
Re: Event handler in c++ 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-14 11:51 -0800
Re: Event handler in c++ Ian Collins <ian-news@hotmail.com> - 2012-02-15 16:59 +1300
Re: Event handler in c++ MiB <michael.boehnisch@gmail.com> - 2012-02-15 02:11 -0800
Re: Event handler in c++ Ian Collins <ian-news@hotmail.com> - 2012-02-16 07:46 +1300
Re: Event handler in c++ Robert Wessel <robertwessel2@yahoo.com> - 2012-02-15 15:32 -0600
Re: Event handler in c++ MiB <michael.boehnisch@gmail.com> - 2012-02-16 17:56 -0800
Re: Event handler in c++ Rui Maciel <rui.maciel@gmail.com> - 2012-02-15 23:11 +0000
Re: Event handler in c++ pratik lala <pratik3558@gmail.com> - 2012-01-22 16:14 -0800
Re: Event handler in c++ "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-23 03:54 +0100
csiph-web