Ancestors

Toot

Written by Alex ☕🇨🇦 on 2024-11-20 at 00:37

I've unwrapped the fennel repl to work incrementally without yielding for use with lovejs, which relies on PUC Lua 5.1.

This fork forgoes the built in granulating offered by fennel and should only be used in cases where you cannot yield across cboundaries, like PUC Lua 5.1.

We really need a PUC Lua 5.1.6 that brings in state recovery yielding, and "fixes" the standard library.

https://codeberg.org/alexjgriffith/fennel-step-repl

[#]fennel

=> More informations about this toot | More toots from Alexjgriffith@mastodon.gamedev.place

Descendants

Written by technomancy (turbonerd aspect) on 2024-11-20 at 00:38

@Alexjgriffith there's a way to turn off JIT in luajit, right? is there a reason that's not viable in the browser?

=> More informations about this toot | More toots from technomancy@hey.hagelb.org

Written by Alex ☕🇨🇦 on 2024-11-20 at 00:44

@technomancy Unfortunately the core of the luajit virtual machine is written in assembly, which would have to be manually rewritten in wasm or a language that compiles to wasm.

I really wish that either I am wrong or there is a c based reference standard for luajit out there somewhere that could be compiled to any platform.

=> More informations about this toot | More toots from Alexjgriffith@mastodon.gamedev.place

Written by technomancy (turbonerd aspect) on 2024-11-20 at 00:46

@Alexjgriffith huh! weird that they were able to port it to ARM but not wasm

=> More informations about this toot | More toots from technomancy@hey.hagelb.org

Written by Alex ☕🇨🇦 on 2024-11-20 at 00:52

@technomancy I think that was a manual port funded by Cisco. They also have ports for MIPS and PPC.

The core is "only" ~5K lines of asm

https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/vm_arm.dasc

=> More informations about this toot | More toots from Alexjgriffith@mastodon.gamedev.place

Written by technomancy (turbonerd aspect) on 2024-11-20 at 00:53

@Alexjgriffith only 5kloc! let's get a gofundme started

=> More informations about this toot | More toots from technomancy@hey.hagelb.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113512485007749533
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
283.526205 milliseconds
Gemini-to-HTML Time
1.124438 milliseconds

This content has been proxied by September (3851b).