Bridging the Language gap : A Tale of Python & Javascript

Shuvam Manna (~shuvam)


There are people who love python. Then there are people who love Javascript.

Python is the language that powers a lot of utilities and has emerged as one of the leading languages for tasks as intensive as Machine Learning to being fluent enough for novices to learn. Javascript, on the other hand, has come a long way from just making webpages interactive to be the most versatile language ever. The question remains, while one is a Braces-enabled language the other is no-braces, while one ignores your spaces and tabs whilst in the other, every indent matters, how can we convert them across to one another OR use them in the same program block without interrupting the flow. This talk would explore how we can interchangeably use Python and Javascript, translate the languages back and forth, or how we embed code of one language into the other to take the best advantage of both of them.

Motivation :

One of my first jobs in my first Internship was to convert a piece of Python code to Javascript. 6 hours and 2 glasses of water later, an 84-line Python code became a 150+ line strong Javascript juggernaut. Something we can correct course on.

Key takeaways :

  • Learn about the key syntactical differences between languages.
  • How to respect Language grammar/regulations while converting the code.
  • Different approaches to mix Javascript and Python in a single codebase.

Content :

  • Introduction (Who Am I?) [1 min].
  • Overview of Python and Javascript [10 min].
  • How Javascript Works [3 min].
  • How Python Works [2 min].
  • The trends in compiling different languages to a common High-level language [3 min].
  • Ensuring the absence of conflicts between languages [2 min].
  • Converting code with Jiphy [6 min].
  • Formatting code to ensure a clean output (How Jiphy works).
  • Looking at other Approaches [8 min].
  • Embedding native Python code in Javascript.
  • An overview of the Pyjs.
  • Q&A.


A basic understanding of Python and Javascript.

Content URLs:

Speaker Info:

  • A 3rd Year Student of Computer Science and Engineering, from Kolkata.
  • Developer Student Club Lead - A program powered by Google Developers for University Students.
  • National Finalist at NASA Space Apps Challenge.
  • Primary focus on Web Development and Cloud Computing, I love exploring new technologies and fiddling them to augment them in unusual ways into existing apps/ sites/ systems.
  • Star Wars Nerd, I am a Violinist and love taking Photos.
  • I believe Communities are important, and the concept of giving back is fundamental. I am a regular speaker at GDG and Facebook Developer Circle Meetups, as well as have spoken in Elasticsearch events as well as DevFest. I try to share all the weird stuff that I do with the community and learn from others.

Speaker Links:

Id: 1115
Section: Web development
Type: Talks
Target Audience: Beginner
Last Updated: