From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QG0PJflIU2AjLAAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 12:35:05 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WBW4IPlIU2BkVwAAB5/wlQ (envelope-from ) for ; Thu, 18 Mar 2021 12:35:05 +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 aspmx2.migadu.com (Postfix) with ESMTPS id E5F77AC98 for ; Thu, 18 Mar 2021 13:35:04 +0100 (CET) Received: from localhost ([::1]:59614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMrri-0008Ki-V4 for larch@yhetil.org; Thu, 18 Mar 2021 08:35:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMrrY-0008KV-Qo for help-guix@gnu.org; Thu, 18 Mar 2021 08:34:53 -0400 Received: from mail1.g12.pair.com ([66.39.4.99]:36838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMrrT-00051u-HE for help-guix@gnu.org; Thu, 18 Mar 2021 08:34:51 -0400 Received: from mail1.g12.pair.com (localhost [127.0.0.1]) by mail1.g12.pair.com (Postfix) with ESMTP id 93E27730D5; Thu, 18 Mar 2021 08:34:43 -0400 (EDT) Received: from [10.11.12.15] (w135107.ppp.asahi-net.or.jp [121.1.135.107]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail1.g12.pair.com (Postfix) with ESMTPSA id 3D135730DD; Thu, 18 Mar 2021 08:34:43 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Yasuaki Kudo Mime-Version: 1.0 (1.0) Subject: Re: Mixed Languages Programming Date: Thu, 18 Mar 2021 21:34:40 +0900 Message-Id: <5C46EC3F-80DF-4C26-A9B2-888F2185B60D@yasuaki.com> References: <20210314005957.77361adc@riseup.net> In-Reply-To: <20210314005957.77361adc@riseup.net> To: raingloom X-Mailer: iPhone Mail (18D52) Received-SPF: none client-ip=66.39.4.99; envelope-from=yasu@yasuaki.com; helo=mail1.g12.pair.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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: , Cc: help-guix 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=1616070905; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=Gihp0TJ6jSsMGGPotVAqVlawmq96fhEpcQ92TScknUA=; b=ux26itD/f1Ide/YC/mbAItOVTAU3yJ12nNpBMhz1k7V0trMygFUHg5kulk7xlHNr+R1a7B 4c+UtAdvB1lEimwkXTaKPdKLhUPEIrXpr6AIMPOcSStM2BGjomhV4hH2qIv/VTTHFsvjbV aabG9188meXxs0gZmvzZ/AL5B8DL78kU5n0Ka46mZYrwzzyUPEmOvdpmF69vuhMVYU/y/s NWpa6lsqorbYDQ7CRLAPlz8kyYCen8oOxGQdpaBfwx6tvtdY3bgC6VuFzcfkEHLRQCZ0a7 7S52k/UYbSua2EndfEClIFmS/bRfG++oFgvQ0luXcM0ftWmySAXMdtzKEoMxGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616070905; a=rsa-sha256; cv=none; b=i7EkA9eCx8bmRZJlmk49Ezn6bgICN991iteN+3NYQNH58eoG00DNoGC5elIQC6/R/OYWUO eqlrOjl7Qswo7In/rMP/TdMjZZntCDOiKm6siLwLftNqSAVDPfkiNmUMbawEt7pnD/HOY1 JgtBgF89jNN+QjNtth0L82Qi6t11QcPGSRAETXHtECtk+dnTvhhRKPOKiw4VERWv273ELG NMZLM01FfPgzzydbXzKGl/8Qfg0JmqHYorU0tESPuJjhVp9+4EXa5ODUw9QENqN/BQXC92 XnRLVlnJdSM1xNa1vI5x5aC+x+T5fMBFamLwlobHkNZVsX4hbm3ahDQp1e5TCw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; spf=pass (aspmx2.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: -1.90 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.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: E5F77AC98 X-Spam-Score: -1.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: rMBwCWGf+r7e I have just thought about dynamic "Rosetta Code" - some software that genera= tes 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 arr= ay wherein : (,(1,2)) If the preceding comma is omitted, it will not be treated as an array of arr= ay. 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 > 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 > 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-javascript= > Of course that one is pre-Spectre/Meltdown, so take it with a grain of > salt.