by jackdaniel
1 subcomments
- This is just a test page. Today I've shared an information about an accepted grant proposal:
https://functional.cafe/@jackdaniel/114742776265318353
The work will go towards improving browser integration and porting to WASI.
- I recently shared a project I did using Hoot, by Spritely institute.
It's Guile Scheme compiling to WASM, and it works really well!
See https://spritely.institute/hoot/
Latest on my project, in case you want to try it out:
https://deosjr.github.io/dynamicland/whiskers.html
- Related:
The Gambit Scheme REPL that comes with a tutorial, supports threads in the browser and has a JS FFI: https://try.gambitscheme.org
Gambit in emacs in the browser: https://feeley.github.io/gambit-in-emacs-in-the-browser/
- This is another comment of the author about maxima in the browser from four months ago: I'm experimenting with WASI and the GC extension for WASM, but that's months from today if we speak about complete port (given my time capacity at the moment). Don't know if the gc extension is used in this example.
- I was going to ask if maxima (a symbolic computation system) can be implemented in the browser, but it was answered four months ago [1]
[1] https://news.ycombinator.com/item?id=42853528
- Why was LISP not one of the first languages able to compile to WASM? I've been curious ever since the awesome WASM project started tracking different projects. They use emojis for progress and LISP has been a hatching egg.
by jackdaniel
0 subcomment
- Btw, eval (ed "wecl.lisp") to see some interesting function definitions, like canvas or webgl access drafts.
- > Are we consing yet?
> #'cons
#<compiled-function CONS 0x43cee0>
That's a definite yes :)
- tbh imo the slowness isn't the bottleneck. browser bytecode's always gonna trail native, that's a given. what matters is you're feeding live eval into static pages. lisp as a runtime inside the web, not around it.
if wasm interop clicks, even at shared memory level, lisp can directly drive ui updates. state changes, you eval, dom shifts. pure control flow without detour
by HexDecOctBin
4 subcomments
- Is WASM a good target for REPL-driven programming? I haven't studied it in detail, but I do remember that it was Harvard architecture. Would that mean that code can't be updated at runtime in real implementations?
- When executing (time (loop for i below (expt 10 8) count t))
it takes a long time, sbcl takes less than a second on this. So not useful when speed is required. More: (time (loop for i below 1000000 count t) takes 7 seconds on my computer, so counting to (exp 10 8) would take 700 seconds, and sbcl do that in 0.1 seconds, so in this example the ratio is 7000 times slower than sbcl.
by potholereseller
0 subcomment
- Apparent source code, though last update is January 1, 2025: https://fossil.turtleware.eu/wecl/timeline
by taway-20250404
1 subcomments
- [flagged]