search for: stroustrup

Displaying 20 results from an estimated 40 matches for "stroustrup".

2007 Jan 19
5
C vs. C++ as learning and development tool for R
...do repeatedly in R To be able to contribute a package someday. I have been doing some reading and from what I can tell R is more compatible with C, but C++ has much greater capabilities for OO programming. I have just started reading The C++ Programming Language: Special Edition by Bjarne Stroustrup <http://search.barnesandnoble.com/booksearch/results.asp?ATH=Bjarne+Stro ustrup&z=y> , he recommends first learning C++ and then then C if necessary, but as a developer of C++, he is probably biased. I would greatly appreciate the advice of the R developers and package contributors on...
2009 Jul 20
2
[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
...; Why? Exceptions are supposed to occur in exceptional situations. In general, one should try to optimize for the common case, which does not include invoke/unwind. One should certainly not slow down a function call which never throws just because other functions may throw. Paraphrasing Bjarne Stroustrup, "If you don't use it, you shouldn't pay for it." Nick
2008 Dec 27
2
stdint.h on Solaris 7
Hi together, here is a little success tory how I got flac 1.2.1 (ZIP from downloads page) compiled with Solaris 7: First of all you need a lot packages from sunfreeware.com If you have installed the required packages you may end up with an error that says there is no stdint.h on your system. On an other forum I have read upgrading to Solaris 10 "fixes" this problem but that might not
2008 Dec 28
4
Driver installation after reboot
...ter actually rebooting Linux, I receive the original message, back to start. Any ideas what I might do? Thanks, Jochen -- I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -- (Bjarne Stroustrup, http://www.research.att.com/~bs/bs_faq.html#really-say-that My guess: Nokia E50)
2016 May 05
3
pread() failures when using mdbox on btrfs
...ane.comp.file-systems.btrfs/49637 [1] http://article.gmane.org/gmane.comp.file-systems.btrfs/49647 [2] http://article.gmane.org/gmane.comp.file-systems.btrfs/55552 Greetings -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20160505/491893a7/attachment-0001.sig>
2012 Oct 27
7
How does btrfs behave on checksum mismatch?
...nothing about what the file system code does or is supposed to do in the face of a checksum mismatch. -- Michael Kjörling • http://michael.kjorling.se • michael@kjorling.se “People who think they know everything really annoy those of us who know we don’t.” (Bjarne Stroustrup) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2013 Oct 02
1
Shutting down a GlusterFS server.
Hi, I have a 2-node replica volume running with GlusterFS 3.3.2 on Centos 6.4. I want to shut down one of the gluster servers for maintenance. Any best practice that is to be followed while turning off a server in terms of services etc. Or can I just shut down the server. ? Thanks & Regards, Bobby Jacob -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Aug 18
1
[LLVMdev] [cfe-dev] Style question: NULL or 0?
On Wed, Aug 17, 2011 at 4:41 PM, Jordy Rose <jediknil at belkadan.com> wrote: > But I think I read somewhere that 0 is more C++esque. I believe Stroustrup espoused this at one point (perhaps even on his website) on the basis that using NULL gives you a false sense of security - which isn't entirely true now that compilers (GCC & clang presumably) will warn you about using NULL in non-pointer contexts. > (And C++11 nullptr's not availa...
2008 May 05
0
flac/metaflac 32/64 Universal OS X builds
...oken binary'. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "I've nothing against OO, I do have something against C++. Its a dogs dinner. Anyone who's (tried) to read Stroustrups book on C++ like I had the misfortune of doing knows that the man is very intelligent but has about as much clarity of thought as Timothy Leary on a bad day." -- NJR in comp.os.linux.development.apps
2008 Dec 28
1
stdint.h on Solaris 7
...; > Erik > -- > ----------------------------------------------------------------- > Erik de Castro Lopo > ----------------------------------------------------------------- > "Within C++, there is a much smaller and cleaner language struggling > to get out." -- Bjarne Stroustrup > _______________________________________________ > Flac-dev mailing list > Flac-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/flac-dev
2008 Jan 17
1
compression level
...e question for encoding. Is the difference in % of cpu load while decoding/encoding the reason different compression levels were created or another reason? thx -- 'C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.' --Bjarne Stroustrup, The Creator of C++ 'And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed down upon the unbelievers and cast fire and thunder upon them. For the beast had been reborn with its strength renewed, and the followers of...
2008 Feb 07
1
Nullsoft winamp's FLAC plugin
...the FLAC plugin of Nullsoft winamp (the one included with winamp itself, not the one you can download on the FLAC website) uses the reference FLAC decoder? thx -- 'C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.' --Bjarne Stroustrup, The Creator of C++ 'And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed down upon the unbelievers and cast fire and thunder upon them. For the beast had been reborn with its strength renewed, and the followers of...
2006 Jul 05
0
Problem with coxme
...m without). In my defense, I was first sidetracked by trying to understand and support pdMat structures, something I've since abandoned all hope of. They are great examples of object-oriented programming: elegant, short, code resuse, and incomprehensible (see www.netfunny.com/rhf/jokes/98/May/stroustrup.html). ------------- End Forwarded Message -------------
2004 Jun 15
1
QueryParser memory leak?
Hi Olly, valgrind showed me what seems to be a memory leak: QueryParser owns the Stopper and Stem instances it points to (since it deletes them e.g. in set_stemming_options), but it does not delete them at destruction. (Btw., I don't test before deleting, but maybe "delete 0;" does not work on all platforms?) -- Robert Pollak GPG Key ID: 748646AD -------------- next part
2007 Apr 05
1
sizeof(std::string)
Currently we carefully try to pass std::string by const reference everywhere, which is a good idea if one assumes it's an object of non-trivial size. Bjarne Stroustrup's guideline is "more than a couple of words): http://www.research.att.com/~bs/bs_faq2.html#call-by-reference I've noticed that under GCC at least (I tried 2.95, 3.3, and 4.1) std::string just holds a pointer to the actual implementation so sizeof(std::string) == sizeof(void*). How b...
2013 Jun 09
0
xattrs, Operation not supported during rsync
...s `rsync -avSHP` (no -X or -A). Thanks, -- Alan Orth alan.orth at gmail.com http://alaninkenya.org http://mjanja.co.ke "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130609/aed21794/attachment.html>
2008 Mar 27
2
WINEDLLPATH weirdness
..., Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow away your whole leg!" -- Bjarne Stroustrup
2013 Aug 20
0
sf bug 256 - Virtual functions in destructor
...*>(client_data); FLAC__ASSERT(0 != instance); instance->progress_callback(bytes_written, samples_written, frames_written, total_frames_estimate); // Here!!! progress_callback = 0 } I think about this problem (am i right?): The C++ Programming Language Special Edition (Third Edition) Bjarne Stroustrup 15.4.3 Class Object Construction and Destruction A class object is more than simply a region of memory (?4.9.6). A class object is built from ??raw memory?? by its constructors and it reverts to ??raw memory?? as its destructors are executed. Construction is bottom up, destruction is top down, and...
2011 Feb 14
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 13
On Mon, Feb 14, 2011 at 3:49 PM, Peter Lawrence <peterl95124 at sbcglobal.net> wrote: > Andrew, >                your response highlights a naming problem in LLVM, > which is that  "array" and "vector" > mean the same thing in normal computer language and compiler theory > usage, so it is > inconvenient and misleading within LLVM to give one a very
2009 Jul 20
0
[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
Nick Johnson wrote: >> probably there should be a switch to choose whether codegen should turn >> unwind/invoke into dwarf or setjmp/longjmp style code. It seems to me that there is an implicit, and undocumented, assumption that unwinding needs to handle stack-allocated objects. In languages without stack-allocated objects (ie. most languages that support exceptions) there is no