Amit Saha 1/26/2018

Data in C and CPython

Read Original

This article concludes a three-part series analyzing fundamental data handling differences between C and CPython. It explains that assignment in C copies data, while in CPython it creates a binding (reference) to an object, with behavior depending on mutability. It also compares function parameter passing: C uses call-by-value or call-by-reference, while CPython always passes object bindings.

Data in C and CPython

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes