Skip to content
Coconut with Evan Hubinger episode artwork

Jun 4, 2017 33 min

Coconut with Evan Hubinger

from The Python Podcast.__init__ Hosted by Tobias Macey

Summary Functional programming is gaining in popularity as we move to an increasingly parallel world. Sometimes you want access to purely functional syntax and capabilities but you don’t want to have to learn an entirely new language. Coconut is here to help! This week Evan Hubinger explains how Coconut is a functional language that compiles to Python and can be mixed and matched with the rest of your program. Preface Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great. I would like to thank everyone who supports us on Patreon. Your contributions help to make the show sustainable. When you’re ready to launch your next project you’ll need somewhere to deploy it. Check out Linode at www.podastinit.com/linode?utm_source=rss&utm_medium=rss and get a $20 credit to try out their fast and reliable Linux virtual servers for running your awesome app. Visit the site to subscribe to the show, sign up for the newsletter, read the show notes, and get in touch. To help other people find the show please leave a review on iTunes, or Google Play Music, tell your friends and co-workers, and share it on social media. Your host as usual is Tobias Macey and today I’m interviewing Evan Hubinger about Coconut, a functional language implemented as a superset of Python Interview Introductions How did you get introduced to Python? Can you start by explaining what Coconut is and what problem you were trying to solve when you created it? Where did the name come from? How is Coconut implemented and what does the compilation process for Coconut code look like? How will I be able to debug my Python if I’m not the one writing it? The documentation mentions that Coconut itself is compatible with both Python 2 and 3, are there any caveats to be aware of in terms of mixing in standard Python syntax? Are there any performance optimizations that you have had to perform in order to make things like recursion and pattern matching work at reasonable speeds in the Python VM? Which functional languages have you taken inspiration from during the creation of Coconut? What are some of the most interesting or unexpected uses of Coconut that you have seen? What are some resources that you recommend for people who are interested in learning more about functional programming? Keep In Touch Coconut Website GitHub Tutorial Documentation FAQ Chat room Evan GitHub LinkedIn Picks Tobias ElementTree Evan pyparsing is an awesome PyPI package you should check out The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Coconut with Evan Hubinger

0:00 33:31

Chapters

  1. 0:14 Introduction and Guest Introduction
  2. 1:11 Evan's Introduction to Python
  3. 2:02 What is Coconut?
  4. 3:14 Coconut vs Other Tools
  5. 5:03 Naming and Community Traditions
  6. 5:40 Coconut Compiler Implementation
  7. 7:26 Benefits of Pure Python Implementation
  8. 8:49 Handling Python Versions and Limitations
  9. 10:59 Performance Optimizations in Coconut
  10. 12:24 Algebraic and Immutable Data Types
  11. 15:22 Functional Paradigms Influencing Coconut
  12. 17:05 Learning Coconut and Functional Programming
  13. 18:39 Use Cases and Implementations
  14. 20:41 Challenges in Building and Growing Coconut
  15. 22:00 Technical Hurdles and Solutions
  16. 24:16 Coconut's Stability and Adoption
  17. 25:47 Readability of Compiled Output
  18. 27:25 Inspiration and Motivation for Coconut
  19. 29:02 Historical Note: Rabbit
  20. 30:27 Picks and Recommendations

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Python Podcast.__init__?

This episode is 33 minutes long.

When was this The Python Podcast.__init__ episode published?

This episode was published on June 4, 2017.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this The Python Podcast.__init__ episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.