r/learnpython • u/Dzhama_Omarov • Jan 03 '25
Are extensions like Cython really turn Python into a compiled language?
I was chatting with chatGPT the other day and he told me about compiled and interpreted languages. He’s also told me about extensions like Cython that aim to make your Python code compiled. So, I was wondering if they really give your code the benefits of compiled languages or they work in a different way
P.s. I apologize in advance if my question makes no sense. I’ve never dealt with compiled languages and I have vague knowledge about them
0
Upvotes
-1
u/Dzhama_Omarov Jan 03 '25
Thank you for your kind words! Well, sometimes you can’t understand what stands behind actions of other people and we just have to live with that :)
As for GPTs answer, it’s very interesting to find what causes this „bug“. I call it a bug because when you ask GPT to spell the word he says „r“ three times and he is aware that there is one letter in the first part of the word and two at the second part