Click here to Skip to main content
15,897,371 members
Articles / Programming Languages / C++

A Tale of Two Binding Mechanisms: Some C++ Love

Rate me:
Please Sign up or sign in to vote.
4.75/5 (4 votes)
3 Oct 2023MIT5 min read 5.4K   26  
Exploit some of the power of C++ and optimize the way your code calls your code.
There are multiple ways to bind to functions in C++ and they have a dramatic impact on the generated code. Here, we explore runtime binding via a vtable vs. source level binding using template.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions