<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Choosing an Extension Language</title>
	<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language</link>
	<description>Sublime Text News</description>
	<pubDate>Thu, 28 Aug 2008 22:50:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: kib2</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-446</link>
		<dc:creator>kib2</dc:creator>
		<pubDate>Sat, 12 Apr 2008 21:21:48 +0000</pubDate>
		<guid>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-446</guid>
		<description>Nice to hear you about Scheme (or even Lisp), but I don't understand why users would hate it.

Afraid of the parenthesis ? I don't think so, that's in fact what has made Lisp so powerful with such a nice macros system where the language can builds itself.

But I'm also a big fan of Python, so I won't complain anymore :)</description>
		<content:encoded><![CDATA[<p>Nice to hear you about Scheme (or even Lisp), but I don&#8217;t understand why users would hate it.</p>
<p>Afraid of the parenthesis ? I don&#8217;t think so, that&#8217;s in fact what has made Lisp so powerful with such a nice macros system where the language can builds itself.</p>
<p>But I&#8217;m also a big fan of Python, so I won&#8217;t complain anymore <img src='http://www.sublimetext.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijn</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-445</link>
		<dc:creator>Marijn</dc:creator>
		<pubDate>Sat, 12 Apr 2008 19:58:39 +0000</pubDate>
		<guid>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-445</guid>
		<description>Related to this, http://www.advogato.org/article/550.html makes an interesting point. When an app gets popular, users will prefer to script it in their own favourite language, and it is not that hard to plan ahead for this.</description>
		<content:encoded><![CDATA[<p>Related to this, <a href="http://www.advogato.org/article/550.html" rel="nofollow">http://www.advogato.org/article/550.html</a> makes an interesting point. When an app gets popular, users will prefer to script it in their own favourite language, and it is not that hard to plan ahead for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zealot</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-443</link>
		<dc:creator>zealot</dc:creator>
		<pubDate>Sat, 12 Apr 2008 17:21:02 +0000</pubDate>
		<guid>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-443</guid>
		<description>&#62; Using Scheme or another Lisp dialect as an extension 
&#62; language is an effective way to make sure you won’t 
&#62; have any extensions.
Not sure if this is true. Think of emacs. It has lots of extensions, all of them in emacs' own lisp dialect.</description>
		<content:encoded><![CDATA[<p>&gt; Using Scheme or another Lisp dialect as an extension<br />
&gt; language is an effective way to make sure you won’t<br />
&gt; have any extensions.<br />
Not sure if this is true. Think of emacs. It has lots of extensions, all of them in emacs&#8217; own lisp dialect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schlenk</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-442</link>
		<dc:creator>schlenk</dc:creator>
		<pubDate>Sat, 12 Apr 2008 16:04:29 +0000</pubDate>
		<guid>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-442</guid>
		<description>You missed Tcl in your list. It does most of the stuff Python does, offers some more security features, nicer unicode support and has better embedding in threaded environments.</description>
		<content:encoded><![CDATA[<p>You missed Tcl in your list. It does most of the stuff Python does, offers some more security features, nicer unicode support and has better embedding in threaded environments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: she</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-441</link>
		<dc:creator>she</dc:creator>
		<pubDate>Sat, 12 Apr 2008 15:44:08 +0000</pubDate>
		<guid>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-441</guid>
		<description>"Python has ctypes, and Ruby doesn’t. ctypes provides an ad-hoc way to call functions in any shared library in the system."

Maybe I am missing on something or I am simply mistaken, but doesnt Ruby have DL which allows the same that ctypes can do?

require 'dl/import'
require 'dl/struct'
dlload "libc.so"
LIBXAU.strlen("abc") # =&#62; 3
libc = DL.dlopen('libfuse.so')

etc. for example. Would be nice if someone could explain what python ctypes does more than that.

Anyway, I agree that python is slightly ahead of ruby in certain areas such as more users or better overall docu.
I also agree about this: "Which language is better really isn’t relevant" and I think there should be no barrier between ruby and python users. It would be great to use certain libraries (wrappers) around software in either language. For example, python bindings towards ogre3d are more likely to be up to date than ruby bindings of ogre3d. 

But I would not want to learn and use python just in order to use it with Ogre3d, and I guess for python writers the reverse is true too. Would be nice to use libraries freely, without caring in which language they are implemented.</description>
		<content:encoded><![CDATA[<p>&#8220;Python has ctypes, and Ruby doesn’t. ctypes provides an ad-hoc way to call functions in any shared library in the system.&#8221;</p>
<p>Maybe I am missing on something or I am simply mistaken, but doesnt Ruby have DL which allows the same that ctypes can do?</p>
<p>require &#8216;dl/import&#8217;<br />
require &#8216;dl/struct&#8217;<br />
dlload &#8220;libc.so&#8221;<br />
LIBXAU.strlen(&#8221;abc&#8221;) # =&gt; 3<br />
libc = DL.dlopen(&#8217;libfuse.so&#8217;)</p>
<p>etc. for example. Would be nice if someone could explain what python ctypes does more than that.</p>
<p>Anyway, I agree that python is slightly ahead of ruby in certain areas such as more users or better overall docu.<br />
I also agree about this: &#8220;Which language is better really isn’t relevant&#8221; and I think there should be no barrier between ruby and python users. It would be great to use certain libraries (wrappers) around software in either language. For example, python bindings towards ogre3d are more likely to be up to date than ruby bindings of ogre3d. </p>
<p>But I would not want to learn and use python just in order to use it with Ogre3d, and I guess for python writers the reverse is true too. Would be nice to use libraries freely, without caring in which language they are implemented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasz Wegrzanowski</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-440</link>
		<dc:creator>Tomasz Wegrzanowski</dc:creator>
		<pubDate>Sat, 12 Apr 2008 15:18:53 +0000</pubDate>
		<guid>http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-440</guid>
		<description>Ruby has ctypes all right - &lt;a href="http://rubyforge.org/projects/ruby-dl2/" rel="nofollow"&gt;Ruby/DL2&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Ruby has ctypes all right - <a href="http://rubyforge.org/projects/ruby-dl2/" rel="nofollow">Ruby/DL2</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
