<div dir="ltr">FWIW, we&#39;ve been exploring and talking about having V8 driven Gtk, instead of Moz one.<div><br></div><div>My humble, and working, attempt to at least have ES2015 syntax and features, and a more NodeJS friendly environment for GJS is here:</div><div><a href="https://github.com/WebReflection/jsgtk#jsgtk">https://github.com/WebReflection/jsgtk#jsgtk</a><br></div><div><br></div><div>All GJS examples run either out of the box or after making them more JavaScriptish:</div><div><a href="https://github.com/WebReflection/jsgtk-examples#jsgtk-examples">https://github.com/WebReflection/jsgtk-examples#jsgtk-examples</a></div><div><br></div><div>And there is also a Twitter client based on WebkitGTK+</div><div><a href="https://github.com/WebReflection/jsgtk-twitter#a-desktop-client-for-twitter-mobile">https://github.com/WebReflection/jsgtk-twitter#a-desktop-client-for-twitter-mobile</a><br></div><div><br></div><div>Best Regards</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 28, 2016 at 2:26 PM, Adrián Pérez de Castro <span dir="ltr">&lt;<a href="mailto:aperez@igalia.com" target="_blank">aperez@igalia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoting Jay Strict (2016-06-28 11:57:31)<br>
<span class="">&gt; On 28.06.2016 08:05, <a href="mailto:philip.chimento@gmail.com">philip.chimento@gmail.com</a> wrote:<br>
&gt; &gt; I am fairly certain GJS is the more frequently used of the two, in GNOME<br>
&gt; &gt; applications at least. In any case, GJS is not just used for GNOME<br>
&gt; &gt; Shell, but also several applications like GNOME Documents (which itself<br>
&gt; &gt; uses WebKitGTK), GNOME Weather, etc.<br>
&gt; &gt;<br>
&gt; &gt; And after all, I don&#39;t suppose it&#39;s a burden to include a dependency on<br>
&gt; &gt; Python for the Python shim. You might be able to write WebExtension<br>
&gt; &gt; shims for any number of interpreted languages and make them an optional<br>
&gt; &gt; part of the build. In package-based distributions, for example, they<br>
&gt; &gt; could be shipped in separate packages.<br>
&gt;<br>
&gt; That would not help in the Gnome shell extension use case then, if you<br>
&gt; have to install a seperate package. Gnome shell extensions should work<br>
&gt; for different distributions no matter which extra packages are installed<br>
&gt; or not.<br>
<br>
</span>I must admit that this is a very good reason to go with GJS instead of Seed.<br>
Thinking about usage in GNOME, probably it makes more sense to start with GJS<br>
first, and forget about supporting Seed for now. Maybe I&#39;ll try to make a<br>
standalone proof-of-concept shim loader like the Python one using GJS when<br>
I have some time — though there&#39;s still a couple of other tasks waiting in<br>
my list of WIP tasks for WebKitGTK+, so I cannot commit to a date, sorry.<br>
<br>
&lt;kinda-offtopic&gt;<br>
In an ideal world, GNOME shouldn&#39;t need to depend on two separate JavaScript<br>
engines, and the Shell would use JavaScriptCore somehow (either making GJS<br>
depend on JSC instead of SpiderMonkey, or via Seed). Of course at the time<br>
when GJS appeared SpiderMonkey was chosen —probably I would take that decision<br>
myself back then, too—, and code in the Shell depends (still?) on some<br>
features which are available in SpiderMonkey only, so now we have to live with<br>
that.<br>
<br>
I would love to see GJS ported over to JavaScriptCore, to avoid having both<br>
JavaScriptCore and SpiderMonkey working at the same in the same process for an<br>
application, but I am aware that it is not a motivating project because GJS<br>
“just works right now” and if GJS switched to JSC probably the Shell would<br>
need modifications as well. Not to mention making sure that there are no<br>
regressions, and that then the Shell would depend on WebKitGTK+, whic itself<br>
could open another can of worms...<br>
<br>
So no, I do not see GJS switching to JSC anytime soon. Unfortunately.<br>
&lt;/kinda-offtopic&gt;<br>
<br>
Cheers,<br>
<br>
--<br>
 ☛ Adrián<br>
<br>_______________________________________________<br>
webkit-gtk mailing list<br>
<a href="mailto:webkit-gtk@lists.webkit.org">webkit-gtk@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-gtk" rel="noreferrer" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-gtk</a><br>
<br></blockquote></div><br></div>