doc/cpp/ffi

Differences between version #8187 and #8188

39c39
< The C++ runtime used built-in garbage collection that requires cooperation from all haxe threads to synchronize when a garbage collection is performed.  In a single threaded application, it is not really necessary to worry about this, however it is best to do the right thing in case someone wants to use you library in their application.
---
> The C++ runtime uses built-in garbage collection that requires cooperation from all haxe threads to synchronize when a garbage collection is performed.  In a single threaded application, it is not really necessary to worry about this, however it is best to do the right thing in case someone wants to use you library in their application.
41a42,48
> 
> You do not need to do this for neko, but is does not hurt to leave to code in there.
> 
> ===== Building Using the HXCPP Build-tool =====
> 
> There are a several advantages of using the hxcpp built-tool to build your ndll.  The most obvious ones are that it is cross-platform and low-dependency.  Since it uses neko and haxelib to do the work, you do not have to worry about installers etc, and you can be reasonably sure that anyone who is interested in building a haxe ndll is going to have the required files right there on their machine.  This even applies if you are primarily interested in neko - all you have to do is "haxelib install hxcpp" to get the build too, and avoids the need to get "make" for windows, or "Visuall Studio" for Linux.  The cross-platform library stuff is used for the C++ backend, so you will benefit from any improvements performed for that project.
> 

	
Ver Date Lg User Action
#15144 2012-07-21 20:05:21 en jan_flanders View | Diff
#15143 2012-07-21 20:03:42 en jan_flanders View | Diff
#9172 2010-09-03 02:37:32 en Conrad View | Diff
#9149 2010-08-28 20:22:22 en Conrad View | Diff
#9148 2010-08-28 20:15:00 en Conrad View | Diff
#8189 2010-03-08 07:48:30 en gamehaxe View | Diff
#8188 2010-03-08 07:38:06 en gamehaxe View | Diff
#8187 2010-03-08 07:24:10 en gamehaxe View | Diff
#8186 2010-03-08 07:11:29 en gamehaxe View | Diff
#8185 2010-03-08 06:21:32 en gamehaxe View | Diff
#8184 2010-03-08 06:08:54 en gamehaxe View | Diff
#8183 2010-03-08 05:52:21 en gamehaxe View | Diff
#8181 2010-03-05 06:40:30 en gamehaxe View | Diff
#8180 2010-03-05 06:22:14 en gamehaxe View | Diff
#8179 2010-03-05 06:22:14 en gamehaxe Set title to C Foreign Function Interface

Previous | Next