|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/type-safe-interfaces-with-modern-c-v/
课程评论:没有评论
课程名称:使用现代C++的类型安全接口 课程概述:在本课程中,我们将学习如何利用C++的类型系统编写正确、安全且高效的代码。首先,我们将探讨标准库中的“代数数据类型”,了解它们如何提高应用程序/库的安全性、性能和可读性。接下来,我们将重点关注函数接口,例如,编写一个接受字符串的函数,使其在处理std::string和const char*时性能最优,这听起来似乎是一个复杂的任务,尤其是当函数输入为其他函数时。这些问题是否有可能被概括并提供“完美”的接口呢? 关于讲师:维托里奥·罗梅欧(Vittorio Romeo)是彭博社的 software engineer。他在“梅西那大学”获得计算机科学学士学位,并在很小的时候便开始编程,目前是一名C++爱好者。维托里奥一直关注C++标准的发展,并积极采用最新特性,参与多个开源项目,包括现代通用库和免费跨平台游戏。他还是C++社区的活跃成员,曾在CppCon 2014/2015/2016、++it佛罗伦萨2015及当地Linux日活动中担任讲者,并在C++Now 2015/2016及Meeting C++ 2015/2016中担任学生/志愿者。他目前维护一个与C++相关的博客,并运营一个YouTube频道,分享广受好评的现代C++11和C++14教程。除了编写代码,维托里奥还喜欢举重和健身、竞技游戏,以及优秀的科幻电影和电视剧。
In this course we'll learn how to write correct, safe, and performant code by making use of C++'s type system. Firstly, we'll learn about the Standard Library's "algebraic data types" and how they can increase safety, performance, and readability of your application/library. We'll then look at function interfaces. As an example, writing a function that takes a string in such a way that it performs optimally with both std::string and const char* seems like a daunting task. It gets even more tricky with functions taking other functions as input. Is it possible to generalize these issues and provide the "perfect" interface?About the Author:Vittorio Romeo is a Software Engineer at Bloomberg LP. He completed his Bachelor's degree in Computer Science at "Università degli Studi di Messina". He began programming at a very young age and is now a C++ enthusiast. While following the evolution of the C++ standard and embracing the newest features, he worked on several open-source projects, including modern general-purpose libraries and free cross-platform games. Vittorio is an active member of the C++ community: he participated as a speaker at CppCon 2014/2015/2016, ++it Florence 2015 and at his local Linux Day 2013/2014 events, as a Student/Volunteer at C++Now 2015/2016, at Meeting C++ 2015/2016. He currently maintains a C++-related blog and a YouTube channel featuring well-received modern C++11 and C++14 tutorials. When he's not writing code, Vittorio enjoys weightlifting and fitness-related activities, competitive/challenging computer gaming and good sci-fi movies/TV-series.