SharpSource
SharpSource
Short description: SharpSource is a SourceMod extension which enables the developer to create extensions in C#. Like adding new native functions while using C#. Status report: This extension is currently in an early development stage, while the code is already available in order to encourage other people to participate in the development, binaries will be shipped when the extension will provide more functionality. Currently the plugin loads managed (C#) code and loads managed assemblies, note how the arguments are all marshalled. TODO:
DONE:
Credits: The CXXI Project - an awesome C++ bindings generator for C# Bailoplan for such a great project Code is available at github Some of the interfaces available in the C++ world are now available in the C# world. I am continuing to add more and more, but I have to adjust them to make the look as native as possible. A lot of the code is autogenerated, but the generated code needs a lot of adjustments. Adding native functions from the C# world looks already quite awesome and easy to do: PHP Code:
PHP Code:
|
Re: SharpSource
Interesting concept. :)
|
Re: SharpSource
I know this is a very old thread, and only for software that will never be developed further, but I still felt the need to note this.
NOTE Because of the nature of .NET (and Mono), loaded assemblies (plugins) cannot be unloaded, and therefore this extension will leak memory, unless they are seperated into multiple AppDomains. This is also not doable because of the huge performance hit for cross-AppDomain communication. Quote:
|
Re: SharpSource
Damnit I got really excited too....
|
Re: SharpSource
You never know what the future brings. ;)
|
All times are GMT -4. The time now is 15:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.