CppCon 2018: Andrei Alexandrescu “Expect the expected”

Share this & earn $10
CppCon
Published at : 18 Dec 2020
35403 views
596
22

http://CppCon.org

Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2018

Writing code that is resilient upon errors has always been a pain point in all languages. Exceptions are the politically correct means to signal errors in C++, but many applications still resort to error codes for reasons related to ease of understanding, ease of handling errors locally, and efficiency of generated code.

This talk shows how a variety of theoretical and practical artifacts can be combined together to address error codes and exceptions in one wholesome, simple package. The generic type expected<T> can be used for both local (error-code-style) and centralized (exception-style) manners, drawing from the strengths of each.


Andrei Alexandrescu, The D Language Foundation
Vice President

Andrei Alexandrescu is a researcher, software engineer, and author. He wrote three best-selling books on programming (Modern C++ Design, C++ Coding Standards, and The D Programming Language) and numerous articles and papers on wide-ranging topics from programming to language design to Machine Learning to Natural Language Processing. Andrei holds a PhD in Computer Science from the University of Washington and a BSc in Electrical Engineering from University "Politehnica" Bucharest. He is the Vice President of the D Language Foundation.

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Andrei AlexandrescuCppCon 2018Computer Science (Field)

Oakland's own Kamala Harris makes history as the 49th Vice President of the United States

Oakland's own Kamala Harris makes history as the 49th Vice President of the United States

"I Would Not Be Able to Defend Myself" (Social Experiment)

"I Would Not Be Able to Defend Myself" (Social Experiment)

Restrained & Nosferatu feat. Rob GEE - Lack Of Creativity

Restrained & Nosferatu feat. Rob GEE - Lack Of Creativity

தேர்தலில் போட்டியிடும் 35 பேர் கொண்ட முதல் வேட்பாளர் பட்டியலை வெளியிட்டது நாம் தமிழர் கட்சி

தேர்தலில் போட்டியிடும் 35 பேர் கொண்ட முதல் வேட்பாளர் பட்டியலை வெளியிட்டது நாம் தமிழர் கட்சி

Lewis Capaldi - Someone You Loved // Brittany Maggs cover

Lewis Capaldi - Someone You Loved // Brittany Maggs cover

augustus pablo - each one dub

augustus pablo - each one dub

Totally Wrong 📄❌

Totally Wrong 📄❌

Geo Ong - Parokyana (Official Music Video)

Geo Ong - Parokyana (Official Music Video)

My Little Pony: Friendship is Magic (MLP:FiM) // A True True Friend - Human Version (UNFINISHED)

My Little Pony: Friendship is Magic (MLP:FiM) // A True True Friend - Human Version (UNFINISHED)

The Street subtitulada 2/4

The Street subtitulada 2/4

New Kawasaki Z125 ( Z125-DD-ABS) Fashionable Design Review

New Kawasaki Z125 ( Z125-DD-ABS) Fashionable Design Review

Fallapalooza: $2000 Fall Guys Duos Tourney - Quarterfinals

Fallapalooza: $2000 Fall Guys Duos Tourney - Quarterfinals

Amazin new Gadgets you can buy || گجت‌های خفنی که همینک میشه خرید (قسمت 3)

Amazin new Gadgets you can buy || گجت‌های خفنی که همینک میشه خرید (قسمت 3)

20 Anecdotes sur des Philosophes

20 Anecdotes sur des Philosophes

Sensational FINAL TABLE World Poker Tour 5 Diamons.High class Poker.

Sensational FINAL TABLE World Poker Tour 5 Diamons.High class Poker.

Increased Energy and Alertness Binaural Beat Free Download (HQ) (20 Min)

Increased Energy and Alertness Binaural Beat Free Download (HQ) (20 Min)

Billy Joel - Sleeping with the Television On (Audio)

Billy Joel - Sleeping with the Television On (Audio)

DO NOT EMBARRASS YOURSELF! 40 Unspoken Etiquette Rules

DO NOT EMBARRASS YOURSELF! 40 Unspoken Etiquette Rules

Brock Lesnar is surprised by the return of The Undertaker: Raw, Feb. 24, 2014

Brock Lesnar is surprised by the return of The Undertaker: Raw, Feb. 24, 2014

Sotheby's International Realty Québec presents: 32 rue d’Édimbourg Candiac, Qc  Canada

Sotheby's International Realty Québec presents: 32 rue d’Édimbourg Candiac, Qc Canada

Our First 4X4 Build (SO MANY MODS!!)

Our First 4X4 Build (SO MANY MODS!!)

3 Day Solo Winter Snow Camp - Bushcraft, Canvas Tent, Woodstove, Bowdrill

3 Day Solo Winter Snow Camp - Bushcraft, Canvas Tent, Woodstove, Bowdrill

Crackazat - Eye Light (Crescendo, LTCD002)

Crackazat - Eye Light (Crescendo, LTCD002)

Rarity's Fashion Masterpiece (Suited For Success) | MLP: FiM [HD]

Rarity's Fashion Masterpiece (Suited For Success) | MLP: FiM [HD]

This Might Be The Best Speedrunning Seed On Minecraft!

This Might Be The Best Speedrunning Seed On Minecraft!

Lindsey Stirling - Lose You Now (feat. Mako)

Lindsey Stirling - Lose You Now (feat. Mako)

Del Shannon: One Thousand Six Hundred Sixty One Seconds Lp mono

Del Shannon: One Thousand Six Hundred Sixty One Seconds Lp mono

girl in red - i'll die anyway.

girl in red - i'll die anyway.

"Whole 'Nother Level" Official Music Video TEASER | Gavin Magnus ft. Coco Quinn

"Whole 'Nother Level" Official Music Video TEASER | Gavin Magnus ft. Coco Quinn

Snoop Dogg sings ‘AD is on the way’ to the Lakers, says LeBron is taking control | First Take

Snoop Dogg sings ‘AD is on the way’ to the Lakers, says LeBron is taking control | First Take

Marcus Gad /INTERVIEW/ "Rhythm Of Serenity" - 26 Septembre 2020 (Najac)

Marcus Gad /INTERVIEW/ "Rhythm Of Serenity" - 26 Septembre 2020 (Najac)

Chris Cornell - Part Of Me (Explicit) ft. Timbaland

Chris Cornell - Part Of Me (Explicit) ft. Timbaland

Jacket boss and the security || ft laze squad ☄😂😂😂

Jacket boss and the security || ft laze squad ☄😂😂😂

Work together with purchasers - Purchasing Management - Sales Training by Professional Capital

Work together with purchasers - Purchasing Management - Sales Training by Professional Capital

Keep In Mind - Lucien Deiss, CSSp

Keep In Mind - Lucien Deiss, CSSp

Prospects  - Truth or Dare (Official Music Video)

Prospects - Truth or Dare (Official Music Video)

How to Pronounce unquestionably with Meaning, Phonetic, Synonyms and Sentence Examples

How to Pronounce unquestionably with Meaning, Phonetic, Synonyms and Sentence Examples

Decoy for greater variety

Decoy for greater variety

HE HOARDED TONS OF STUFF! After he died, his storage locker sold at auction. What's inside?

HE HOARDED TONS OF STUFF! After he died, his storage locker sold at auction. What's inside?

HTML Forms - Learn 18 HTML Input Types | HTML5 (2020)

HTML Forms - Learn 18 HTML Input Types | HTML5 (2020)

Mattia Cupelli - A Symbol Of Hope (Epic Majestic Orchestral)

Mattia Cupelli - A Symbol Of Hope (Epic Majestic Orchestral)

1000 Ohm - Love In Motion (1984)

1000 Ohm - Love In Motion (1984)

MINECRAFT | How to Enable Cheats After Creating World! 1.15.2

MINECRAFT | How to Enable Cheats After Creating World! 1.15.2

I made the Minecraft Bee String Lights from TikTok

I made the Minecraft Bee String Lights from TikTok

Ridiculously Massive Mailbag of Retro Tech Results in Chaos | Nostalgia Nerd

Ridiculously Massive Mailbag of Retro Tech Results in Chaos | Nostalgia Nerd

Teri Yaad (Lyrical Video) | Garry Sandhu | Intense | Midnight |

Teri Yaad (Lyrical Video) | Garry Sandhu | Intense | Midnight |

All out fails World Wide. ( No Touch Energy Shield Master Fail )

All out fails World Wide. ( No Touch Energy Shield Master Fail )

Secrets of Instruments Approaches and Departures

Secrets of Instruments Approaches and Departures

How to trade TCS results through Options ? | by THE OPTION SCHOOL | LIVE

How to trade TCS results through Options ? | by THE OPTION SCHOOL | LIVE