for elua run on x86? doest it start in x86-16, bigreal, protected, or paging-enabled mode? Can you get me a binary and an initial PC? This is the kind of thing for which vmthreads were made.
On Fri, Jul 4, 2025 at 2:30 PM Clout Tolstoy <[email protected]> wrote: > could elua (embedded lua) potentially be ran in vmx? It would probably > take some porting, but that runs on a handful of bare metal SoC's. Was > thinking it could be an interesting way to jail it off from the OS. One > would have to figure out how to mount the rootfs via p9fs and it would > probably be golden. > > Node9 has always looked cool. (Inferno with lua replacing limbo). > > On Fri, Jul 4, 2025, 1:54 PM David Leimbach via 9fans <[email protected]> > wrote: > >> Fennel seems to work well with Lua as well. I started writing a 9P server >> to track players playing different dart games. (Why not?) >> >> And it works. But it’s all hard coded, so I started thinking of encoding >> the rules for each game in fennel. >> >> >> Sent from my iPhone >> >> > On Jul 4, 2025, at 11:55 AM, Ron Minnich <[email protected]> wrote: >> > >> > Nice to hear about Lua and StreetLisp. It would probably make sense to >> > have a native languages page or something like it on the foundation >> > web site, so people know about this work! >> > >> >> On Thu, Jul 3, 2025 at 4:05 PM Thaddeus Woskowiak < >> [email protected]> wrote: >> >>> On Thu, Jul 3, 2025, 5:02 PM Lyndon Nerenberg (VE7TFX/VE6BBM) < >> [email protected]> wrote: >> >>> >> >>> Thaddeus Woskowiak writes: >> >>> >> >>>> I'm not a programming wiz but it would be nice to have a well >> supported >> >>>> language on Plan 9 besides c. I prefer that it be small and simple >> enough >> >>>> to git/clone then mk install and jump right in. A great example of >> the >> >>>> simplicity I'm after is the native port of Lua and the recently >> developed >> >>>> Street Lisp. All I need to do is clone a repo and either run a >> script or mk >> >>>> install and I'm ready to write and run code. >> >>> >> >>> Porting lua wouldn't be that hard. The lua code base is quite >> >>> portable, and getting it bootstrapped using APE should be very easy. >> >>> Once you have done that, you can start converting it to native Plan >> >>> 9. I did this (native port, no APE internediary) once, many years >> >>> ago, but then I lost the source tree :-( Re-porting it has been >> >>> on my todo list for quite a while, but I just haven't found the >> >>> cycles. >> >>> >> >>> As for go, you could go back to the last version that built from >> >>> C and call it a day. Or even earlier to the last go versions that >> >>> used the 6g compiler, before they introduced the 'go build' bullshit. >> >>> That compiler was ripping fast. And it works with make. (I am >> >>> utterly fed up with languages that insist you use their bespoke >> >>> build systems. This is why I will never use rust. And with >> >>> every new release, I am becoming much less fond of go.) >> >>> >> >>> --lyndon >> >> >> >> >> >> Sorry, I was not clear and carelessly left out the reference to >> "native port of Lua", http://shithub.us/kvik/lu9/HEAD/info.html >> >> >> >> So native Lua on 9 thanks to kvik. No APE. Whole thing takes seconds >> to setup. Git/clone .... Mk pull. Mk install. Done. Imagine if Go was that >> simple. >> >> >> >> StreetLisp is here thanks to sigrid and spew: https://git.sr.ht/~ft/sl >> >> >> >> If anyone ports a language they should strive to match the above >> efforts in terms of making it native using existing tools like mk and git, >> plus being simple to install. The faster you can on-board someone, the >> better. >> >> 9fans / 9fans / see discussions + participants + delivery options >> Permalink > *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions > <https://9fans.topicbox.com/groups/9fans> + participants > <https://9fans.topicbox.com/groups/9fans/members> + delivery options > <https://9fans.topicbox.com/groups/9fans/subscription> Permalink > <https://9fans.topicbox.com/groups/9fans/T9224bb9c9c173dec-M1e4079820297d2c63ad717b3> > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T9224bb9c9c173dec-M26536fc7bfa6184255a017d3 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
