安德烈·亞歷山德雷斯庫

Andrei Alexandrescu
2009年Alexandrescu参加ACCU
出生1969年(54—55歲)
罗马尼亚社会主义共和国布加勒斯特[1]
居住地 美国
国籍 羅馬尼亞
 美国(2004年8月起)[2]
教育程度布加勒斯理工大学华盛顿大学
职业Facebook研究科学家
知名于C++D语言专家[3]
配偶Sanda Alexandrescu
网站erdani.org

安德烈·亞歷山德雷斯庫(英語:Andrei Alexandrescu,1969年),罗马尼亚裔美国人C++D语言专家。

D语言2.0版本之后,他加入D语言核心开发团队,是继沃爾特·布萊特之后的最主要设计师。他撰写了《D程序设计语言》一书,全面系统地介绍了D语言的设计和实现。

他因通过模版元程序设计实现基于政策设计的开创性成果而名闻遐迩。他撰写了《现代C++设计》一书阐述了他的理念,首次在他编写的程序库Loki里加以实现。他在MOJO库里实现了move constructors[4]

他目前在Facebook公司就职,担任研究科学家。

他于2004年8月入美国国籍[5]

教育和职业

亞歷山德雷斯庫1994年7月毕业于布加勒斯理工大学,获得电子工程学士学位。[6][7]

1998年9月他在C/C++ Users Journal上首次发表文章。 从1999年4月至2000年2月在Netzip公司担任程序经理。Netzip公司被RealNetworks公司后,他继续任职到2001年9月。[6]

亞歷山德雷斯庫先后于2003年和2009年获得美国华盛顿大学计算机科学硕士和博士学位 。[8][9][10]

近年来,他一直协助沃爾特·布萊特开发D语言,于2010年5月出版了《D语言程序设计》。

亞歷山德雷斯庫、Herb Sutter斯科特·邁爾斯英语Scott Meyers三人主持名为 C++ and Beyond的小型年度技术讨论会议。

著作

书籍

贡献

Expected 作为C++模版类纳入Boost[11]。Alexandrescu 建议 [12]使用 Expected<T> 作为一个类用于返回值用来表示要么包含一个类型T或者例外防止其被创建。这是对于要么返回代码要么显示调用例外的一项改进。Expected<T>有如下好处:

  • 关联计算目标和错误关联
  • 自然构成多种例外
  • 在错误处理和抛出例外两种风格中切换
  • Teleportation possible across thread boundaries, across nothrow subsystem boundaries and across time (现在保存, 之后抛出)
  • 收集、集合和组合例外

例子

他建议采用

Expected<int> parseInt(const string&); // Returns an expected int: either an int or an exception

来代替如下的函数声明。

int parseInt(const string&); // Returns 0 on error and sets errno

或者

int parseInt(const string&); // Throws invalid_input or overflow

参考文献

  1. ^ Erdani.com. [2015-04-10]. (原始内容存档于2020-08-22). 
  2. ^ 存档副本. [2015-04-10]. (原始内容存档于2020-09-03). 
  3. ^ Metz, Cade. The Next Big Programming Language You’ve Never Heard Of. Wired.com. Wired. 7 July 2014 [27 July 2014]. (原始内容存档于2014-07-26). Today, Alexandrescu is a research scientist at Facebook, where he and a team of coders are using D to refashion small parts of the company’s massive operation. 
  4. ^ Alexandrescu, Andrei. Move Constructors. Dr. Dobbs Journal. 1 February 2003 [25 March 2009]. (原始内容存档于2009年5月7日). 
  5. ^ Reddit.com: "Sixteen years ago, at 28, I landed in New York with $300 to my name. Today I became a US citizen. It's been a wild ride that I hope will go on!". [2015-04-10]. (原始内容存档于2020-09-03). 
  6. ^ 6.0 6.1 Andrei Alexandrescu: Resumé. [2015-04-10]. (原始内容存档于2011-04-07). 
  7. ^ ACCU Spring Conference 2001. [2015-04-10]. (原始内容存档于2011-08-11). 
  8. ^ ACCU 2008: Speakers. [2015-04-10]. (原始内容存档于2020-08-15). 
  9. ^ ACCU 2010: Speakers. [2015-04-10]. (原始内容存档于2020-08-07). 
  10. ^ Computer Science & Engineering, Recent Ph.D. Graduates (Summer 2009)页面存档备份,存于互联网档案馆). University of Washington.
  11. ^ Botet; Talbot. A proposal to add a utility class to represent expected monad (PDF). [2015-04-10]. (原始内容 (PDF)存档于2014-08-19). 
  12. ^ Alexandrescu. Systematic Error Handling in C++. [2015-04-10]. (原始内容存档于2020-11-29). 

外部链接

Read other articles:

ЕнсменInsming   Країна  Франція Регіон Гранд-Ест  Департамент Мозель  Округ Саррбур-Шато-Сален Кантон Альбестрофф Код INSEE 57346 Поштові індекси 57670 Координати 48°57′24″ пн. ш. 6°52′30″ сх. д.H G O Висота 215 - 273 м.н.р.м. Площа 7,21 км² Населення 593 (01-2020[1]) Густота 84,47 ...

 

?Вівчарик чорнобровий Охоронний статус Найменший ризик (МСОП 3.1)[1] Біологічна класифікація Домен: Еукаріоти (Eukaryota) Царство: Тварини (Animalia) Тип: Хордові (Chordata) Клас: Птахи (Aves) Ряд: Горобцеподібні (Passeriformes) Родина: Вівчарикові (Phylloscopidae) Рід: Вівчарик (Phylloscopus) Вид: Вівчарик

 

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (أبريل 2019) كيلي غانثر   معلومات شخصية الميلاد 14 أغسطس 1987 (36 سنة)  أوبرلين  مواطنة الولايات المتحدة  الحياة العملية المهنة متزلجة[1]  الرياضة تزلج سريع[1...

Pour les articles homonymes, voir Province de Nice. Province de Nice(it) Provincia di Nizza 1859–1860 Carte de la Province de Nice (en rouge) au sein du royaume de Sardaigne.Informations générales Statut Subdivisions administratives du Royaume de Sardaigne Capitale Nice Langue(s) Italien Religion Catholicisme romain Histoire et événements 1859 Décret Rattazzi (réorganisation administrative) 1860 Traité de Turin Entités précédentes : Division de Nice (Royaume de Sardaigne...

 

Artikel ini bukan mengenai Air Hong Kong, Hong Kong Airways, Hong Kong Express Airways, atau Dragonair. Hong Kong Airlines香港航空 IATA ICAO Kode panggil HX CRK BAUHINIA Didirikan2006PenghubungBandar Udara Internasional Hong KongProgram penumpang setiaFortune Wings ClubLounge bandaraClub BauhiniaArmada25[1]Tujuan32 tidak termasuk kargo dan sewaanKantor pusatOne CitygateLantau, Hong KongTokoh utama Zhang Kui (Presiden) Sun Jian Feng, Wan Ning, Zhong Guosong (Executive Vice Presiden...

 

8th season of the World Rally Championship series 1980 World Rally Championship World Drivers' Champion:Walter RöhrlWorld Manufacturers' Champion:Fiat Previous 1979 Next 1981 World RallyChampionship   Current season 2023 World Rally Championship 2023 WRC2 Championship 2023 WRC3 Championship 2023 Junior WRC Championship Support championships Current: WRC2 WRC3 Junior WRC Former: PWRC SWRC FIA 2-Litre Car classes used Rally1 Rally2 Rally3 Rally4 Rally5 Related lists Drivers Champions Fema...

Russian physicist (1916–2009) You can help expand this article with text translated from the corresponding article in Russian. (May 2019) Click [show] for important translation instructions. View a machine-translated version of the Russian article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translate...

 

  Calliope Calliope calliope.TaxonomíaReino: AnimaliaFilo: ChordataClase: AvesOrden: PasseriformesFamilia: MuscicapidaeGénero: CalliopeGould, 1836[1]​Especie tipo Motacilla CalliopePallas, 1776[2]​Especies Véase el texto. [editar datos en Wikidata] Calliope es un género de aves paseriformes perteneciente a la familia Muscicapidae.[1]​ Sus miembros son ruiseñores nativos de Asia que anteriormente se clasificaban en el género Luscinia.[1]​ Especies S...

 

2008 musical television film For other uses, see Camp Rock (disambiguation). Camp RockExtended Rock Star Edition DVD coverWritten by Karin Gist Regina Hicks Julie Brown Paul Brown Directed byMatthew DiamondStarring Demi Lovato Joe Jonas Meaghan Martin Maria Canals-Barrera Daniel Fathers Alyson Stoner ComposerDavid KitayCountry of originUnited StatesOriginal languageEnglishProductionProducerKevin LaffertyCinematographyDean CundeyEditorGirish BhargavaRunning time99 minutesProduction companiesSu...

Antibiotic FidaxomicinClinical dataTrade namesDificid, DificlirOther namesClostomicin B1, lipiarmicin, lipiarmycin, lipiarmycin A3, OPT-80, PAR 01, PAR-101, tiacumicin BAHFS/Drugs.comMonographLicense data EU EMA: by INN US DailyMed: Fidaxomicin US FDA: Fidaxomicin Pregnancycategory AU: B1 Routes ofadministrationBy mouthATC codeA07AA12 (WHO) Legal statusLegal status AU: S4 (Prescription only) CA: ℞-only UK: POM (Prescription only) ...

 

Atletismo nosJogos Olímpicos de Verão de 2016 Provas de pista 100 m masc fem 200 m masc fem 400 m masc fem 800 m masc fem 1500 m masc fem 5000 m masc fem 10000 m masc fem 100 m com barreiras fem 110 m com barreiras masc 400 m com barreiras masc fem 3000 mcom obstáculos masc fem Revezamento 4×100 m masc fem Revezamento 4×400 m masc fem Provas de estrada Maratona masc fem 20km marcha atlética masc fem 50km marcha atlética masc Provas de campo Salto em distância masc fem Salto tr...

 

Short form of cricket played by women in UK This article is about the women's game played in England and Wales. For another variant sometimes called softball cricket, see tennis ball cricket. Logo used by the ECB to promote women's softball cricket Softball cricket or Soft ball cricket is a short form variation of the sport of cricket, played by women and girls in England and Wales. It is different from women's cricket: the latter is sometimes referred to as women's hardball cricket where a d...

2003 film by Mathieu Kassovitz GothikaTheatrical release posterDirected byMathieu KassovitzWritten bySebastian GutierrezProduced by Joel Silver Robert Zemeckis Susan Levin Starring Halle Berry Robert Downey Jr. Charles S. Dutton John Carroll Lynch Bernard Hill Penélope Cruz CinematographyMatthew LibatiqueEdited byYannick KergoatMusic by Lior Rosner John Ottman ProductioncompaniesWarner Bros. PicturesColumbia PicturesDark Castle EntertainmentDistributed byWarner Bros. Pictures (North America/...

 

National park reserve in British Columbia, Canada Pacific Rim National Park ReserveIUCN category VI (protected area with sustainable use of natural resources)[1]Pacific Rim National Park Reserve on Vancouver IslandLocation of Pacific Rim National Park Reserve in CanadaShow map of CanadaLocation of Pacific Rim National Park Reserve in British ColumbiaShow map of British ColumbiaLocationVancouver Island, British Columbia, CanadaNearest cityTofino and UclueletCoordinates48°38′10...

 

American artist (born 1961) Heather SheehanSelf-portrait 2016, With an Ear to the Past (black and white photography)Born (1961-12-09) December 9, 1961 (age 61)Mount Vernon, New York, United StatesNationalityAmericanKnown forInstallation, Performance, Black and White Photography, Video art, SculptureMovementPerformance art Video artSpouseIvo Ringe Heather Sheehan (born December 9, 1961) is an American artist who lives and works in Cologne, Germany. In her work, she combines elements ...

ИсламСтолпы ислама Свидетельство веры Молитва Пост Милостыня Паломничество Столпы веры Аллах (Единобожие) Ангелы Пророки Писания Судный день Предопределение История и представители Мухаммед Халифы Сахаба Ансары Мухаджиры Саляфы 12 имамов Основные течения Сунниты Ш...

 

Voce principale: Forti di Genova. Forte PuinFortificazioni settentrionali di GenovaUbicazioneStato Regno di Sardegna, Ducato di Genova Stato attuale Italia RegioneLiguria CittàGenova IndirizzoVia delle Baracche - 16136 Genova (GE) Coordinate44°26′48.08″N 8°56′15.9″E / 44.44669°N 8.93775°E44.44669; 8.93775Coordinate: 44°26′48.08″N 8°56′15.9″E / 44.44669°N 8.93775°E44.44669; 8.93775 Informazioni generaliTipoForte Costruzione1815-1830...

 

هنرى ميشيل (لاعب كورة قدم) (بالفرنساوى: Henri Michel)    معلومات شخصيه اسم الولاده (بالفرنساوى: Henri Louis Michel)[1]  الميلاد 28 اكتوبر 1947[2][1]  آكس اون بروفانس[1]  الوفاة 24 ابريل 2018 (71 سنة)[3][1][4]  جاردان[1]  سبب الوفاة سرطان  الطول مركز اللعب ...

Гран-при Европы 1999 годаангл. Warsteiner Grand Prix of Europe Дата 26 сентября 1999 Место Нюрбург, Германия Трасса Нюрбургринг Дистанция 66 кругов, 300,679 км Погода Облачно, холодно, влажно Поул 1:19,910 Хайнц-Харальд ФрентценJordan-Mugen-Honda Быстрый круг 1:21,28264-й круг Мика ХаккиненMcLaren-Mercedes Поди...

 

American Roman Catholic retired bishop His Excellency, The Most ReverendEdward Kenneth BraxtonBishop Emeritus of BellevilleBishop Braxton in 2009DioceseDiocese of BellevilleAppointedMarch 15, 2005InstalledJune 22, 2005RetiredApril 3, 2020PredecessorWilton Daniel GregorySuccessorMichael G. McGovernOrdersOrdinationMay 13, 1970by John P. CodyConsecrationMay 17, 1995by Justin F. Rigali, J. Terry Steib, and Paul A. ZipfelPersonal detailsBornEdward Kenneth Braxton (1944-06-28) June 28, 19...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!