News for hackers. Stuff that matters.
Re:Calling Rust from Python using PyO3 by fezzez on Sunday November 28, 2021 @09:08AM (#29368988)
I don't get it. What's the pun?
Re:Calling Rust from Python using PyO3 by drexlspivey on Sunday November 28, 2021 @09:17AM (#29369050)
It’s a chemistry pun about the process of oxidation, oxides (such as rust) have a chemical formula of XO3 where X is the oxidized element. The library is called Py Oxide (PyO3) where the oxidized element is Python
Re:Calling Rust from Python using PyO3 by gopiandcode on Sunday November 28, 2021 @09:12AM (#29369015)
FeO3 (Iron Oxide) can be referred to as Rust and presumably the name PyO3 makes reference to that.
Re:Calling Rust from Python using PyO3 by dijit on Sunday November 28, 2021 @09:18AM (#29369053)
It’s a double pun because -O3 is the highest optimisation level for many compilers.
Re:Calling Rust from Python using PyO3 by cosmic_quanta on Sunday November 28, 2021 @09:52AM (#29369327)
This explains why they didn't go with PyO2!
Re:Calling Rust from Python using PyO3 by barefeg on Sunday November 28, 2021 @09:14AM (#29369040)
Python Oxide