From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Thompson, David" Newsgroups: gmane.lisp.guile.user Subject: Re: [EXT] Can guile be implementation independent? Date: Fri, 17 Dec 2021 12:05:36 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12995"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Jacob Hrbek Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Dec 17 18:07:22 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myGhV-00033a-Hy for guile-user@m.gmane-mx.org; Fri, 17 Dec 2021 18:07:21 +0100 Original-Received: from localhost ([::1]:46622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myGhT-000422-0l for guile-user@m.gmane-mx.org; Fri, 17 Dec 2021 12:07:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myGg3-00034g-5q for guile-user@gnu.org; Fri, 17 Dec 2021 12:05:51 -0500 Original-Received: from [2607:f8b0:4864:20::736] (port=33698 helo=mail-qk1-x736.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myGg1-00048D-4g for guile-user@gnu.org; Fri, 17 Dec 2021 12:05:50 -0500 Original-Received: by mail-qk1-x736.google.com with SMTP id de30so2816199qkb.0 for ; Fri, 17 Dec 2021 09:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VixI4orupJqqN2w/F6t7pMbYSuMmCrduOSuYWOAFDXM=; b=2kXvZouOZvdRcRDszCLd25QFsKnS0aQZ3NWb7wEQbFLlTjWr30H7VqXekx3uglDNGn rASEJxPxRlpOIQDV7GJmTod1w7JAdyPXDKWI37ad3sTnlhe59ZRwJn7508/xFhy+qDHe cYodaewsujvpDEOJBYnNMWEeLoWy2RTFIJNFpFisjTPQlX2m4gyVBkqjWjRIQAB3hmsj Odl+cLUvLYFJ/RCp8Zlsr+xiugBRd9JbKQyrWPOZb1u6fd9ezc1cTjl84oX8Mk1v+7OX 69oVI/HzHLr+2HHvQvf8V1PL4qrufUKfblU194PTANTBS7E+wQSwWACH/X94KhI8rwrC 1z9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VixI4orupJqqN2w/F6t7pMbYSuMmCrduOSuYWOAFDXM=; b=Zuq/Tg5d6iCQTc6HNov2C5gLORserRBzWAapCXALWCivALxu22/Dn94TmoZgUhTA4K yzO1puSscQ9RkH90KFU6sSAleL0X/5M48qOQUw4cdw+slFNtnZKOM5CYsNqV749edKt1 nQmBuHs0oJGgwJZcJ6b4BpACksiBiG+XMppsRJG4sZXt4M7uhVvPyYHKKg4QYNcXmaQ2 6LV0Uw+J2bTW/zh1mKuV62BjzUJG7pGYS5pZ6eJ7sNwDGmPoiKacPBca3WEsXxy+N+5U X6YsoJ+RCH3gsEt2r24zXfuTL0THZejzbGUioRhCdKCqQrRcEML50ErAUfnukUJz2uYO OVXQ== X-Gm-Message-State: AOAM530rYvf41dbmHmeI3lknyjGlk2S4TLIetKAt02+wUQQzPmNLBRZl VGKkw1PHt4jMBNj4tMXoY/y3lrQFUrLSV603LbRbuA== X-Google-Smtp-Source: ABdhPJy1iW/P1h0sX6oU+iIStFvbWY9Yy1CVqXegR59OKEX+H9iS7d/ykxFSvbfD3Aj8XQsWJJoAiUjWCdpTA3HW5Kc= X-Received: by 2002:a05:620a:4116:: with SMTP id j22mr2395313qko.410.1639760747441; Fri, 17 Dec 2021 09:05:47 -0800 (PST) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::736 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=dthompson2@worcester.edu; helo=mail-qk1-x736.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17869 Archived-At: Hi Jacob, On Thu, Dec 16, 2021 at 8:43 PM Jacob Hrbek wrote: > > I am used to working with common lisp where i can write code that is > "implementation independent" meaning that following a specific coding > style makes it compatible across multiple interpretators/compilers > (sbcl, LispWorks, etc..) > > Is there a way to do the same on GNU Guile? Like writing a code that can > be interpreted by implementations that are following the IEEE 1178-2008 > or R7RS standard? I think the shortest and easiest answer to this question, in practice, is "no." While it is possible to write programs that conform to a specific Scheme standard and thus work on all implementations supporting that standard, there are few real world programs that can be written within such limits. And coming from a Common Lisp background, where the standard is huge, you'll likely find the available Scheme standards lacking. I prefer to think of each Scheme implementation as its own distinct language, because in many ways they are. I don't write Scheme programs, I write Guile programs. I want to use Guile's delimited continuations, foreign function interface, compiler tower, etc. so limiting myself to standard Scheme would be a real bummer. - Dave "This here ain't no Common Lisp." - Thaddeus Scheme, Sr. (1975)