Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Services - Log On As User Account Pin
Mark Salsbery25-Jul-08 13:59
Mark Salsbery25-Jul-08 13:59 
QuestionHow to check if a number can be dived by 8 Pin
Gareth H25-Jul-08 11:00
Gareth H25-Jul-08 11:00 
AnswerRe: How to check if a number can be dived by 8 [modified] Pin
Wendelius25-Jul-08 11:06
mentorWendelius25-Jul-08 11:06 
GeneralRe: How to check if a number can be dived by 8 Pin
Gareth H25-Jul-08 11:46
Gareth H25-Jul-08 11:46 
GeneralRe: How to check if a number can be dived by 8 Pin
Luc Pattyn25-Jul-08 12:02
sitebuilderLuc Pattyn25-Jul-08 12:02 
AnswerRe: How to check if a number can be dived by 8 Pin
Lutosław25-Jul-08 11:30
Lutosław25-Jul-08 11:30 
AnswerRe: How to check if a number can be dived by 8 Pin
#realJSOP26-Jul-08 0:52
professional#realJSOP26-Jul-08 0:52 
NewsNetAsm, A JIT Native Code Injection Library Pin
AlexandreMutel25-Jul-08 10:58
AlexandreMutel25-Jul-08 10:58 
Hi,

I would like to share with the .NET community, the NetAsm opensource project available on codeplex.

NetAsm provides a hook to the .NET JIT compiler and enables to inject your own native code in replacement of the default CLR JIT compilation. With this library, it is possible, at runtime, to inject x86 assembler code in CLR methods with the speed of a pure CLR method call and without the cost of Interop/PInvoke calls. With this library, it is possible for example to inject highly optimized code (using SSE, MMX) inside a method, in replacement of the default generated native code by the JIT compiler.


The current features of NetAsm are:

  • Runs on x86 32bit Microsoft .NET platform with 2.0+ CLR runtime (x64 may be supported in the future
  • Provides three different native code injection techniques: Static, DLL, and Dynamic.
    • Static code injection: The native code is stored in an attribute of the method.
    • Dll code injection : this method is similar to the DllImport mechanism but CLR methods are directly bind to the DLL function, without going through the interop layers.
    • Dynamic code injection: you can generate native code dynamically with a callback interface that is called by the JIT when compilation of a method is occurring. It means that you can compile a method “on the fly”. You have also access to the IL code of the method being compiled.
  • Supports for debugging static and dynamic code injection.
  • Supports for different calling conventions: StdCall, FastCall, ThisCall, Cdecl. Default calling convention is CLRCall
  • NetAsm can be used inside any .NET language (you can run assembler code inside VB!)
  • Very small library <100Ko.


For additional information and documentation, please visit the NetAsm codeplex site.


Alexandre

GeneralRe: NetAsm, A JIT Native Code Injection Library Pin
DaveyM6925-Jul-08 11:23
professionalDaveyM6925-Jul-08 11:23 
GeneralRe: NetAsm, A JIT Native Code Injection Library Pin
Roger Alsing25-Jul-08 23:50
Roger Alsing25-Jul-08 23:50 
QuestionHL7 integration with C# Pin
Aslesh25-Jul-08 8:32
Aslesh25-Jul-08 8:32 
AnswerRe: HL7 integration with C# Pin
DaveyM6925-Jul-08 9:12
professionalDaveyM6925-Jul-08 9:12 
AnswerRe: HL7 integration with C# Pin
Bob Nadler25-Jul-08 12:25
Bob Nadler25-Jul-08 12:25 
AnswerRe: HL7 integration with C# Pin
#realJSOP26-Jul-08 0:47
professional#realJSOP26-Jul-08 0:47 
GeneralHL7 integration with C# PinPopular
Bob Nadler30-Jul-08 17:44
Bob Nadler30-Jul-08 17:44 
QuestionCharArrayReader Pin
DwR25-Jul-08 8:25
DwR25-Jul-08 8:25 
AnswerRe: CharArrayReader Pin
SomeGuyThatIsMe25-Jul-08 8:26
SomeGuyThatIsMe25-Jul-08 8:26 
AnswerRe: CharArrayReader Pin
DaveyM6925-Jul-08 9:04
professionalDaveyM6925-Jul-08 9:04 
QuestionHttpRequest and Submit button in html Pin
f4hd25-Jul-08 8:24
f4hd25-Jul-08 8:24 
AnswerRe: HttpRequest and Submit button in html Pin
f4hd31-Jul-08 5:40
f4hd31-Jul-08 5:40 
QuestionWebServices in C#.net Pin
balu1234525-Jul-08 8:01
balu1234525-Jul-08 8:01 
AnswerRe: WebServices in C#.net Pin
Ashfield25-Jul-08 8:26
Ashfield25-Jul-08 8:26 
GeneralRe: WebServices in C#.net Pin
SomeGuyThatIsMe25-Jul-08 8:29
SomeGuyThatIsMe25-Jul-08 8:29 
GeneralRe: WebServices in C#.net Pin
balu1234525-Jul-08 8:36
balu1234525-Jul-08 8:36 
GeneralRe: WebServices in C#.net Pin
Ashfield25-Jul-08 9:13
Ashfield25-Jul-08 9:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.