Web'ifying our existing engine

A place to discuss any and all xTalk implementations, not just LC LCC Forks, but HyperCard, SuperCard, MetaCard, Gain Momentum, Oracle MediaTalk, OpenXION, etc.
Forum rules
Please limit any bashing/harping on any commercial interests to a minimum, thanks!
Post Reply
User avatar
tperry2x
Posts: 3208
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Web'ifying our existing engine

Post by tperry2x »

This might be old news, and I might be late to the party (again), but has anyone tried this?
https://copy.sh/v86/

Apart from loading a few obscure OS versions, and even some OS projects, it caught my eye because you can attach an iso.
You see where I'm going with this. If I made an absolutely minimal 32-bit linux iso with OXT Lite already inside it, it seems like it would boot it up and we have a web version of OXT running in our browsers. In a platform agnostic way. We get to keep the IDE as is (it also means I can change it and the changes appear on the web instance too).

Thought it might be a plan?
Certainly the theory is there - just needs refinement as to what ISO I feed it.
os-test.png
os-test.png (256.69 KiB) Viewed 767 times
I'm very interested in how they've managed this, and what kind of overhead this generates on a server somewhere. It's pretty impressive.
User avatar
tperry2x
Posts: 3208
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Web'ifying our existing engine

Post by tperry2x »

A while later...

I fed it a 32-bit iso with OXT Lite included.
indeed-you-can.png
indeed-you-can.png (142.84 KiB) Viewed 750 times
Why is this important?
Because if you were on an Arm mac, loaded up this page, you could attach the iso and you have a working web implementation of OXT Lite.
Now, imagine if that web page could be run offline too... we instantly have a fully formed, platform agnostic, web IDE.

Incidentally, if anyone also wants that 32-bit iso for use on old computers (1996 upwards) - then it's all on the download page.
FourthWorld
Posts: 442
Joined: Sat Sep 11, 2021 4:37 pm
Contact:

Re: Web'ifying our existing engine

Post by FourthWorld »

The browser engine is pretty great, and already preinstalled on every GUI device. If the goal is to add a second scripting language and object model, those are much smaller tasks for implementers, and a smoother experience for end users .

Dan Gelder's xTalk/objects -> JavaScript/DOM transpiler makes an excellent starting point, efficient and written with good style.
dandandandan
Posts: 11
Joined: Thu May 05, 2022 9:02 pm
Contact:

Re: Web'ifying our existing engine

Post by dandandandan »

That same person you refer to also made a "proof of concept" to see if xTalk could run as a first class script language in HTML, in the same function and variable pool as the javascript on the page. Turns out it is possible, which is neat. Try the page and check out the source to see what it's doing.

https://hypervariety.com/Wink/
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests