CSC/ECE 517 Fall 2010/ch3 3i IC

From Expertiza_Wiki
Jump to navigation Jump to search

Mixing Static and Dynamic Language Code


Introduction

Many middleware solutions have been developed to combine static and dynamic languages to take advantage of both types of code. Previous wiki chapters have discussed JRuby, a Java implementation Ruby. Below, we will give even more examples of mixing several widely used dynamic languages with C, C++, and Java.

Mixing Dynamic Code With C/C++

Ruby

Ruby has an inherent relationship with the C language since the current Ruby implementation is written in C.

Python

Lua

Mixing Dynamic Code Into Java

Perl