Language Composition

How do you glue languages together such that one can use multiple languages in a single source file? Our most recent concrete example has been to compose PHP and Python. We have a language composition editor which allows one to replace PHP functions with Python functions (with nice features like cross-language name scoping) within a single file. We then save these out and use PyPy-esque techniques to glue together multiple language VMs: we run them through a composed HP (Hippy) + Python (PyPy) RPython meta-tracing VM. Even with mixed source files, our performance is better than the stock PHP interpreter.

Start time:
Location: SFO Commons
Duration: 50 minutes

Sign in so you can help adding tags to this event

Views since archived: 10,759

Small (640x380) Big (896x504)

WebM (HD) , Mpeg4 (HD)
To download, right-click and select "Save Link As..."

Comments

Loading comments. Please wait…

You must be signed in to post comments.