Re:gh-116167: Allow disabling the GIL
by nextlevelwizard on Monday March 11, 2024 @04:52PM
(#39673107)
except nothing enforces your types at run time, you can have typi hints all you want and everyone else cn ignore them
[ Parent
| on HN ]
Re:gh-116167: Allow disabling the GIL
by aunderscored on Monday March 11, 2024 @05:57PM
(#39673699)
Same exists with laws. And in most languages if I want to avoid the type system and hand you a goldfish instead of an int, I can. It just may take more effort. Other language will blow up too if you hand them strange things. Just like python those languages have ways to verify you're not passing goldfish, You just may need more or less effort to use them
Re:gh-116167: Allow disabling the GIL
by nextlevelwizard on Tuesday March 12, 2024 @02:34AM
(#39676747)
Thats a lot of words for: yeah, you are right
Re:gh-116167: Allow disabling the GIL
by aunderscored on Tuesday March 12, 2024 @05:15PM
(#39685049)
A lot of words for "yes, but all languages have this problem." The amount of effort to break the type system is the only difference.
Re:gh-116167: Allow disabling the GIL
by nextlevelwizard on Wednesday March 13, 2024 @04:49PM
(#39697305)
any type safe lnguage will indeed "blow up" while python just continues and you dont get as much as a warning. you are wrong take the L