Compiler Hacking: Reducing Heap Allocations using a Smart Pointer
Tim Morgan
Let's improve the speed of integer math by avoiding heap allocation when possible. We'll make use of the smart pointer we created in the last video to intelligently synthesize an object on-the-fly.
About the Project: Natalie is a very early-stage work-in-progress Ruby implementation that compiles Ruby to an executable. It does so by transpiling Ruby to C++ and feeding it to gcc or clang to produce a binary.
GitHub: https://github.com/seven1m/natalie Twitter: https://twitter.com/timmrgn
#programming #compiler #smartpointer #pointer #heap ... https://www.youtube.com/watch?v=FTA6_YAhnXk
2021-02-16
0.0 LBC
Copyrighted (contact publisher)
228883490 Bytes