Hi! This is part 9 of my Python behind the scenes series. Each part of the series covers how some aspect of the language is implemented in the CPython interpreter. This time we'll study how Python strings work. Here's a quick summary of what you'll find in the post:<p><pre><code> * What the problem of text encoding is.
* What Unicode is and why we need it.
* How Unicode works.
* How Python strings worked in the past and how they work now.
* Is Python's approach to implement strings the best? How modern languages such as Go, Rust and Swift implement strings.
</code></pre>
I really enjoyed working on this post. I welcome your feedback and questions. Thanks!