Out of sheer curiosity and interest in broadening my skills, I was wondering what it would look like to write a library for Python in another language. From what I understand, many libraries like Pandas, NumPy, aiohttp, etc, are written in other languages as a way of mitigating restrictions of the GIL and to generally make them more performant (let me know if I’m totally out to lunch on this).
I’m an intermediate level Python programmer and work as somewhat of a glorified sysadmin managing different infrastructure integrations and our AWS environment. I have a little experience with a couple other languages, but realistically I’ll be starting with the basics. I don’t have a particular use case for a project.
I’m mostly looking clarification on how Python libraries written in other languages work. i.e. How does Python run compiled code written in other languages? Is there some sort of API or wrapper written in the underlying language that that library makes us of? I feel like C, C++, Rust, or Golang would be most practical for this?
Any input would be appreciated!
submitted by /u/Grobyc27
[link] [comments]
r/learnpython Out of sheer curiosity and interest in broadening my skills, I was wondering what it would look like to write a library for Python in another language. From what I understand, many libraries like Pandas, NumPy, aiohttp, etc, are written in other languages as a way of mitigating restrictions of the GIL and to generally make them more performant (let me know if I’m totally out to lunch on this). I’m an intermediate level Python programmer and work as somewhat of a glorified sysadmin managing different infrastructure integrations and our AWS environment. I have a little experience with a couple other languages, but realistically I’ll be starting with the basics. I don’t have a particular use case for a project. I’m mostly looking clarification on how Python libraries written in other languages work. i.e. How does Python run compiled code written in other languages? Is there some sort of API or wrapper written in the underlying language that that library makes us of? I feel like C, C++, Rust, or Golang would be most practical for this? Any input would be appreciated! submitted by /u/Grobyc27 [link] [comments]
Out of sheer curiosity and interest in broadening my skills, I was wondering what it would look like to write a library for Python in another language. From what I understand, many libraries like Pandas, NumPy, aiohttp, etc, are written in other languages as a way of mitigating restrictions of the GIL and to generally make them more performant (let me know if I’m totally out to lunch on this).
I’m an intermediate level Python programmer and work as somewhat of a glorified sysadmin managing different infrastructure integrations and our AWS environment. I have a little experience with a couple other languages, but realistically I’ll be starting with the basics. I don’t have a particular use case for a project.
I’m mostly looking clarification on how Python libraries written in other languages work. i.e. How does Python run compiled code written in other languages? Is there some sort of API or wrapper written in the underlying language that that library makes us of? I feel like C, C++, Rust, or Golang would be most practical for this?
Any input would be appreciated!
submitted by /u/Grobyc27
[link] [comments]