Question about C++ vs. Python/Ruby/JS plasmoids

Paul B happysmileman at googlemail.com
Tue Aug 26 20:58:52 CEST 2008


I've read before on several occassions that plasmoids should be written in 
Python(when the bindings are finished :P), Ruby, JS, etc. because that way they 
don't run in the plasma process, and a crash will not bring down the entire 
desktop. Yet all the plasmoids I see are written in C++, does this not seem a 
bit hypocritical?

Have you thought about switching over the core plasmoids to a scripting 
language? Is there any language that could be used without adding additional 
dependencies to plasma (QtScript?), or if not, do you think it would be 
worthwhile to pick one language and make that a dependency?

I understand that for some tasks C++ may just be an easier and more efficient 
language for doing this, but to have ALL the core plasmoids use a system that, 
as has been said before, could bring down the entire desktop seems a bit 
reckless.


More information about the Plasma-devel mailing list