unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Daniel Skinner <daniel@dasa.cc>
To: Christine Lemmer-Webber <cwebber@dustycloud.org>
Cc: "Thompson, David" <dthompson2@worcester.edu>,
	Guile User <guile-user@gnu.org>
Subject: Re: Guile Hoot v0.2.0 released!
Date: Sun, 10 Dec 2023 23:52:56 -0600	[thread overview]
Message-ID: <CAJ7_s+Kq4WWUn6vgmPzVUFRxmVyw80GLu-53-733D3GEZn4+bg@mail.gmail.com> (raw)
In-Reply-To: <87v89c4jlc.fsf@dustycloud.org>

I hit a snag trying to use in an AudioWorklet so was resolving that instead
of making something more interesting. I worked it out which required a
change to the reflect.js instatiate_streaming to allow referencing
already-compiled modules keyed by given path as that's the only practical
way it seems to provide to an AudioWorklet.

Put here for reference (see everything prefixed realtime.*):
https://gitlab.com/daniel126/guile-hoot-ffi-demo

The realtime_worklet.js has a copy of reflect.js at top that includes the
changes mentioned and also a TODO of a potential issue within same function.

Tested in firefox. The example uses AudioWorklet as a sink only; the raw
audio data is generated in the guile wasm module by writing into a constant
bytevector, then in AudioWorklet that data is copied-projected-copied out;
maybe there's a cleaner way to do that copy out.

With things spiked out now, I can maybe do something a little more
interesting when I can find the time.

On Tue, Dec 5, 2023, 11:58 AM Christine Lemmer-Webber <
cwebber@dustycloud.org> wrote:

> If you make something, please let us know! :)
>
> Daniel Skinner <daniel@dasa.cc> writes:
>
> > Have been watching hoot to play around with webgl and miniaudio for some
> > audio/visual fun, thanks for the release!
> >
> > On Thu, Nov 30, 2023, 2:09 PM Thompson, David <dthompson2@worcester.edu>
> > wrote:
> >
> >> Hey Guilers!
> >>
> >> On behalf of the Spritely Institute, I'm happy to announce that Guile
> >> Hoot v0.2.0 has been released! Hoot is a Scheme to WebAssembly
> >> compiler backend for Guile, which means you can now run Scheme in the
> >> browser for real, tail calls and all.
> >>
> >> The highlights of this release are:
> >>
> >> * Nearly all of R7RS-small is now implemented! Hoot 0.2.0 is now
> >> capable of running many more standard Scheme programs than 0.1.0.
> >>
> >> * A foreign function interface (FFI) has been added to make it easy to
> >> declare imported host functions and call them from Scheme.
> >>
> >> * User-defined record types, sorely missing from 0.1.0, have been added.
> >>
> >> Read the full release notes here:
> >> https://spritely.institute/news/guile-hoot-v020-released.html
> >>
> >> If you use Guix then it's easy to try out Hoot:
> >>
> >>     guix pull
> >>     guix shell guile-next guile-hoot
> >>
> >> But wait, there's more! I've been busy writing up a tutorial for using
> >> Hoot to make React-like web pages, and that is also available now:
> >>
> >>
> >>
> https://spritely.institute/news/building-interactive-web-pages-with-guile-hoot.html
> >>
> >> If you're curious what it looks like to integrate Scheme with
> >> JavaScript browser APIs then definitely check out that post.
> >>
> >> Okay, that's all for now.  Happy hooting!
> >>
> >> - Dave
> >>
> >>
>
>


  reply	other threads:[~2023-12-11  5:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 20:08 Guile Hoot v0.2.0 released! Thompson, David
2023-11-30 20:24 ` Mikael Djurfeldt
2023-12-01  7:21 ` Nala Ginrut
2023-12-03 15:04 ` Daniel Skinner
2023-12-05 17:58   ` Christine Lemmer-Webber
2023-12-11  5:52     ` Daniel Skinner [this message]
2023-12-11 15:49       ` Thompson, David
2023-12-11 17:03         ` Daniel Skinner
2023-12-11 17:39           ` Thompson, David
2023-12-11 18:35             ` Daniel Skinner
2023-12-11 17:36         ` Daniel Skinner
2023-12-13 22:05 ` Daniel Skinner
2023-12-13 22:44   ` Daniel Skinner

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=CAJ7_s+Kq4WWUn6vgmPzVUFRxmVyw80GLu-53-733D3GEZn4+bg@mail.gmail.com \
    --to=daniel@dasa.cc \
    --cc=cwebber@dustycloud.org \
    --cc=dthompson2@worcester.edu \
    --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).