Keynote: What can C++ do for embedded systems developers? - Bjarne Stroustrup

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 20

  • @Hardwareandi
    @Hardwareandi 3 роки тому +6

    I hesitated giving a thumbs up because it meant incrementing 512 upvotes.

  • @bdafeesh
    @bdafeesh 6 років тому +35

    What a great talk but why do so many talks have glitchy mics...Didn't we figure this out decades ago?

  • @xvit
    @xvit 3 роки тому +9

    I've watched a number of Bjarne Stroustrup presentations, and this is a particularly interesting one.
    It's interesting to hear him talk about the cost of abstractions, and when and where to spend that cost.
    Shame about the audio in some sections (somebody link a clean version if it's out there), but it's worth persevering.

  • @raymundhofmann7661
    @raymundhofmann7661 6 років тому +21

    Audio is broken

  • @lerssilarsson6414
    @lerssilarsson6414 3 роки тому +2

    The firmware of the remote control was written in (Embedded)C++ - i presume? ;-)

  • @romsthe
    @romsthe 6 років тому +5

    buy an effing de-esser, you're ruining every one's ears

    • @boyandrenski2656
      @boyandrenski2656 5 років тому +3

      and this de-esser will probably be written in C++...

  • @ryleitdept
    @ryleitdept Місяць тому

    C++ #numbawan!

  • @nullplan01
    @nullplan01 2 роки тому +1

    44:40: And there you run headlong into a limitation of C++. That code is bad, and it cannot be made good. The problem is that the return value of fclose() is not checked. Personally, I treat fclose() failure as a write failure (so if it happens in a read stream I don't care, but on a write stream I have to assume the file wasn't written correctly). Now, ~File_handle() cannot return an error code, and it should not throw an exception (or else, if the file is destroyed because of an exception, this itself causes undefined behavior). So there is nothing that ~File_handle() can do to signal failure. So the failure gets silently ignored, and the file is corrupted.

    • @ryleitdept
      @ryleitdept Місяць тому

      well that is why there is Core Guidelines. Everything will still depends on the hands of a programmer regardless of what PL he will use.

  • @willemhekman1788
    @willemhekman1788 5 років тому +3

    Nice talk. Thanks for uploading!

  • @WouterVanOoijen
    @WouterVanOoijen 6 років тому +7

    Sheet 16: for 8-bit chips probably stick to assembler - bullocks! The C++ style that is appropriate for small 32-bot Cortexes is perfect for 8-bit AVRs too. And for ancient chips like PICs and 8051 a C-dialect is more appropriate than assembler.

  • @clodgozon3968
    @clodgozon3968 5 років тому +9

    I just noticed there are no girls there.

    • @zanityplays
      @zanityplays 4 роки тому +5

      Too busy working on the standard library

    • @anokhias
      @anokhias 3 роки тому

      @@zanityplays so that lame people like you can write better code

    • @anokhias
      @anokhias 3 роки тому +1

      Yes, because there are people like you here.

    • @zanityplays
      @zanityplays 3 роки тому

      @@anokhias Exactly.

  • @fndzx1
    @fndzx1 5 років тому

    What about mechatronics engineers,do they have a chance?

    • @043mehdi
      @043mehdi 5 років тому

      ohy yes, of course

  • @hamoudiayoub9341
    @hamoudiayoub9341 3 роки тому +3

    C++ will never replace c even if they generate the same assembly code