help-guix
[Top][All Lists]
Advanced

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

Re: Mixed Languages Programming


From: raingloom
Subject: Re: Mixed Languages Programming
Date: Fri, 19 Mar 2021 02:20:31 +0100

On Thu, 18 Mar 2021 21:34:40 +0900
Yasuaki Kudo <yasu@yasuaki.com> wrote:

> > On Mar 14, 2021, at 10:30, raingloom <raingloom@riseup.net> wrote:
> > 
> > On Thu, 11 Mar 2021 00:26:41 +0100
> > Léo Le Bouter <lle-bout@zaclys.net> wrote:
> >   
> >>> On Thu, 2021-03-11 at 08:23 +0900, Yasuaki Kudo wrote:
> >>> Hello!    
> >> 
> >> Hello!
> >> 
> >> I think you can use JSON-RPC libraries as modern alternatives to
> >> that. Also gRPC. The "micro-service" paradigm.
> >>   
> >>> Is this a topic that is particularly interesting to the Guix
> >>> community because of interoperability, mixing packages, etc? 😄
> >>>  
> >> 
> >> I don't think so, not in particular.
> >>   
> >>> Cheers,
> >>> Yasu    
> >> 
> >> Léo  
> > 
> > There is an interesting Nix based project that has some actual good
> > use cases for a common intermediate representation:
> > https://publish.illinois.edu/allvm-project/
> > 
> > Chris Webber's talk on Spritely also had some good ideas for using
> > OCAP in Guix to enhance security by a whole lot.
> > https://fosdem.org/2021/schedule/event/spritelygoblins/
> > And that is basically just cross-language remote procedure calls.
> > 
> > Another interesting possibility is to run everything on WASM
> > without an MMU. See the classic The Birth and Death of Javascript
> > talk.
> > https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
> > Of course that one is pre-Spectre/Meltdown, so take it with a grain
> > of salt.  

> I have just thought about dynamic "Rosetta Code" - some software that
> generates simple code for the target language, compiles it and tests
> the result.
> 
> It might be useful to learn a new language.
> 
> For example, in PowerShell, there is some awkward syntax for an array
> of array wherein :
> 
> (,(1,2))
> 
> If the preceding comma is omitted, it will not be treated as an array
> of array.
> 
> My idea is to write some simple code in the language one is familiar
> and let the program translate it to some other language, while using
> Guix to summon the necessary compiler for the target language 😄 

The Rosetta Code website already exists for this use case:
https://rosettacode.org/

But this is not really relevant to Guix.

ps.: I took the liberty of rearranging your mail into a bottom-reply.
Top replying is generally not recommended on mailing lists.



reply via email to

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