From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WASxM4D9U2D9PwAA0tVLHw (envelope-from ) for ; Fri, 19 Mar 2021 01:25:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UMJyL4D9U2DPAgAAbx9fmQ (envelope-from ) for ; Fri, 19 Mar 2021 01:25:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 508CD242DA for ; Fri, 19 Mar 2021 02:25:20 +0100 (CET) Received: from localhost ([::1]:48450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lN3t9-0007K1-0p for larch@yhetil.org; Thu, 18 Mar 2021 21:25:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lN3sh-0007Gp-Fg for help-guix@gnu.org; Thu, 18 Mar 2021 21:24:51 -0400 Received: from mx1.riseup.net ([198.252.153.129]:51144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lN3sd-0002Y5-EZ for help-guix@gnu.org; Thu, 18 Mar 2021 21:24:51 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4F1mQk2XlPzDqgY for ; Thu, 18 Mar 2021 18:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1616117086; bh=OTWrL9BqZBXmjpZop3yAUaz8PLvHftoUR2CKuoOC3tE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=GW2RahRQEn+2nR1ZCaThzeszu4IHkBDd+6GHtneALh5nfV5JZQYghZQkIYEA4emz7 Lws3BAk7npq6WrRcYXK9h1ssG/rBQ6tIYU6YHXlkTxiNXDGm6JprivxeyQnyambnJR wRkNMfKK82P4b8TTLb+5n53QAV8uWkrDaEz4VNt4= X-Riseup-User-ID: 089E53B0710B7C54DC53499DDDD2BAFAAE53F2C4E5FD683576CDB2B39A1F6879 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4F1mQj61fxz5vMs for ; Thu, 18 Mar 2021 18:24:45 -0700 (PDT) Date: Fri, 19 Mar 2021 02:20:31 +0100 From: raingloom To: help-guix Subject: Re: Mixed Languages Programming Message-ID: <20210319022031.01af6d7b@riseup.net> In-Reply-To: <5C46EC3F-80DF-4C26-A9B2-888F2185B60D@yasuaki.com> References: <20210314005957.77361adc@riseup.net> <5C46EC3F-80DF-4C26-A9B2-888F2185B60D@yasuaki.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616117120; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qpk/X9NiG9GIs5Q0oMbgsUwoUT2XrSgZm/qQOHVe2nc=; b=AS3M9Fa+Sl7i7NSmKQHlbIhe85Tw/KYmzsifKk59qwHPVNG3bcBsD1/tfIa6mS7vEEJknW 8oRogK6c8R3qmFoZDC3YrLdOXo3aiythSnkV04w/Jj1kkGNJODll1wgIDKldhbqDfGSkCe F9ebSiNbVfukCKv6EC4T9yk7LHVrzXujkTyOhceVsWlWT4nKiV/QsDzS6puoufKsinAkN5 +ofIFz9zr6mGfWc6xnRRvKtSWjE8GPdzjJU+oo2xEKendQN/+r+qgLo96ZFuKVdfxK8OVi 5n0E11btdONXMwz1eaXWRGrT0ARBMMpGJz4W4It0EHLL0EPqWRScuVLz6lp4UQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616117120; a=rsa-sha256; cv=none; b=DA5bC7K5nA8ypmgSq368xFk6sWCHySIbC3ZcK1U41EPsGgVibsIRiZV7mOTAA2Ahg3jxsj SoA3GbqhQP1shx4PO+cH+EEsJuoMytrW8QCAYvqIx468eGj5uuvS4F1jJjcI/L4XCIldsl 6fOlvxExn7dygJqjxjpO+aWuD/Zco5VeNYR9n+oN3rD0Xi/5+KshonlMzXwnLf0DsR/dc7 3YiopcRrMj6ZLdNoc7nuM1uIBepA71bx1L5ixteiRqPgB4JCEFaBCXscjXdCBGQcEL+laS K+wc7nU0CF1zmf9bRnmFfd56ET+W/ABcIHC6H7zqxTL92oMyjzM0afKYqvNJaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=GW2RahRQ; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=GW2RahRQ; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 508CD242DA X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: mUL0WtHkaPob On Thu, 18 Mar 2021 21:34:40 +0900 Yasuaki Kudo wrote: > > On Mar 14, 2021, at 10:30, raingloom wrote: > >=20 > > =EF=BB=BFOn Thu, 11 Mar 2021 00:26:41 +0100 > > L=C3=A9o Le Bouter wrote: > > =20 > >>> On Thu, 2021-03-11 at 08:23 +0900, Yasuaki Kudo wrote: > >>> Hello! =20 > >>=20 > >> Hello! > >>=20 > >> I think you can use JSON-RPC libraries as modern alternatives to > >> that. Also gRPC. The "micro-service" paradigm. > >> =20 > >>> Is this a topic that is particularly interesting to the Guix > >>> community because of interoperability, mixing packages, etc? =F0=9F= =98=84 > >>> =20 > >>=20 > >> I don't think so, not in particular. > >> =20 > >>> Cheers, > >>> Yasu =20 > >>=20 > >> L=C3=A9o =20 > >=20 > > 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/ > >=20 > > 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. > >=20 > > 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-javascr= ipt > > Of course that one is pre-Spectre/Meltdown, so take it with a grain > > of salt. =20 > I have just thought about dynamic "Rosetta Code" - some software that > generates simple code for the target language, compiles it and tests > the result. >=20 > It might be useful to learn a new language. >=20 > For example, in PowerShell, there is some awkward syntax for an array > of array wherein : >=20 > (,(1,2)) >=20 > If the preceding comma is omitted, it will not be treated as an array > of array. >=20 > 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 =F0=9F=98= =84=20 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.