NObjective. Fast .NET <==> objc bridge
NObjective. Fast .NET <==> objc bridge
- Subject: NObjective. Fast .NET <==> objc bridge
- From: "Евгений Гришуль" <email@hidden>
- Date: Fri, 7 Nov 2008 22:32:42 -0800
Hi guys.
Recently I started project called NObjective which main goal is create
high-performance and flexible library with low memory/cpu overheads which
provides ability to bridge runtimes in efficient ways. Currently it supports
codegeneration so hundreds of objc classes can be easily exported to .NET
runtime via transparent proxies. Also you can export your own .NET classes
to objc runtime. See timing and make right choise:
http://code.google.com/p/objcmapper/
=============Running tests on my Mac Pro ( Intel Xeon )
native objc results:
Allocation: 2.353ms
Vararg marshaling: 120.822ms
Invocation: 0.807ms
NObjective results:
Allocation: 32.686ms
Vararg marshaling: 594.115ms
Invocation: 7.569ms
// vararg support broken in monobjc 2.0.282 and not supported in mobjc
mobjc results:
Allocation: 1335.132ms
Invocation: 303.132ms
Cocoa# results:
Allocation: 1892.199ms
Vararg marshaling: 7711.375ms
Invocation: 385.261ms
monobjc results:
Allocation: 2938.339ms
Invocation: 217.985ms
==========Running tests on my macmini ( PowerPC G4 )
native objc results:
Allocation: 14.258ms
Vararg marshaling: 426.12ms
Invocation: 4.448ms
NObjective results:
Allocation: 181.4ms
Vararg marshaling: 2378.556ms
Invocation: 42.117ms
mobjc results:
Allocation: 4316.54ms
Invocation: 1703.861ms
Cocoa# results:
Allocation: 6369.636ms
Vararg marshaling: 32565.022ms
Invocation: 1586.433ms
monobjc results:
Allocation: 12095.884ms
Invocation: 1014.675ms
--
WBR,
Grishul Eugeny
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden