From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Zelphir Kaltstahl Newsgroups: gmane.lisp.guile.user Subject: Re: Scheme in the browser: A Hoot of a tale Date: Wed, 11 Oct 2023 20:24:25 +0000 Message-ID: <3bc63287-e584-4dd4-bce7-e3beac803521@posteo.de> References: <87bkd52gxb.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7451"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Christine Lemmer-Webber Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Oct 11 22:25:12 2023 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 1qqflY-0001gi-BZ for guile-user@m.gmane-mx.org; Wed, 11 Oct 2023 22:25:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqfkx-0002N7-9r; Wed, 11 Oct 2023 16:24:35 -0400 Original-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 1qqfku-0002Mk-ST for guile-user@gnu.org; Wed, 11 Oct 2023 16:24:33 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqfks-0000bx-HP for guile-user@gnu.org; Wed, 11 Oct 2023 16:24:32 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 807E8240027 for ; Wed, 11 Oct 2023 22:24:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1697055866; bh=0onm48gxopnqhFwVPJ0/daOD6/+wYIlU8H9onrOlTFc=; h=Message-ID:Date:MIME-Version:Subject:To:From:Cc:From; b=dl37UpUfSWxHfTtTPfnfKEj6VPys9B0DrhJHVu1tk/mfg0oCgPOqA2Z/8dE66jNXa 8iKquATh/g19tcf+T63iMB/UJRgVvc/JlNc/IBnoudoSK2+643OwUMZ+gje3auUljd WFnIIeiyyYl7Eu4R7cZoOWyQbgfWsXQ4Il94jPzbyCc21SNTvb3rOeDRDYj//BCy8x KgfloCVJmB/wDHJrFw1NwYNzOr4g4ILydBHLf0dmxRf4Hdge21gP02DOZz24+iYT96 fqKYQlG0TqsXSpGR3JULVh9yqcE1qy8u8goh/KMPoxxip0MAVuzOxaZ46lhbFaX9mi nyfwzsPOrQ6Pw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S5PPj51v6z9rxF; Wed, 11 Oct 2023 22:24:25 +0200 (CEST) Content-Language: en-US In-Reply-To: <87bkd52gxb.fsf@dustycloud.org> Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19256 Archived-At: On 10/11/23 19:43, Christine Lemmer-Webber wrote: > Friends, Guilers, Schemers, I am thrilled, pleased, et cetera to present > you with the following: Guile Hoot can now compile real r7rs-small > programs to code that runs in latest nightly browsers: > > https://spritely.institute/news/scheme-wireworld-in-browser.html > > You can try it yourself easily using Firefox or Chrome nightlies. > Guix users using the nonguix channel can give it a try like so: > > guix shell google-chrome-unstable -- google-chrome-unstable \ > https://spritely.institute/news/scheme-wireworld-in-browser.html > > Now scroll down. You'll pass some Scheme code (wow, it's so clear and > readable!), you'll see some examples of Dave Thompson developing this > against the developer WASM VM that Hoot ships with (wait say WHAT?! yes > more on this soon), and then you'll see, in all its glory, a Wireworld > canvas that you can modify and interact with yourself. > > And wait... is this running the scheme code right above it?!?! It sure > is. > > We're doing it! Scheme in the browser is now a REAL THING! Not > compiling a VM, compiling the program directly to Webassembly, using the > browser's own GC, with tail call optimizations and all the things you > want. > > Real. Scheme. In. The. Browser. > As a first class citizen!!! > > The first release of Spritely's Hoot is coming soon. Get hyped. Get > HYPED!!!! > > - Christine > > PS: In the meanwhile, if you're brave enough, you can try the whole > toolkit yourself, with the example in the blogpost... we've got a guix > shell file and a texinfo manual and everything: > > https://gitlab.com/spritely/guile-hoot Hello Christine, I saw a post earlier on Mastodon and already opened it in my browser. Haven't got the time to really look at it yet. What is a Wireworld canvas? Is that a specific library, that interacts with canvas in the browser? Can Guile Hoot be used to make interactive websites, or is it so far only for canvas? Anyway, I think I need to play with this thing soon, and try some examples, as this sounds awesome! Best regards, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl