note35 / TypeErasure-Learning

A type erasure example in Python

Repository from Github https://github.comnote35/TypeErasure-LearningRepository from Github https://github.comnote35/TypeErasure-Learning

Type Erasure Learning

This repo contains examples related to type erasure.

  • type_erasure_example_in_cpp.cc
  • type_erasure_example_in_py/
    • Explains how C removes the type annotation in Python and keeps the type annotation in C
  • type_erasure_example_in_cpp/
    • Explains how C maintains the reference count of Python object

About

A type erasure example in Python


Languages

Language:C++ 54.3%Language:Python 39.4%Language:Shell 6.3%