intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Jan 19, 2019 5:02 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Nov 01, 2018 11:39 am 
Offline
User avatar

Joined: Fri Jul 11, 2014 12:50 pm
Posts: 125
It occured to me that since Lectrote is a desktop application, nothing prevents it to use C interpreters compiled with RemGlk instead of Quixe. The benefits would be that Lectrote would be faster (I suppose) and that it could play a lot more interpreters (all those here, in fact).

I have already compiled the interpreters on Windows, macOS and Linux, so I know that it is possible.

So would that be a good thing? Could that be added to Lectrote or should someone write a brand new app (that I could write, I suppose) ?

Nothing urgent of course, juste a thought that I had.

_________________
Maintainer of the Inform 7 French extension


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Nov 01, 2018 12:00 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5884
It's possible. Lectrote now understands the idea of several interpreter choices for a given game type. (Currently there's a Glulx terp choice in the preferences dialog.)

Adding a remglk option would require the interpreter to launch a background process, but this should be doable through node.

Feel free to take a look at it. I probably won't have time in the next several months.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Nov 01, 2018 5:33 pm 
Offline
User avatar

Joined: Wed Oct 14, 2009 4:02 am
Posts: 2579
Another option than invoking RemGlk binaries as a separate process would be to make a Node native add-on. But either way, using RemGlk binaries means maintaining three builds for each platform. Better, I think, to compile to WebAssembly for Lectrote so that we don't need to worry about platform specific details. The performance should be mostly comparable.

If anyone would like to add extra VMs to emglken that would be very welcome.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group