<?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: erl_nif Erlang的ffi 扩展erlang的另外一种方法</title>
	<atom:link href="http://blog.yufeng.info/archives/163/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yufeng.info/archives/163</link>
	<description>Erlang系统深度探索和应用</description>
	<lastBuildDate>Tue, 07 Feb 2012 01:58:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: sgqt</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-790</link>
		<dc:creator>sgqt</dc:creator>
		<pubDate>Mon, 05 Jul 2010 06:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-790</guid>
		<description>&lt;a href=&quot;#comment-788&quot; rel=&quot;nofollow&quot;&gt;@Yu Feng  &lt;/a&gt; 
了解</description>
		<content:encoded><![CDATA[<p><a href="#comment-788" rel="nofollow">@Yu Feng  </a><br />
了解</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yu Feng</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-788</link>
		<dc:creator>Yu Feng</dc:creator>
		<pubDate>Mon, 05 Jul 2010 03:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-788</guid>
		<description>NIF的接口在R14A发布后才差不多固定下来. 之前的版本变化的很厉害,这个example代码是写在NIF第一版实现的基础上的,可能会有不兼容.</description>
		<content:encoded><![CDATA[<p>NIF的接口在R14A发布后才差不多固定下来. 之前的版本变化的很厉害,这个example代码是写在NIF第一版实现的基础上的,可能会有不兼容.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sgqt</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-787</link>
		<dc:creator>sgqt</dc:creator>
		<pubDate>Mon, 05 Jul 2010 03:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-787</guid>
		<description>貌似你的代码在14上面会报错.
修改后就好了:
/* niftest.c */ 
#include &quot;erl_nif.h&quot; 
static ERL_NIF_TERM hello(ErlNifEnv* env,int argc, const ERL_NIF_TERM argv[]) 
{ 
    return enif_make_string(env, &quot;hello!&quot;,ERL_NIF_LATIN1); 
} 
static ErlNifFunc nif_funcs[] = 
{ 
    {&quot;hello&quot;, 0, hello} 
}; 
ERL_NIF_INIT(niftest,nif_funcs,NULL,NULL,NULL,NULL)</description>
		<content:encoded><![CDATA[<p>貌似你的代码在14上面会报错.<br />
修改后就好了:<br />
/* niftest.c */<br />
#include &#8220;erl_nif.h&#8221;<br />
static ERL_NIF_TERM hello(ErlNifEnv* env,int argc, const ERL_NIF_TERM argv[])<br />
{<br />
    return enif_make_string(env, &#8220;hello!&#8221;,ERL_NIF_LATIN1);<br />
}<br />
static ErlNifFunc nif_funcs[] =<br />
{<br />
    {&#8220;hello&#8221;, 0, hello}<br />
};<br />
ERL_NIF_INIT(niftest,nif_funcs,NULL,NULL,NULL,NULL)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yu feng</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-112</link>
		<dc:creator>yu feng</dc:creator>
		<pubDate>Mon, 30 Nov 2009 07:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-112</guid>
		<description>不靠谱呀 扩展是扩展 嵌入是嵌入呀</description>
		<content:encoded><![CDATA[<p>不靠谱呀 扩展是扩展 嵌入是嵌入呀</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hitty</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-111</link>
		<dc:creator>hitty</dc:creator>
		<pubDate>Mon, 30 Nov 2009 06:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-111</guid>
		<description>目前看来仅仅是erlang的扩展，不知是否可以此为基础实现与其它语言之间的接口，如python中调用erlang</description>
		<content:encoded><![CDATA[<p>目前看来仅仅是erlang的扩展，不知是否可以此为基础实现与其它语言之间的接口，如python中调用erlang</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erlang-China &#187; Erlang OTP r13 的新气象</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-110</link>
		<dc:creator>Erlang-China &#187; Erlang OTP r13 的新气象</dc:creator>
		<pubDate>Sat, 28 Nov 2009 07:57:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-110</guid>
		<description>[...] Native Implemented Functions (NIFs)  NIF！用过 Java 的同学是不是“情不自禁”地想起了 JNI 呢？虽说是 R13B03 刚刚才推出的实验性设施，但快刀 yufeng 同学已经迅猛无比的博了一篇，请看这里。 [...]</description>
		<content:encoded><![CDATA[<p>[...] Native Implemented Functions (NIFs)  NIF！用过 Java 的同学是不是“情不自禁”地想起了 JNI 呢？虽说是 R13B03 刚刚才推出的实验性设施，但快刀 yufeng 同学已经迅猛无比的博了一篇，请看这里。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yu feng</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-106</link>
		<dc:creator>yu feng</dc:creator>
		<pubDate>Thu, 26 Nov 2009 10:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-106</guid>
		<description>性能差太多了 nif除去参数转化外 基本上就是c函数调用 ， port和driver的开销相对太大了。 所以这个nif才这么被期待，我都念叨1年了才出来。。。</description>
		<content:encoded><![CDATA[<p>性能差太多了 nif除去参数转化外 基本上就是c函数调用 ， port和driver的开销相对太大了。 所以这个nif才这么被期待，我都念叨1年了才出来。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hitty</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-105</link>
		<dc:creator>hitty</dc:creator>
		<pubDate>Thu, 26 Nov 2009 10:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-105</guid>
		<description>最好做个性能对比</description>
		<content:encoded><![CDATA[<p>最好做个性能对比</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hitty</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-104</link>
		<dc:creator>hitty</dc:creator>
		<pubDate>Thu, 26 Nov 2009 10:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-104</guid>
		<description>我们刚用上port做产品，看来又要转nif了....</description>
		<content:encoded><![CDATA[<p>我们刚用上port做产品，看来又要转nif了&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: litaocheng</title>
		<link>http://blog.yufeng.info/archives/163/comment-page-1#comment-99</link>
		<dc:creator>litaocheng</dc:creator>
		<pubDate>Thu, 26 Nov 2009 06:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yufeng.info/?p=163#comment-99</guid>
		<description>nif的确是最简单，最直接的方法啊。
以后就用它了</description>
		<content:encoded><![CDATA[<p>nif的确是最简单，最直接的方法啊。<br />
以后就用它了</p>
]]></content:encoded>
	</item>
</channel>
</rss>

