<?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: Choosing an Extension Language</title>
	<atom:link href="http://www.sublimetext.com/blog/articles/choosing-an-extension-language/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language</link>
	<description>Sublime Text News</description>
	<lastBuildDate>Tue, 29 Jan 2013 23:01:45 +1100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Who would have thought Sublime Text was so, well, sublime! &#171; Rants, Rambles, and Rhinos</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language/comment-page-1#comment-861</link>
		<dc:creator>Who would have thought Sublime Text was so, well, sublime! &#171; Rants, Rambles, and Rhinos</dc:creator>
		<pubDate>Fri, 07 Aug 2009 12:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-861</guid>
		<description>[...] One thing that I was disappointed with was that there was no version control integration with Mercurial, my version control system of choice. That is, until I started reading about the powerful plugin architecture and wrote a tool for it myself! The author of Sublime Text probably realized he can&#8217;t fill every single need out of the box, so he provided the tools for end users to improve it themselves through a complete Python environment and plugin API. Using Python as an extension language was a great choice because now users can use the huge amount of Python code publicly available, some users may already know it, and the developer can focus on developing the editor, rather than creating an extension language. The author of the software discusses the reasons he chose Python here. [...]</description>
		<content:encoded><![CDATA[<p>[...] One thing that I was disappointed with was that there was no version control integration with Mercurial, my version control system of choice. That is, until I started reading about the powerful plugin architecture and wrote a tool for it myself! The author of Sublime Text probably realized he can&#8217;t fill every single need out of the box, so he provided the tools for end users to improve it themselves through a complete Python environment and plugin API. Using Python as an extension language was a great choice because now users can use the huge amount of Python code publicly available, some users may already know it, and the developer can focus on developing the editor, rather than creating an extension language. The author of the software discusses the reasons he chose Python here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kib2</title>
		<link>http://www.sublimetext.com/blog/articles/choosing-an-extension-language/comment-page-1#comment-446</link>
		<dc:creator>kib2</dc:creator>
		<pubDate>Sat, 12 Apr 2008 21:21:48 +0000</pubDate>
		<guid isPermaLink="false">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&#039;t understand why users would hate it.

Afraid of the parenthesis ? I don&#039;t think so, that&#039;s in fact what has made Lisp so powerful with such a nice macros system where the language can builds itself.

But I&#039;m also a big fan of Python, so I won&#039;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-page-1#comment-445</link>
		<dc:creator>Marijn</dc:creator>
		<pubDate>Sat, 12 Apr 2008 19:58:39 +0000</pubDate>
		<guid isPermaLink="false">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-page-1#comment-443</link>
		<dc:creator>zealot</dc:creator>
		<pubDate>Sat, 12 Apr 2008 17:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-443</guid>
		<description>&gt; Using Scheme or another Lisp dialect as an extension 
&gt; language is an effective way to make sure you won’t 
&gt; have any extensions.
Not sure if this is true. Think of emacs. It has lots of extensions, all of them in emacs&#039; 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-page-1#comment-442</link>
		<dc:creator>schlenk</dc:creator>
		<pubDate>Sat, 12 Apr 2008 16:04:29 +0000</pubDate>
		<guid isPermaLink="false">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-page-1#comment-441</link>
		<dc:creator>she</dc:creator>
		<pubDate>Sat, 12 Apr 2008 15:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-441</guid>
		<description>&quot;Python has ctypes, and Ruby doesn’t. ctypes provides an ad-hoc way to call functions in any shared library in the system.&quot;

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 &#039;dl/import&#039;
require &#039;dl/struct&#039;
dlload &quot;libc.so&quot;
LIBXAU.strlen(&quot;abc&quot;) # =&gt; 3
libc = DL.dlopen(&#039;libfuse.so&#039;)

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: &quot;Which language is better really isn’t relevant&quot; 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-page-1#comment-440</link>
		<dc:creator>Tomasz Wegrzanowski</dc:creator>
		<pubDate>Sat, 12 Apr 2008 15:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.sublimetext.com/blog/articles/choosing-an-extension-language#comment-440</guid>
		<description>Ruby has ctypes all right - &lt;a href=&quot;http://rubyforge.org/projects/ruby-dl2/&quot; rel=&quot;nofollow&quot;&gt;Ruby/DL2&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Ruby has ctypes all right &#8211; <a href="http://rubyforge.org/projects/ruby-dl2/" rel="nofollow">Ruby/DL2</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
