How is Bjarne Stroustrup?

Has anyone taken a CS course with this professor? I'm planning on taking his design using C++ course next semester, but I'm trying to decide between this class and another CS course taught through Barnard to fulfill the CS requirements for my track.

How difficult is the course, how is grading? Thanks!

👍︎ 11
💬︎
👤︎ u/iMode12
📅︎ Jan 15 2022
🚨︎ report
[LFA] Bjarne the dwarf warlock bound by insomnia
👍︎ 125
💬︎
👤︎ u/Phoystics
📅︎ Dec 26 2021
🚨︎ report
Detektiv arbejde søges - kan ikke finde det originale billede af Bjarne Riis, min ven skal have en god julegave
👍︎ 27
💬︎
👤︎ u/HippyJay
📅︎ Nov 27 2021
🚨︎ report
C++20: Reaching for the Aims of C++ - Bjarne Stroustrup - CppCon 2021 youtube.com/watch?v=15QF2…
👍︎ 143
💬︎
👤︎ u/twantonie
📅︎ Oct 27 2021
🚨︎ report
Autumn Woodcarving. Design by Bjarne Jespersen
👍︎ 183
💬︎
📅︎ Nov 16 2021
🚨︎ report
Progress shots: Bjarne Jespersen’s design “Double Star” in Cherry reddit.com/gallery/qx1bkb
👍︎ 163
💬︎
📅︎ Nov 18 2021
🚨︎ report
Interview with C++ designer Bjarne Stroustrup youtu.be/oX14brZ3KNI
👍︎ 8
💬︎
👤︎ u/donutloop
📅︎ Jan 09 2022
🚨︎ report
Error in Bjarne's book on copy assignment? (Programming Principles...)

Hey, on chapter 18.3.2 in Bjarne's book Programming Principles and Practice using C++, 2nd ed, he writes a vector class from scratch, and he's in the process of writing the copy assignment. He writes:

vector& vector::operator=(const vector& a)
    // make this vector a copy of a
{
    double* p = new double[a.sz]; // allocate new space
    std::copy(a.elem,a.elem+a.sz,elem); // copy elements
    delete[] elem; // deallocate old space
    elem = p; // now we can reset elem
    sz = a.sz;
    
    return *this; // return a self-reference (see §17.10)
}

where elem is an array of elements of size sz. This code doesn't work. Shouldn't it be:

vector& vector::operator=(const vector& a)
{
    delete[] elem;
    elem = new double[a.sz];
    std::copy(a.elem,a.elem+a.sz,elem);
    sz = a.sz;

    return *this;
}

which seems to work. Is there an error in the book?

👍︎ 11
💬︎
👤︎ u/455ass
📅︎ Nov 25 2021
🚨︎ report
Autumn Woodcarving. Design by Bjarne Jespersen
👍︎ 85
💬︎
📅︎ Nov 16 2021
🚨︎ report
A technical interview with the creator of C++, Bjarne Stroustrup youtu.be/wafpbewQZGg
👍︎ 3
💬︎
👤︎ u/mCodingLLC
📅︎ Dec 20 2021
🚨︎ report
Some Eileen's Dream in an Bjarne Nielsen Viking Classic Apple.
👍︎ 22
💬︎
📅︎ Nov 16 2021
🚨︎ report
What is your review of "C++ exceptions and alternatives" by Bjarne Stroustrup

I have been following the proposal "Zero-overhead deterministic exceptions: Throwing values" by Herb Sutter. Yesterday, I came across a paper by Bjarne named "C++ exceptions and alternatives". I can't help but noticing that Bjarne's paper reads like a overall refutation of some main statements made by Sutter in his proposal. For example (emphasis mine) :

  1. Sutter states that "C++'s dynamic exception types violate zero-overhead and determinism", while Bjarne's argues that "exceptions may not be the best example of the zero-overhead principle, but they are not in obvious violation". Bjarne also suggests that time determinism of C++ exceptions might be achieved by clever implementation, though he does agree that space determinism is much harder.
  2. Sutter states that there are "performance issues with today’s dynamic exception handling model", while Bjarne believes that "the current implementations of C++ exception handling are sub-optimal from a performance standpoint and could be improved".
  3. Sutter argues that programming bugs (like violation of preconditions of a function) , logical errors and heap exhaustion (in most cases) should not be reported by throwing exceptions. While Bjarne did not make a general counter-argument in this regard, he disagree that "bad_alloc" should be considered separately.
  4. Sutter states that many projects have banned RTTI and exceptions because inherent design flaws of the current exception model of C++, while Bjarne says that "not using exceptions in a kernel is a historical/political decision, ... not a fundamental technical problem. C". It is unclear whether Sutter also had an OS kernel in mind when mentioning those "many projects" that ban exceptions. It is also not clear whether Bjarne implied that if C++ exceptions can be successfully used in an OS kernel, it can also be used in those "many projects". So, Bjarne's statement about using exceptions in OS kernels may not constitute a refutation of Sutter's statement.

It is often said that the first step to solve a problem is recognizing there is one. It seems that two prominent figures sitting on the C++ standard committee can not agree on some basic facts concerning the exception handling model of C++: whether the current C++ exception model is inherently flawed, or it is just implemented poorly and misunderstood/misused by many C++ programmers.

So, what is your opinion on this matter?

👍︎ 180
💬︎
👤︎ u/JohnZLi
📅︎ Sep 01 2021
🚨︎ report
Geliefert mit Bjarne Mädel - eine kleine Perle des deutschen Films

Bei u/arte_de kam am Wochenende der Film "Geliefert" mit Bjarne Mädel.
Mädel spielt einen Paketboten, der neben seinem stressigen Job, seinem Arschloch-Chef und seinem pubiertierenden Sohn auch noch jedes andere Unglück anzieht. Sein Hauptproblem ist aber, dass er einfach zu gut für die Welt ist.

Ich möchte nicht zu viel vorwegnehmen, aber der Film ist einer dieser kleinen nieschigen Filme, die man unerwartet entdeckt und die man eigentlich direkt ein zweites mal sehen möchte. Mädel spielt seine Rolle glaubwürdig wie immer, die ganze Stimmung im Film passt einfach und nach wenigen Minuten habe ich aufgehört mich zu fragen, warum Schotty von der Reinigungs- in die Logistikbranche gewechselt ist.

 

https://www.arte.tv/de/videos/095695-000-A/geliefert/

👍︎ 236
💬︎
👤︎ u/SNAFU-DE
📅︎ Aug 31 2021
🚨︎ report
Interview with C++ designer Bjarne Stroustrup youtu.be/oX14brZ3KNI
👍︎ 9
💬︎
👤︎ u/tjpalmer
📅︎ Dec 20 2021
🚨︎ report
Bjarne Stroustrup: “I Did It for You All ” (2007) harmful.cat-v.org/softwar…
👍︎ 2
💬︎
👤︎ u/qznc_bot2
📅︎ Dec 08 2021
🚨︎ report
There are only two kinds of languages: the ones people complain about and the ones nobody uses. --Bjarne Stroustrup
👍︎ 49
💬︎
📅︎ Oct 31 2021
🚨︎ report
Bjarne Stroustrup: “I Did It For You All…” harmful.cat-v.org/softwar…
👍︎ 2
💬︎
👤︎ u/ptkrisada
📅︎ Dec 09 2021
🚨︎ report
Shift-M/47: Bjarne Stroustrup on the future of programming youtu.be/ae6nFZn3auQ
👍︎ 101
💬︎
📅︎ Jul 28 2021
🚨︎ report
Bjarnes C++++++ Flex
👍︎ 13
💬︎
👤︎ u/uneron
📅︎ Nov 12 2021
🚨︎ report
De allereerste meme!!! Niemand minder dan Bjarne v.R. bijt de spits af!!!
👍︎ 3
💬︎
📅︎ Nov 15 2021
🚨︎ report
Principles and Practice C++ 2nd edition Bjarne or learncpp.com or The Cherno Youtube ?

There is also someone called codebeauty on yotube she appears to be a super model of some sort who also teaches C++

Which one of these is the best bet?

I have the Bjarne book but the exercises and drills are waaaay too boring and awful to even attempt. But I going through the actual book and redoing what he is teaching in the book.

But I am burned out and exhausted by his drills and exercises I don't want to do it.

I am just trying to learn programming btw I am new and self teaching

👍︎ 2
💬︎
📅︎ Sep 18 2021
🚨︎ report
by Bjarne Jonasson
👍︎ 7
💬︎
👤︎ u/tiggerclaw
📅︎ Oct 26 2021
🚨︎ report
På besøg hos Bjarne - Ringsted Radio Museum youtube.com/watch?v=RwVUD…
👍︎ 2
💬︎
📅︎ Oct 24 2021
🚨︎ report
Bjarne blev afvist: Kan ikke bevise at han kan dansk ekstrabladet.dk/nyheder/s…
👍︎ 14
💬︎
👤︎ u/estimators
📅︎ Jun 16 2021
🚨︎ report
SFeren Anne Grete Holmsgaard, som er udpeget til at være dommer i rigsretssagen. Var engang kæreste med den pædofile-serieforbryder Bjarne Skovsager, der voldtog børn ned til syvårsalderen. bt.dk/krimi/politiker-doe…
👍︎ 5
💬︎
📅︎ Sep 18 2021
🚨︎ report
"There are only two kinds of languages: the ones people complain about and the ones nobody uses." - Bjarne Stroustrup

"There are only two kinds of languages: the ones people complain about and the ones nobody uses." - Bjarne Stroustrup

👍︎ 2
💬︎
📅︎ Dec 01 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.