Re: JS engine(s) provided by gnustep
David Chisnall <[email protected]> Sun, 10 Sep 2023 14:08:00 +0100
| Newsgroups | gmane.comp.lib.gnustep.general,gmane.comp.lib.gnustep.applications,gmane.comp.lib.gnustep.user,gmane.comp.lib.gnustep.devel,gmane.comp.lib.gnustep.bugs,gmane.comp.lib.gnustep.packagers,gmane.comp.lib.gnustep.ui,gmane.comp.lib.gnustep.marketing |
|---|---|
| Message-ID | <[email protected]> |
Hi, As far as I know, no one has ported JavaScriptCore to GNUstep. It might not b= e a huge amount of work but that last time I looked at it (ten or so years a= go) the build system for JSC conflated a lot of things in the Apple paths th= at would need disentangling if you want the Cocoa bits but ELF and the Linux= calling conventions, for example. If you don=E2=80=99t care about performance, there are a couple of small Jav= aScript interpreters (jsQuick and DukTape) that would be fairly easy to brid= ge to Objective-C. I played with using DukTape and GNUstep ages ago and it l= ooked 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 <[email protected]> wrote: >=20 > =EF=BB=BF > Hello friends. > I'm trying to use JavaScriptCore through gnustep and found that gnustep do= esn't find JavaScriptCore, does anyone know how to fix it? I know I can use o= ther third party js engines, but I only want to use the interface provided b= y Apple, does gnustep provide an implementation of this interface? Is there a= n easy way to implement these interfaces that are not implemented or provide= d in gnustep, other than implementing them myself? >=20 > Lastly, thanks for all the replies and help. > Best regards.