|
You are here |
blog.pnkfx.org | ||
| | | | |
rauljordan.com
|
|
| | | | | ||
| | | | |
chadaustin.me
|
|
| | | | | Reference counting is cheap and easy. An integer starts at one, increments on every new reference, and whoever decrements it to zero is responsible for deallocation. | |
| | | | |
adventures.michaelfbryan.com
|
|
| | | | | A while ago someone posted a question on the Rust User Forums asking how to achieve polymorphism in a C API and while lots of good suggestions were made, Id like to explore my take on things. As a recap, Rust provides two mechanisms for letting you write code which will work with multiple types. These are Static Dispatch, where the compiler will generate multiple copies of the function, tailor-made for each type and resolved at compile time, and Dynamic Dispatch, where we use an extra level of indirectio... | |
| | | | |
spacedimp.com
|
|
| | | |||