IRC channel logs

2025-10-24.log

back to list of logs

<cow_2001>can you pack everything hoot into a single html file? somehow write the wasm blobs etc into a string variable or whatever inside the loading script?
<cow_2001>i assume you can
<dthompson>cow_2001: I haven't done it but yes, you could do so now.
<dthompson>we added support for loading a program from a js buffer in 0.7.0
<cow_2001>oh oh!
<cow_2001>nice!
<dthompson>so you could base64 encode the binary and stuff it into the page
<cow_2001>everything in a single html file is nice for the jam
<cow_2001>or is it?
<dthompson>it's not strictly necessary for itch.io hosting but it can be convenient, yeah
<cow_2001>itch can read zip files
<dthompson>for prior art, the wasm4 fantasy console does this
<dthompson>wasm4 binaries are much smaller, though
<jfred>I kinda wish there was something like wasm4 but that was capable of running Hoot programs. There's even a libretro core for wasm4 so you can run games written for it through RetroArch; that kind of thing would be nice to have
<jboy>Re inlining wasm, I came across this the other day: https://bartbroere.eu/2025/03/06/inlining-wasm-in-html-not-terrible/
<dthompson>jboy: interesting article. hadn't seen it. thanks!
<theruran>this page has a broken link to the 0.7.0 release announcement: https://spritely.institute/hoot/
<dthompson>ah darn
<dthompson>will fix
<theruran>🫡
<dthompson>thanks
<dthompson>fixed
<n|Phreak>Looking for example for spritely , like what is possible to build ? Is using hoot going to be the primary way in order to create services ?
<dthompson>n|Phreak: hoot is for cases where you need your app to run in the browser
<dthompson>we've prioritized web deployment because it makes it easy for other people to use what we build
<n|Phreak>Ok, is there examples of what is possible to build using goblins framework?
<dthompson>n|Phreak: it's kind of like asking what is possible to build using a web framework. you can make pretty much anything. some things we've made are 1) a multi-user chat system that we use internally for testing goblins and 2) a simple multiplayer thing for a game jam that you can read about here https://spritely.institute/news/goblinville-a-spring-lisp-game-jam-2025-retrospective.html
<dthompson>but probably the most promising project currently going on right now is that we have ported the Shepherd init system to use goblins https://codeberg.org/spritely/shepherd
<dthompson>so with those 3 projects you have examples of traditional looking web app, a multiplayer game, and a unix init system.
<dthompson>so the possibility space is quite large
<n|Phreak>Ok , appreciate the information
<dthompson>yw :)
<dthompson>lots and lots of applications can benefit from the object capability security model and the actor model
<n|Phreak>right, thats what has been excited about this project.
<n|Phreak>right, that is what has me excited about this project.
<dthompson>:)
<cwebber>welcome n|Phreak !