help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixed Languages Programming


From: divoplade
Subject: Re: Mixed Languages Programming
Date: Thu, 11 Mar 2021 01:00:30 +0100
User-agent: Evolution 3.34.2

Hello,

Le jeudi 11 mars 2021 à 08:23 +0900, Yasuaki Kudo a écrit :
> Does anyone have an insight into mixing different programming
> language?  Say Visual Basic, Java, Racket, Haskell, etc

I am aware of 3 different kinds of approaches:
- writing programs in different languages, with one programming
language occupying a whole process (so, web services as you say, or
scripts, or an org-mode file, for instance);
- extending a "managed" programming language with C or C++ code; in
theory it could be possible to do the same for two different
programming languages and link both C interfaces together; this is what
SWIG (http://swig.org/) does, but using some language in another
language that way feels a lot like coding in C;
- using a common virtual machine as the target for the compilation of
many different languages (like elisp and scheme for guile).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]