From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uM6NLGXM22MJXAAAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 15:44:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ICmQK2XM22POVAAAG6o9tA (envelope-from ) for ; Thu, 02 Feb 2023 15:44:53 +0100 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 79D522EEA7 for ; Thu, 2 Feb 2023 15:44:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNapC-000421-8k; Thu, 02 Feb 2023 09:44:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNFE6-0001B5-HK for guix-devel@gnu.org; Wed, 01 Feb 2023 10:40:47 -0500 Received: from out-26.mta0.migadu.com ([91.218.175.26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNFE3-0001QT-Lo for guix-devel@gnu.org; Wed, 01 Feb 2023 10:40:45 -0500 References: <03c0507ad711a82887a10c70bc7a2745@dismail.de> <20230201101127.eiq7unzgdbzidnky@thebird.nl> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reproduciblemedia.com; s=key1; t=1675266040; h=from:from: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; bh=Hg/qiju8vwMTw92/cjG71orYipBamtrgIQo9x0trKRo=; b=cvJf9y6NpV2F9zVv/ykfLgFkHEiF6lW74Xt87ZXCywnZlMdrHVpzxXwRkuZ84OELx9kZri Fg1WFr1mfM5rHd2JUsm+wJZw3eFG6dy/iG0r9LtZMwu/P6vaIiwhtkNGSWjChUx8UJSSpl PyrfjAn0X/H7t/y03rxKQIVN3VSytcE= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Blake Shaw To: Pjotr Prins Cc: jgart , guix-devel@gnu.org Subject: Re: Can zig-build-system be an alternative to the gnu-build-system? Date: Wed, 01 Feb 2023 22:37:03 +0700 In-reply-to: <20230201101127.eiq7unzgdbzidnky@thebird.nl> Message-ID: <7zzg9x1jj5.fsf@reproduciblemedia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.218.175.26; envelope-from=blake@reproduciblemedia.com; helo=out-26.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 02 Feb 2023 09:44:20 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675349093; a=rsa-sha256; cv=none; b=rlPvlpzEt2Qxps60stm/Q0be7NRUw6SUqciuSKwmKaW/0AeOTVQTtJk8cs6Rt6TNB/IbNW MwMrvD5Xbiq+A6KU3M1v7J8RPc+rRT8XGcT+XFKa1FganNEE6Df3Mova12vMur0zv/hFTf 6ouXU5Up5gDQW0O97pcRmrhBPS8H8YUye6RDc/XSOEWmIYOfQUu/BasMTfIALaN90iM4J4 guTNqMdNsBkDGTg3PyqGQE2l0ZI0Tq4uDjhexwLDb+9a5oIz6Oa93mFrxCb9LMR3bzL5K9 BY5fJLspJEuu0GW8OoCH0C6ACEOWaoiuRLceCSSwp2JAMTv+WXSWEbx+RaxhGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproduciblemedia.com header.s=key1 header.b=cvJf9y6N; dmarc=pass (policy=quarantine) header.from=reproduciblemedia.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675349093; 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:dkim-signature; bh=Hg/qiju8vwMTw92/cjG71orYipBamtrgIQo9x0trKRo=; b=Fkc2TwoVDh1fyHnKBIeBQYtTaZHBc4cn5mjFIHDfkpdZh9kt84wDopiUOWw2u7RkWS6Wxa Mmfe+IqKwsWu0qyEizm+GteG4zp9txmgSB01sUYf0uW3RNwFnTllZ6sDwqu7E8e3/U2vTt dmDF/AysAKvume18HSVzoeOU+7dLchz80WUArbwNkIHMpDsaD4F7FFqmUrqXTTVjIATLVR f9LhDM4n5RfNVx326/aJoiaB55eFNeP4pOfZIbJbEjMRRk/qGztLAP9vIVXbM/Re2nMPzT C5ELvAbxs0KXiPbJWBLxw1dTAkA+6p2yynr842OBBNnS9/5p5NPyw9qYux8WFQ== X-Migadu-Spam-Score: -6.18 X-Spam-Score: -6.18 X-Migadu-Queue-Id: 79D522EEA7 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproduciblemedia.com header.s=key1 header.b=cvJf9y6N; dmarc=pass (policy=quarantine) header.from=reproduciblemedia.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: jbQljbm/l3xg This has reminded me of Make's built-in support for guile[1]. I've assumed that the fact that we don't use it means that it probably depends on an earlier guile, as many projects many that support "guile scripting" typically depend on ~v1.8; but that is just an assumption. Does anyone know what its status is? [1] https://www.gnu.org/software/make/manual/html_node/Guile-Integration.ht= ml Pjotr Prins writes: > Hi jgart, > > zig as a build system is nice, but it is llvm bound and only targets > zig and C/C++. It does not handle packages, and that is a feature in > my book ;). Mind they are planning to go down the packaging route, > from what I can tell. > > There have been some older discussions about creating our own > replacement for autotools, cmake and others. I often fight these make > make systems - and meson and/or language specific build systems. It is > a time waster for programmers and none of these systems leverages the > power of Guix itself. I kinda settled for cmake because, even though > it is an effing dragon, at least I can make it work (pun intended). > > We need someone with deep experience in build systems to write a guile > replacement - generating ninja is one idea. That is my opinion :). I > would love a simple way to describe a project in guile. It should not > be too hard actually (famously that is how these projects start and > turn out to be a real time sink). Maybe someone wants to try with > guidance from us, or maybe we can do it when we get bored some day. > > Pj. > > On Fri, Jan 27, 2023 at 02:03:06AM +0000, jgart wrote: >> Can `zig-build-system` be an alternative to the `gnu-build-system`?=20 >>=20 >> https://ziglang.org/learn/why\_zig\_rust\_d\_cpp/#a-package-manager-and-= build-system-for-existing-projects >>=20 >> > Not only can you write Zig code instead of C or C++ code, but you >> can use Zig as a replacement for autotools, cmake, make, scons, >> ninja, etc. And on top of this, it (will) provide a package manager >> for native dependencies. This build system is intended to be >> appropriate even if the entirety of a project=E2=80=99s codebase is in C= or >> C++. >>=20 >> WDYT >>=20