From kde-core-devel Sun Oct 01 11:07:36 2006 From: Boudewijn Rempt Date: Sun, 01 Oct 2006 11:07:36 +0000 To: kde-core-devel Subject: Re: Using scripting languages for KDE4 main modules Message-Id: <200610011307.39293.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=115970087025025 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1469898.Zy5hIL9psd" --nextPart1469898.Zy5hIL9psd Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 01 October 2006 12:31, Thiago Macieira wrote: > Guillaume Laurent wrote: > >However it's clear that a scripting language would be a good thing to > > have. So the only solution I can see is to decide on an "official" > > There's a world of difference between a scripting language that allows one > to extend an existing application and a scripting language to write a > full application on. > > For the former case, we already have decided on the official language and > it's JavaScript. We already have the interpreter in KDELibs (KJS). Not for Koffice, fortunately. We have Kross, which makes it really easy to= =20 offer one scripting interface that works with any language for which there'= s=20 an interpreter plugin. We first used kjs for Krita's scripting language, bu= t=20 it was a pain to provide bindings to the objects we wanted to expose to=20 script writers, and it was a pain to write scripts. > For the latter case, there's no decision on official language, since there > doesn't have to be. Applications can be written using any binding. But, > as this thread has proven, the basic applications must be in C++ so that > memory consumption stays low. I haven't seen "proof", just some assertions, but aside from that, hadn't w= e=20 better define a list of "the basic applications" then -- Leo's list is=20 obviously much too large. If the list of basic applications for which C++ i= s=20 required, then people who prefer a little more efficiency in their=20 development process know what's left for them. And I think it will be impossible to reach a concensus about a mandated=20 non-C++ language. =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --nextPart1469898.Zy5hIL9psd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFH6F7daCcgCmN5d8RAkKeAKCwXK6VU8b9rgIQZKuVZh4kGheisgCg1obE OALrdwAJPivocKKYwUufdPg= =+xe+ -----END PGP SIGNATURE----- --nextPart1469898.Zy5hIL9psd--