unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Christine Lemmer-Webber <cwebber@dustycloud.org>
To: guile-user@gnu.org
Subject: Scheme in the browser: A Hoot of a tale
Date: Wed, 11 Oct 2023 13:43:44 -0400	[thread overview]
Message-ID: <87bkd52gxb.fsf@dustycloud.org> (raw)

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



             reply	other threads:[~2023-10-11 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11 17:43 Christine Lemmer-Webber [this message]
2023-10-11 20:24 ` Scheme in the browser: A Hoot of a tale Zelphir Kaltstahl
2023-10-11 20:47   ` Christine Lemmer-Webber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkd52gxb.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).