Is Polyglot Programming Really a Thing?
summary
Polyglot code is common: examples include OpenJDK and TensorFlow mixing C, C++, Java and Python, and frameworks using CUDA/OpenCL kernels embedded as strings that escape static analysis. Native bridges like JNI and Erlang NIF force brittle, handwritten type and memory mappings. Experiments on large repos show OpenJDK’s 30–35k tests and a regression-selection prototype that currently misses about 10% of relevant tests. Real failures include silent int→float promotions in GPU kernels that produce wrong results.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:47Defining polyglot programming
- 3:56Polyglot integration categories
- 8:36Bindings approach
- 13:55Challenges in interconnection
- 18:59Gaps in development support
- 21:29Future of polyglot programming
- 23:42Q&A
related talks
52mProud to Be Polyglot!
26mEffective Patterns and Practices for Polyglot Programming
01h 08mThree Programming Disruptions
22mUser-Customizable Transpilation of Scripting Languages
32mMind the Gap: General-Purpose Programming Languages Impede Scientific Model(…)
01h 02mProcedural Programming: It Never Went Away
59mCode?
14mSpeaking in Different Tongues: balancing a code base across different languages
