Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Podcast.__init__: Episode 45 - Cython with Craig Citro and Robert Bradshaw

$
0
0

Visit our site to listen to past episodes, support the show, join our community, and sign up for our mailing list.

Summary

Do you find yourself reaching for a different language when you need some extra speed? With Cython you can get the best of both worlds by writing your code in Python and executing it as compiled code. In this episode we were joined by Craig Citro and Robert Bradshaw from the Cython project to discuss how and when you might want to incorporate it into your applications.

Brief Introduction

  • Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
  • Subscribe on iTunes, Stitcher, TuneIn or RSS
  • Follow us on Twitter or Google+
  • Give us feedback! Leave a review on iTunes, Tweet to us, send us an email or leave us a message on Google+
  • Join our community! Visit discourse.pythonpodcast.com for your opportunity to find out about upcoming guests, suggest questions, and propose show ideas.
  • I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable. For details on how to support the show you can visit our site at pythonpodcast.com
  • Linode is sponsoring us this week. Check them out at linode.com/podcastinit and get a $20 credit to try out their fast and reliable Linux virtual servers for your next project
  • I would also like to thank Hired, a job marketplace for developers, for sponsoring this episode of Podcast.__init__. Use the link hired.com/podcastinit to double your signing bonus.
  • Your hosts as usual are Tobias Macey and Chris Patti
  • Today we are interviewing Craig Citro and Robert Bradshaw
Linode Sponsor Banner

Use the promo code podcastinit20 to get a $20 credit when you sign up!

Hired Logo

On Hired software engineers & designers can get 5+ interview requests in a week and each offer has salary and equity upfront. With full time and contract opportunities available, users can view the offers and accept or reject them before talking to any company. Work with over 2,500 companies from startups to large public companies hailing from 12 major tech hubs in North America and Europe. Hired is totally free for users and If you get a job you’ll get a $2,000 “thank you” bonus. If you use our special link to signup, then that bonus will double to $4,000 when you accept a job. If you’re not looking for a job but know someone who is, you can refer them to Hired and get a $1,337 bonus when they accept a job.

Interview with Craig Citro and Robert Bradshaw

  • Introductions
  • How did you get introduced to Python? - Chris
  • What is Cython and how did the project get started? - Tobias
  • My understanding is that Cython can improve the performance of a Python program without even having to provide any type annotations. How does it manage to do that? - Tobias
  • Can a Cython module be used as a way to sidestep the GIL? What are some of the pitfalls that can be caused by doing so? - Tobias
  • Can you give some examples of how Cython can be used to improve the perfomance of Python programs? - Tobias
  • How does Cython work under the covers? - Tobias
  • What were some of the challenges during the creation of Cython and what design decisions were made to overcome them? - Tobias
  • Does Python’s cross platform nature create any unique challenges when compiling down to the C level? - Chris
  • What processor and system architectures does Cython support and are there plans to expand that support? - Tobias
  • How do generators and list comprehensions map to C, and did those higher level language constructs pose any special challenges in Cython’s design? - Chris
  • Would Rust ever be a potential compile target for performance and safety optimized modules? - Tobias

Keep In Touch

Picks

Links

The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

Visit our site to listen to past episodes, support the show, join our community, and sign up for our mailing list. Summary Do you find yourself reaching for a different language when you need some extra speed? With Cython you can get the best of both worlds by writing your code in Python and executing it as compiled code. In this episode we were joined by Craig Citro and Robert Bradshaw from the Cython project to discuss how and when you might want to incorporate it into your applications. Brief Introduction Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great. Subscribe on iTunes, Stitcher, TuneIn or RSS Follow us on Twitter or Google+ Give us feedback! Leave a review on iTunes, Tweet to us, send us an email or leave us a message on Google+ Join our community! Visit discourse.pythonpodcast.com for your opportunity to find out about upcoming guests, suggest questions, and propose show ideas. I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable. For details on how to support the show you can visit our site at pythonpodcast.com Linode is sponsoring us this week. Check them out at linode.com/podcastinit and get a $20 credit to try out their fast and reliable Linux virtual servers for your next project I would also like to thank Hired, a job marketplace for developers, for sponsoring this episode of Podcast.__init__. Use the link hired.com/podcastinit to double your signing bonus. Your hosts as usual are Tobias Macey and Chris Patti Today we are interviewing Craig Citro and Robert Bradshaw Use the promo code podcastinit20 to get a $20 credit when you sign up! On Hired software engineers designers can get 5+ interview requests in a week and each offer has salary and equity upfront. With full time and contract opportunities available, users can view the offers and accept or reject them before talking to any company. Work with over 2,500 companies from startups to large public companies hailing from 12 major tech hubs in North America and Europe. Hired is totally free for users and If you get a job you’ll get a $2,000 “thank you” bonus. If you use our special link to signup, then that bonus will double to $4,000 when you accept a job. If you’re not looking for a job but know someone who is, you can refer them to Hired and get a $1,337 bonus when they accept a job. Interview with Craig Citro and Robert Bradshaw Introductions How did you get introduced to Python? - Chris What is Cython and how did the project get started? - Tobias My understanding is that Cython can improve the performance of a Python program without even having to provide any type annotations. How does it manage to do that? - Tobias Can a Cython module be used as a way to sidestep the GIL? What are some of the pitfalls that can be caused by doing so? - Tobias Can you give some examples of how Cython can be used to improve the perfomance of Python programs? - Tobias How does Cython work under the covers? - Tobias What were some of the challenges during the creation of Cython and what design decisions were made to overcome them? - Tobias Does Python's cross platform nature create any unique challenges when compiling down to the C level? - Chris What processor and system architectures does Cython support and are there plans to expand that support? - Tobias How do generators and list comprehensions map to C, and did those higher level language constructs pose any special challenges in Cython's design? - Chris Would Rust ever be a potential compile target for performance and safety optimized modules? - Tobias Keep In Touch Craig Twitter GitHub Website Robert Email Picks Tobias Certificates, Reputation, and the Blockchain Craig Curious Kids Science Book by Asia Citro dplyr magrittr Everything Is Obvious: How Common Sense Fails Us by Duncan Watts Robert Mo Willems Philips Hue Lights Sage Math Cloud Links Sage (Math) Pyrex) The intro and outro m

Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>