From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uMAkMFbEtmBVZAEAgWs5BA (envelope-from ) for ; Wed, 02 Jun 2021 01:35:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +GksK1bEtmA2fQAAB5/wlQ (envelope-from ) for ; Tue, 01 Jun 2021 23:35:50 +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 AA6AE27225 for ; Wed, 2 Jun 2021 01:35:49 +0200 (CEST) Received: from localhost ([::1]:57744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loDvI-0004mo-GF for larch@yhetil.org; Tue, 01 Jun 2021 19:35:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loDv0-0004mQ-CU for guix-devel@gnu.org; Tue, 01 Jun 2021 19:35:31 -0400 Received: from mx1.dismail.de ([78.46.223.134]:21580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loDuw-0008AJ-EI for guix-devel@gnu.org; Tue, 01 Jun 2021 19:35:30 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id f56b28fc; Wed, 2 Jun 2021 01:35:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=20190914; bh=QzMcK1zLkUYJUqo65gup1pwD/zKjbaYhjW 0dOULW3DI=; b=MgWoW0A4hAViygpK2/aXHjldUflZiacAQMsssuN0hFfJlivFri IPude2kC4sDrNTSDejVclvVmU/Rmi5mbAnQLF9WHHeW5/e+XVvsMhx2SUPH032mj MFWcLLutfYFf30scyXIizHzIua374KW3CxfFWrLPPRv4rZ5nzn+RCsWdl7spEdSF 3PrAWOehq4BMkkOVAmvNqREBbhWcWSLDumk/DjaHksv888a+Ft2FS5FfHty+kwUr hv1koKy4RoP8TGKLkCr2KJ3tISwk4GTWM1HzmDufSLA7WcNoHKMXPTnX/BiJbaBb Ku813SqNzieihFW6Ia6yV0Wo3F7zXLW8KVrA== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 58d451cb; Wed, 2 Jun 2021 01:35:20 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 970f1736; Wed, 2 Jun 2021 01:35:19 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 1d558dfc (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 2 Jun 2021 01:35:18 +0200 (CEST) From: Joshua Branson To: Konrad Hinsen Cc: Pjotr Prins , guix-devel Subject: Re: Idea: a meta language for (language) build systems - npm, Racket, Rust cargo References: <20210530083847.o5ej63obqnzpwnbd@thebird.nl> <20210531174748.mhaelcqwmo7degfc@thebird.nl> Mail-Followup-To: Konrad Hinsen , Pjotr Prins , guix-devel Date: Tue, 01 Jun 2021 19:35:15 -0400 In-Reply-To: (Konrad Hinsen's message of "Tue, 01 Jun 2021 09:56:34 +0200") Message-ID: <87bl8pkvkc.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622590549; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FepH6PY3wtzhKtKduOn2DYPO9KGPz2wK94MdCmGkQkw=; b=ITSUELwuiSls5uXBc+KACjvs5bRbQay/KOzRCaxqlNcV3VaZylVwz9pfSDwPo8mDhUIFRG HMbb/R5vbr7iz/L7mpDh+IicJZyKYQsGQ68mInAyRGT+PxidbdcXimFOGDv91Ic6kB4CSS InfKEqvDWuglz6Yj8NXoZKyY/LbscSGocAPBBo1o5UC7A6IN9AXlEya6moY9TtsZ4e7CZ9 55fe2eW+MmeYHuqBPco+yQpbebDwztkPByFuRpNTVR85cifoxe2rKrbrGfqIka1k8ukej2 pGnCtkrdRg1PNyKcgaCN1vcYjveAPPwmk06VENtT2ltx6Z08dejoptKH0Aa5cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622590549; a=rsa-sha256; cv=none; b=D3FMxkxqWS9U/OdNyXeM5m6sB0d+WzMbnn6FjqyYe+hLQaKl7rd9ZkwcAVQLszDWI6u7+E 1V1rcFmeJob2iY8NL9CLMudnc6f582QmgKe0H+NCIXv+omCBIvrtwDBMahJ8LhH7t0okMI 0zM9RQFJF98PogF1vLZ8vfXbqh0nHF5htKUG+bGYeRuB7JRO9cf70VkeQbI8GU3DA4Q8Q8 3mcDTNx9HgVvfHNtBY0fVnCRKPCZCtdlenWAAcAzVhiROhzVaOqkuYnT0xTbXWfuo/LiyG jl7jbiVJslEp3I0obDpDIGkifn2aLH2CrPdf7xUgCxK2KFXS4Hz8LlmMlu/JcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=MgWoW0A4; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=MgWoW0A4; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: AA6AE27225 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: TE7o+uqapnIK Konrad Hinsen writes: > Hi Pjotr, > > > The next message to get across is the need for cross-language build > systems. The idea of one language, one platform doesn't work any more. > Real software systems need to mix languages, even runtimes. And it's not > just X + C any more either. Again, Guix serves as the proof of concept, > even for people who dislike some specific implementation aspect of Guix. Thinking about "cross-language build systems" reminds me of Zig cc https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html #+BEGIN SRC sh andy@ark ~/tmp> cat hello.c #include int main(int argc, char **argv) { fprintf(stderr, "Hello, World!\n"); return 0; } andy@ark ~/tmp> zig cc -o hello.exe hello.c -target x86_64-windows-gnu andy@ark ~/tmp> wine64 hello.exe Hello, World! andy@ark ~/tmp> zig cc -o hello hello.c -target mipsel-linux-musl andy@ark ~/tmp> qemu-mipsel ./hello Hello, World! andy@ark ~/tmp> zig cc -o hello hello.c -target aarch64-linux-gnu andy@ark ~/tmp> qemu-aarch64 -L ~/Downloads/glibc/multi-2.31/install/glibcs/aarch64-linux-gnu ./hello Hello, World! #+END_SRC I think that's pretty cool! > > Cheers, > Konrad. > -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar