Transcrypt with Jacques de Hooge

The Python Podcast.__init__

Episode | Podcast

Date: Sat, 26 Mar 2016 06:00:00 -0400

<p>Visit our <a href="http://pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to listen to past episodes, support the show, join our <a href="https://discourse.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">community</a>, and sign up for our mailing list.</p> <h3>Summary</h3> <p>Any programmer who has dealt with a website for any length of time knows that writing JavaScript isn’t always the most enjoyable. Wouldn’t you rather write that code in Python and just have it work on your website? In this episode we learn about <a href="http://transcrypt.org?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Transcrypt</a> with its creator Jacques de Hooge. Transcrypt is a Python to JavaScript transpiler that embraces the JavaScript ecosystem while letting you use the familiar syntax of Python for writing your logic, rather than trying to shoehorn a Python runtime into your browser.</p> <h3>Brief Introduction</h3> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.</li> <li>Subscribe on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, <a href="http://www.stitcher.com/s?fid=64838&amp;refid=stpr&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Stitcher</a>, <a href="http://tunein.com/embed/follow/p726240/#?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">TuneIn</a> or <a href="https://www.pythonpodcast.com/feed/mp3/?utm_source=rss&amp;utm_medium=rss">RSS</a></li> <li>Follow us on <a href="https://twitter.com/Podcast__init__?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter</a> or <a href="https://plus.google.com/+Podcastinit-the-python-podcast?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google+</a></li> <li>Give us feedback! Leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, <a href="https://twitter.com/Podcast__init__?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Tweet</a> to us, send us an <a href="mailto:hosts@podcastinit.com">email</a> or leave us a message on <a href="https://plus.google.com/+Podcastinit-the-python-podcast?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google+</a></li> <li>Join our community! Visit <a href="https://discourse.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">discourse.pythonpodcast.com</a> for your opportunity to find out about upcoming guests, suggest questions, and propose show ideas.</li> <li>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 <a href="http://pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com</a></li> <li>Linode is sponsoring us this week. Check them out at <a href="http://linode.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">linode.com/podcastinit</a> and get a $20 credit to try out their fast and reliable Linux virtual servers for your next project</li> <li>I would also like to thank Hired, a job marketplace for developers and designers, for sponsoring this episode of Podcast.__init__. Use the link <a href="http://hired.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">hired.com/podcastinit</a> to double your signing bonus.</li> <li>ODSC East in Boston is happening on May 21st &#8211; 22nd. Use the discount code EP for 20% off when you <a href="https://odsceast.eventbrite.com/?discount=EP&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">register</a></li> <li>Your host today is Tobias Macey</li> <li>Today I am interviewing Jacques de Hooge about his work on the Transcrypt Project</li> </ul> <h3>Interview with Jacques de Hooge</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python? &#8211; Tobias</li> <li>What is Transcrypt and what inspired you to create it? &#8211; Tobias</li> <li>As you mention in the documentation, there are a number of projects that attempt to shoehorn Python into the browser. What makes Transcrypt different? &#8211; Tobias</li> <li>I like that you decided to embrace the web environment by calling into JavaScript libraries. What are some of the challenges that you encountered while creating that functionality? &#8211; Tobias</li> <li>How is the transpilation performed and what are some of the methods that you used to get the build size as small as it is? &#8211; Tobias</li> <li>Given the nature of JavaScripts prototypical inheritance and differences in class semantics, I imagine that adding support for multiple inheritance and reflecting the structure of Python classes must have been challenging. Can you describe that process and how you arrived at your current solution? &#8211; Tobias</li> <li>Which aspects of the language were most difficult to translate to JavaScript? &#8211; Tobias</li> <li>Is Transcrypt complete and stable enough to be used in production? &#8211; Tobias</li> </ul> <h3>Keep in Touch</h3> <ul> <li><a href="http://transcrypt.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Transcrypt.org</a></li> <li><a href="http://transcrypt.boards.net/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Forum</a></li> <li><a href="https://feeds.fireside.fm/pythonpodcast/info@qquick.org">Email</a></li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="https://github.com/audreyr/cookiecutter?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Cookiecutter</a></li> </ul> </li> <li>Jacques <ul> <li><a href="https://en.wikipedia.org/wiki/Computer_programming?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Programming</a></li> </ul> </li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a><img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Fepisode-50-transcrypt-with-jacques-de-hooge%2F&amp;action_name=Transcrypt+with+Jacques+de+Hooge+-+Episode+50&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" /></p>