Re: Why is not more FreeBSD software written in C++?

2006-04-16 Thread Dag-Erling Smørgrav
James Bailie [EMAIL PROTECTED] writes: Efficiency is of prime importance in systems programming. The only language in which one can write more efficient programs than in C, is assembler, but it's not portable. This is a myth. I'm surprised to see it a Lisp programmer perpetuate it. DES --

Re: Why is not more FreeBSD software writ

2006-04-16 Thread Benjamin Lutz
On Sunday 16 April 2006 17:04, Yuri Grebenkin wrote: [...] By the way, one can realize OOP-model in C better than in C++ if needed. That is an interesting statement. I see how you can simulate OOP in C, but can you explain how one could realize it better than with C++? Cheers Benjamin

Re: Why is not more FreeBSD software written in C++?

2006-04-16 Thread Benjamin Lutz
Thanks for your comments all that replied. So to summarize, it seems there are really no technical reasons to not use C++ for base system apps in FreeBSD. A quick look at /usr/src reveals a number of programs that do actually use C++: devd, gperf, groff and OpenSSL. The reasons seem to be

Re: Why is not more FreeBSD software written in C++?

2006-04-16 Thread Erich Dollansky
Hi, Dag-Erling Smørgrav wrote: James Bailie [EMAIL PROTECTED] writes: Efficiency is of prime importance in systems programming. The only language in which one can write more efficient programs than in C, is assembler, but it's not portable. This is a myth. I'm surprised to see it a Lisp