Chapter 4. Interoperability

In this chapter, we focus on the cooperation between Julia and other languages and with the underlying operating system.

Developers of Julia naturally focused on calling from Julia, and most of the discussions will be concerned with that; however, handles were provided to go the other way and call Julia from C and hence, incorporate it into foreign code, and a brief overview of this is given at the end of this chapter.

Interfacing with other programming environments

Julia has a rich and varied syntax, but it was always known that a vast wealth of code existed in object libraries covering a wide range of specialities. So, a simple mechanism to call functions from these libraries would prove to be useful, and a one-line ...

Get Julia: High Performance Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.