[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: JS engine(s) provided by gnustep

From: loserism
Subject: Re: Re: JS engine(s) provided by gnustep
Date: Sun, 10 Sep 2023 21:34:34 +0800 (GMT+08:00)

Thank you for your efforts, your answer was exactly what I was expecting. 

> Hi,
> As far as I know, no one has ported JavaScriptCore to GNUstep. It might not 
> be a huge amount of work but that last time I looked at it (ten or so years 
> ago) the build system for JSC conflated a lot of things in the Apple paths 
> that would need disentangling if you want the Cocoa bits but ELF and the 
> Linux calling conventions, for example.
> If you don’t care about performance, there are a couple of small JavaScript 
> interpreters (jsQuick and DukTape) that would be fairly easy to bridge to 
> Objective-C. I played with using DukTape and GNUstep ages ago and it looked 
> as if it would be quite easy to add an implementation of the APIs that JSC 
> exposes on macOS, but it would give around 10% of the performance.
> David
> > On 9 Sep 2023, at 16:22, loserism <loserism@88.com> wrote:
> > 
> > 
> > Hello friends.
> > I'm trying to use JavaScriptCore through gnustep and found that gnustep 
> > doesn't find JavaScriptCore, does anyone know how to fix it? I know I can 
> > use other third party js engines, but I only want to use the interface 
> > provided by Apple, does gnustep provide an implementation of this 
> > interface? Is there an easy way to implement these interfaces that are not 
> > implemented or provided in gnustep, other than implementing them myself?
> > 
> > Lastly, thanks for all the replies and help.
> > Best regards.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]