Supporting Language Interoperability by Dynamically Switched Behaviors.

Jan Kurš, Jan Vraný, Alexandre Bergel · DATESO · 2011

Software programs are often written in more than one programming language as the emergence of domain specific languages testifies. Language in- terpreters are easily embeddable and performances are usually satisfactory. How- ever, inter-language interaction remains a field tarnished by poor performances. The reason is that alien objects are wrapped, implying the use of expensive for- warding and converting mechanism. We propose to represent alien objects as the set of different states and behaviors it may have by moving between languages, thus avoiding wrapping and conversion. We have validated our solution on integration of Java and Smalltalk programming languages.

Read the paper · More papers on PaperTik