<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Scripting languages and KDE</title>
	<atom:link href="http://www.dennogumi.org/2009/08/scripting-languages-and-kde/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde</link>
	<description>On the web since 1999</description>
	<lastBuildDate>Fri, 04 Nov 2011 17:03:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Richard Dale</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11900</link>
		<dc:creator>Richard Dale</dc:creator>
		<pubDate>Tue, 04 Aug 2009 13:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11900</guid>
		<description>illissius said: &lt;i&gt;I don&#8217;t see why the existence of Qt4 should mean that an application written in Qt3 cease working.&lt;/i&gt;

Software doesn&#039;t suddenly stop working for no reason. I think the problem you are talking about is caused by a change to a Ruby C function between Ruby 1.8.6 and 1.8.7, where the type of an argument changed from &#039;char *&#039; to &#039;const char *&#039; that meant that Qt3 QtRuby no longer compiled. 

I do have a backup of my Qt3 based development environment on an external USB disk drive, but when I went to fix the bug, for some reason I couldn&#039;t get it to work in a chroot&#039;d environment. So I&#039;m afraid I haven&#039;t been able to fix the bug, but it is only about an hours work for someone familiar with C/C++. I really can&#039;t see that as much of an argument for not using QtRuby. If you had written your game in C++, I wouldn&#039;t be surprised if the code needed some similar small changes over the past 5 years due to changes in the GNU C++ compiler.

illissius said: &lt;i&gt;there is no assurance that the bindings will continue to be maintained well into the future (a small game I wrote with the Qt3 version of QtRuby several years ago is now basically unusable), and getting it to work on any OS besides Linux is a crapshoot.&lt;/i&gt;

I&#039;ve been working on QtRuby for over six years, and I think it is highly unlikely that I will give up after all that time. And there are other people who know the code, should I fall under a bus.

As for porting GPL&#039;d Qt3 applications to Windows and Mac OS X, of course you can&#039;t because there was no GPL license available. Porting a Qt3 QtRuby app to Qt4 is no harder than doing it for other languages, and may even be easier than in C++.</description>
		<content:encoded><![CDATA[<p>illissius said: <i>I don&#8217;t see why the existence of Qt4 should mean that an application written in Qt3 cease working.</i></p>
<p>Software doesn&#8217;t suddenly stop working for no reason. I think the problem you are talking about is caused by a change to a Ruby C function between Ruby 1.8.6 and 1.8.7, where the type of an argument changed from &#8216;char *&#8217; to &#8216;const char *&#8217; that meant that Qt3 QtRuby no longer compiled. </p>
<p>I do have a backup of my Qt3 based development environment on an external USB disk drive, but when I went to fix the bug, for some reason I couldn&#8217;t get it to work in a chroot&#8217;d environment. So I&#8217;m afraid I haven&#8217;t been able to fix the bug, but it is only about an hours work for someone familiar with C/C++. I really can&#8217;t see that as much of an argument for not using QtRuby. If you had written your game in C++, I wouldn&#8217;t be surprised if the code needed some similar small changes over the past 5 years due to changes in the GNU C++ compiler.</p>
<p>illissius said: <i>there is no assurance that the bindings will continue to be maintained well into the future (a small game I wrote with the Qt3 version of QtRuby several years ago is now basically unusable), and getting it to work on any OS besides Linux is a crapshoot.</i></p>
<p>I&#8217;ve been working on QtRuby for over six years, and I think it is highly unlikely that I will give up after all that time. And there are other people who know the code, should I fall under a bus.</p>
<p>As for porting GPL&#8217;d Qt3 applications to Windows and Mac OS X, of course you can&#8217;t because there was no GPL license available. Porting a Qt3 QtRuby app to Qt4 is no harder than doing it for other languages, and may even be easier than in C++.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11899</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 04 Aug 2009 13:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11899</guid>
		<description>From reading the comments, there appear to be two separate arguments here. Writers who want the bindings included with KDE by default emphasize the need to make development easier. Writers who are against the idea point out the fact that Python, etc. use more memory and have more limited performance. Both arguments are essentially correct. But nobody is suggesting a re-write of Kate, porting it to Python. I think we can all agree that it would be a terrible idea to do so.

I do however think a LIMITED set of quality bindings would be incredibly useful. The two languages that come to mind are python and javascript. These languages are popular in the community and well supported by upstream development. Rather than focus on every possible permutation (Perl, Java, C#, Haskell, D, etc.) the KDE project should select 1-2 bindings to include in the kdelibs. This would expand the programming options within the desktop without causing a cascade affect dependencies. Of course there will be those who will criticize the decisions made regarding which languages are chosen but it would be a relatively sane middle ground to shoot for. 

The Gnome approach, where C#, Python, etc. are constantly running for basic core functionality is ridiculous but there for smaller applications, python or javascript would be appropriate and would only affect the users of these smaller, niche applications.</description>
		<content:encoded><![CDATA[<p>From reading the comments, there appear to be two separate arguments here. Writers who want the bindings included with KDE by default emphasize the need to make development easier. Writers who are against the idea point out the fact that Python, etc. use more memory and have more limited performance. Both arguments are essentially correct. But nobody is suggesting a re-write of Kate, porting it to Python. I think we can all agree that it would be a terrible idea to do so.</p>
<p>I do however think a LIMITED set of quality bindings would be incredibly useful. The two languages that come to mind are python and javascript. These languages are popular in the community and well supported by upstream development. Rather than focus on every possible permutation (Perl, Java, C#, Haskell, D, etc.) the KDE project should select 1-2 bindings to include in the kdelibs. This would expand the programming options within the desktop without causing a cascade affect dependencies. Of course there will be those who will criticize the decisions made regarding which languages are chosen but it would be a relatively sane middle ground to shoot for. </p>
<p>The Gnome approach, where C#, Python, etc. are constantly running for basic core functionality is ridiculous but there for smaller applications, python or javascript would be appropriate and would only affect the users of these smaller, niche applications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Einar</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11895</link>
		<dc:creator>Einar</dc:creator>
		<pubDate>Tue, 04 Aug 2009 07:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11895</guid>
		<description>@Cyrille Berger - My point, as stated before, is that people who don&#039;t know / can&#039;t learn C++ should be welcomed as much as the ones using C++. I heard myself of a number of PyQt applications, but not as many use PyKDE, for example. 
Increasing the &quot;awareness&quot; for bindings will open up more fields for KDE: being biased towards the life sciences again, I&#039;d love it make inroads in a field which is basically all Java and web-based applications. But in those fields, almost no one knows C++.</description>
		<content:encoded><![CDATA[<p>@Cyrille Berger &#8211; My point, as stated before, is that people who don&#8217;t know / can&#8217;t learn C++ should be welcomed as much as the ones using C++. I heard myself of a number of PyQt applications, but not as many use PyKDE, for example.<br />
Increasing the &#8220;awareness&#8221; for bindings will open up more fields for KDE: being biased towards the life sciences again, I&#8217;d love it make inroads in a field which is basically all Java and web-based applications. But in those fields, almost no one knows C++.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyrille Berger</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11894</link>
		<dc:creator>Cyrille Berger</dc:creator>
		<pubDate>Tue, 04 Aug 2009 07:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11894</guid>
		<description>An other reason is that despite all the bashing on the complexity of C++, the combination of Qt with a certain subset of C++ (which maybe we should call QtC++ :) ) make a very powerful and easy to use development framework, which reduce the need to go for an other language.

One also should note that they are very few new applications introduced in the main modules nowdays, because they are rather &quot;complete&quot; and already formed quite an advanced applications suite. So it would be worth to extend your search to extragear (and even to outside, especially with the move to DVCS people feel less interested in being in the official repository), there are also many PyQt4 applications, fewer RubyQt (despite being an avid C++ coder, I wrote two of them ;) but don&#039;t really advertise them nor have taken the time to put them on a public repository...), and I have heard of a few Qt/C# ones.</description>
		<content:encoded><![CDATA[<p>An other reason is that despite all the bashing on the complexity of C++, the combination of Qt with a certain subset of C++ (which maybe we should call QtC++ :) ) make a very powerful and easy to use development framework, which reduce the need to go for an other language.</p>
<p>One also should note that they are very few new applications introduced in the main modules nowdays, because they are rather &#8220;complete&#8221; and already formed quite an advanced applications suite. So it would be worth to extend your search to extragear (and even to outside, especially with the move to DVCS people feel less interested in being in the official repository), there are also many PyQt4 applications, fewer RubyQt (despite being an avid C++ coder, I wrote two of them ;) but don&#8217;t really advertise them nor have taken the time to put them on a public repository&#8230;), and I have heard of a few Qt/C# ones.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Einar</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11892</link>
		<dc:creator>Einar</dc:creator>
		<pubDate>Tue, 04 Aug 2009 05:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11892</guid>
		<description>@robertm - I don&#039;t want to sound like there&#039;s lack of support from KDE developers. I just wanted to resume the discussion on bindings, which IMO are first class citizens but due to a series of (solvable) problems aren&#039;t as used as they could be. The first would be bringing more people in, especially to write docs.
@Andy - Python has the Global Interpreter Lock which causes some problems with regards to threading (not yet removed and unsure if it ever will since there are a number of modules inside the core that aren&#039;t thread-safe). I think it can be worked around, though.</description>
		<content:encoded><![CDATA[<p>@robertm &#8211; I don&#8217;t want to sound like there&#8217;s lack of support from KDE developers. I just wanted to resume the discussion on bindings, which IMO are first class citizens but due to a series of (solvable) problems aren&#8217;t as used as they could be. The first would be bringing more people in, especially to write docs.<br />
@Andy &#8211; Python has the Global Interpreter Lock which causes some problems with regards to threading (not yet removed and unsure if it ever will since there are a number of modules inside the core that aren&#8217;t thread-safe). I think it can be worked around, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11876</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 03 Aug 2009 23:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11876</guid>
		<description>As a ruby developer who would love to write desktop apps in KDE, I&#039;ve found that the biggest thing that prevents me from doing so are issues with interpreters support of threading. The ruby interpreter doesn&#039;t support native OS threads (same applies to python I believe) which can cause issues with a framework like KDE which uses them a lot and also controls the main loop. 

I&#039;m more familiar with how these issues manifest themselves in GTK, where for example: segfaults can occur when trying to access GTK from the wrong thread, ruby code can be starved for cpu cycles, and long running ruby code can block screen redraws and button clicks. Last I checked KDE suffered the same sort of issues.

The next version of ruby (1.9) implements native threading I believe so maybe some of these issues will go away. I hope so because there&#039;s been a lot of progress in automated testing using languages like ruby, and I would love to work on a desktop project with a full suite of automated unit and functional tests.</description>
		<content:encoded><![CDATA[<p>As a ruby developer who would love to write desktop apps in KDE, I&#8217;ve found that the biggest thing that prevents me from doing so are issues with interpreters support of threading. The ruby interpreter doesn&#8217;t support native OS threads (same applies to python I believe) which can cause issues with a framework like KDE which uses them a lot and also controls the main loop. </p>
<p>I&#8217;m more familiar with how these issues manifest themselves in GTK, where for example: segfaults can occur when trying to access GTK from the wrong thread, ruby code can be starved for cpu cycles, and long running ruby code can block screen redraws and button clicks. Last I checked KDE suffered the same sort of issues.</p>
<p>The next version of ruby (1.9) implements native threading I believe so maybe some of these issues will go away. I hope so because there&#8217;s been a lot of progress in automated testing using languages like ruby, and I would love to work on a desktop project with a full suite of automated unit and functional tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11875</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Mon, 03 Aug 2009 23:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11875</guid>
		<description>Having been forced to use Perl, Python and Java on projects during the last few years, I&#039;m a bigger fan of C++ than ever. For me, it&#039;s not a question of being interpreted, compiled or bytecode-compiled, it&#039;s more a question of being typesafe, consistent, powerful, readable and _constant_. There is a new kid on the block every few months, be it Vala, Groovy, Ruby, C#, Lua, Python, Perl, ECMA, PHP, or even VB. Many evolve fast. Some don&#039;t have solid enough IDEs, some don&#039;t have solid enough libraries, some are not solid themselves. It&#039;s a moving target. I don&#039;t think it&#039;s a problem of KDE, imho it&#039;s more of a problem of the languages themselves.</description>
		<content:encoded><![CDATA[<p>Having been forced to use Perl, Python and Java on projects during the last few years, I&#8217;m a bigger fan of C++ than ever. For me, it&#8217;s not a question of being interpreted, compiled or bytecode-compiled, it&#8217;s more a question of being typesafe, consistent, powerful, readable and _constant_. There is a new kid on the block every few months, be it Vala, Groovy, Ruby, C#, Lua, Python, Perl, ECMA, PHP, or even VB. Many evolve fast. Some don&#8217;t have solid enough IDEs, some don&#8217;t have solid enough libraries, some are not solid themselves. It&#8217;s a moving target. I don&#8217;t think it&#8217;s a problem of KDE, imho it&#8217;s more of a problem of the languages themselves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Einar</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11873</link>
		<dc:creator>Einar</dc:creator>
		<pubDate>Mon, 03 Aug 2009 21:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11873</guid>
		<description>@Harley - I would count Pardus Linux as a high profile example of what PyKDE can do, to name an example. But yes, single applications that show clearly how well bindings work (they do: the stuff I&#039;m working on in my spare time works great thanks to KDE libraries, and it&#039;s even lean, number of lines of code wise) would be definitely welcome.</description>
		<content:encoded><![CDATA[<p>@Harley &#8211; I would count Pardus Linux as a high profile example of what PyKDE can do, to name an example. But yes, single applications that show clearly how well bindings work (they do: the stuff I&#8217;m working on in my spare time works great thanks to KDE libraries, and it&#8217;s even lean, number of lines of code wise) would be definitely welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harley</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11872</link>
		<dc:creator>Harley</dc:creator>
		<pubDate>Mon, 03 Aug 2009 21:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11872</guid>
		<description>Personally, (and this sounds like the general consensus) I think anything in non-C++ language bindings is fine outside of the KDE core. Basically I think there just needs to be some high profile projects written in the bindings to get people excited about writing KDE apps in that language. For instance look at what Banshee, F-Spot, and Tomboy have done for C# in the GNOME community.</description>
		<content:encoded><![CDATA[<p>Personally, (and this sounds like the general consensus) I think anything in non-C++ language bindings is fine outside of the KDE core. Basically I think there just needs to be some high profile projects written in the bindings to get people excited about writing KDE apps in that language. For instance look at what Banshee, F-Spot, and Tomboy have done for C# in the GNOME community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Einar</title>
		<link>http://www.dennogumi.org/2009/08/scripting-languages-and-kde/comment-page-1#comment-11871</link>
		<dc:creator>Einar</dc:creator>
		<pubDate>Mon, 03 Aug 2009 20:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dennogumi.org/2009/08/scripting-languages-and-kde#comment-11871</guid>
		<description>@Simon Edwards - I used &quot;scripting languages&quot; as a - perhaps over- -simplification (I&#039;ve been using Python for a number of years now and to me too it is a full fledged programming language).</description>
		<content:encoded><![CDATA[<p>@Simon Edwards &#8211; I used &#8220;scripting languages&#8221; as a &#8211; perhaps over- -simplification (I&#8217;ve been using Python for a number of years now and to me too it is a full fledged programming language).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using xcache (Feed is rejected)
Page Caching using xcache
Database Caching using xcache
Object Caching 379/382 objects using xcache

Served from: www.dennogumi.org @ 2012-02-07 17:11:29 -->
