Lightweight x86 emulator for .NET / x86 code execution in a managed environment

Our company is moving the entire product line from the C ++ code base to the .NET Framework. We have a very large code base, and this migration has been carried out gradually over many years.

We would like to take advantage of some clean managed code, such as Silverlight, but there are many legacy C ++ / x86 modules that will take time to migrate to .NET.

One solution would be to load these modules into a lightweight x86 emulator running in a small sandbox in the .NET Framework. This would allow us to call the obsolete x86 DLL, while maintaining a cleanly managed application.

Does anyone know about such a project?

Yours faithfully,

Dan

+3
source share
2 answers

I do not know a project that would allow this to be done.

Speaking, I do not think this is a realistic expectation anyway. Using native code is more than just the ability to run x86 instructions.

The big problem will be the use of library code. This will not be portable to the emulator, as the emulator will probably not only need to follow x86 instructions, but also mimic the Windows API, etc.

, , , , . , , , .

, , , . ++/CLI ( , ++), /clr:pure .

, 100% - , ++/CLI , .

+2

Java .net. :

http://jpc.sourceforge.net

Java- Java ++ LLJVM - .

+1

Source: https://habr.com/ru/post/1717443/


All Articles