© J.J. Merelo 2020
J. MereloRaku Recipeshttps://doi.org/10.1007/978-1-4842-6258-0_14

14. Interfacing with Library and Code in Other Languages

J. J. Merelo1 
(1)
Granada, Granada, Spain
 

The world is full of (open source) code to be reused in your applications. If only it were already written in Raku… No worries! Raku was designed to embed other languages, from calling libraries that use C or C++ calling conventions to full-fledged code in other languages such as Perl, Python, or even subsets of JavaScript. In this chapter, this will be the main theme: working with code written in a variety of other languages. You can extend that to higher levels and even extend it to languages that are embeddable and written in C, like Perl.

Recipe 14-1. Embed Perl ...

Get Raku Recipes: A Problem-Solution Approach 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.