Question about C++ vs. Python/Ruby/JS plasmoids
Arne Babenhauserheide
arne_bab at web.de
Mon Sep 1 08:37:02 CEST 2008
Am Mittwoch 27 August 2008 18:38:05 schrieb Aaron J. Seigo:
> this is a feature also provided by ECMA Script. the question is "why $LANG"
> instead of just stickign to ECMA Script.
>
> the reasons i see are:
>
> * you know $LANG, or the project your are integrating with is written in
> $LANG
>
> * in the cases you need access to more system libraries, but don't want to
> write in C++ (Ruby/Python have bindings for pretty much everything)
* in the cases where the languages are just better suited to the task. For
example String operations, using anything from the standard library (if "it
does the task for you" counts as being better suited :) ) or glueing things
together in Python.
How about using Kross to enable Plasmoids scripted in any language?
- http://kross.dipe.org/
- http://techbase.kde.org/Development/Tutorials/Kross/Introduction
A possible first step could be a Plasmoid which takes its data from a Kross
script.
Best wishes,
Arne
--
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080901/a0cf1ac9/attachment.sig
More information about the Plasma-devel
mailing list