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 Mastering Julia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.