answersLogoWhite

0

Can you merge c and perl?

User Avatar

Anonymous

17y ago
Updated: 2/12/2020

Yes, C and Perl can be made to talk together quite well. XS (http://en.wikipedia.org/wiki/XS_(Perl)) is the most widely used method for doing this - it allows you to write binding to C or C++ code so it can be called as a perl subroutine. Inline::C (http://search.cpan.org/~ingy/Inline-0.44/C/C.pod) is another method - it allows you to write C code inside Perl code and generates the necessary XS automatically. If you want to call perl code from C, you can link against libperl.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

The PHP syntax is similar to which languages?

Its similar to a number of languages such as C, C++, Java and Perl.


The PHP syntax is most similar to?

Perl and C


What are two types of programming languages?

C++, Perl, Fortran


Which programming language is used to develop Linux operating system?

C, C++ and scripts in Bash, Perl and Python


The easy logic of Merge sort in C?

Top down merge sort is the easy way of merge sort in C language . It is used to derived o(n log n) algorithm . This is in par with the other methods.


Who created 'C Plus Plus ' language and when?

C ++ is a computer progamming language just like Java, Python and Perl or even its predecessor 'C'.


What is the Linux program language called?

Linux is a platform, and as such supports a myriad of programming languages. Of these languages C, C++, Java, Python and Perl are very popular, but there are many other programming languages. Some, like Python and Perl are 'interpretive' and similar in this respect to 'BASIC'. C and C++ are compiled, and Java sits somewhere between them.


How many programming languages are based on C?

C++, Java, Perl, Python, PHP, JavaScript, LPC, C# is the most popular languages based on C, but there is probably more languages.


What are some facts about Perl?

Perl is a programming language. Perl is an interpreted programming language. Perl is very useful for shell scripts, application programming, and web applications. Perl is quite easy to learn. Perl can be, but does not have to be, object-oriented. Perl was created by Larry Wall. Perl has probably the best implementation of regular expressions in existence.


Can you sort these programming languages from easiest to hardest 1) Java 2) C 3) C plus plus 4) C sharp 5) Objective-C 6) PHP 7) Python 8) VB 9) SQL 10) JavaScript 11) Perl 12) Ruby 13) HTML?

HTML, JavaScript, PHP, SQL, Visual Basic, Java, C#, Ruby, Python, C, C++, Objective-C, Perl.


Is PHP an easy language to learn?

I found it easy because I already knew a fair bit of C++, C and Perl. The syntaxes are very similar


Where can one find information about Learning Perl?

There are a number of sites that provide information about how to learn the Perl programming language. They include Learn Perl, Learning Perl and Perl Tutorial Hub. Amazon and other good booksellers have a wide range of Perl books available.