YoVDO

Dynamic, Recursive, Heterogeneous Types in Statically-Typed Languages

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Type Inference Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore dynamic, recursive, heterogeneous types in statically-typed languages in this CppNow conference talk. Delve into the challenges of representing dynamic dictionaries in C++ and discover a novel solution that leverages unique static-typing features. Learn how type-inference, user-defined conversions, type selection, and overloading can be combined to create a more intuitive approach to manipulating dynamic constructs. Examine the similarities and differences between dynamically-typed languages like Python and statically-typed languages like C++, and understand how to bridge the gap between them. Gain insights into implementing Python-like dictionaries and lists in C++, including techniques for inserts and deletes. This comprehensive presentation covers topics such as heterogeneous vs. homogeneous data structures, lessons from embracing Python, backwards compatibility, and practical implementation details.

Syllabus

Introduction
Abstract
Python dictionaries
Why Python
Outline
DynamicallyTyped
StaticallyTyped
Heterogeneous vs Homogeneous
Recursive
History
Opal
Opal Success
Opal failures
Extraction
Number
M2K Lessons
Python
Lessons from embracing Python
Python is popular
Python inheritance
Python interpreter
The Holy Trinity
Python vs C
Implementation details
Vowel implementation
String implementation
Overload
Backwards Compatibility
Size T
Valve
Ifdef
Type Selection
UserDefined Conversion
Summary
Dictionaries
Python List
Python Dictionary
Inserts and Deletes


Taught by

CppNow

Related Courses

Your Favorite Undefined Behavior in C++
CppNow via YouTube
Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube
Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube
Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube
Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube