Visual C ++ 2010 and Native executable

Native exe! Does this mean that my program can work without any requirements? even if i use .net classes?

You know that I want to write a program that is so bright, and I don’t like using C # or any other .net programming language, because they all need .net-framework 4.5.

Just think that a 2.5 MB program needs +250 MB .netframework.

New update - 01/12/2016:

This is almost 4 years ago when I asked this question. As you know, Dotnet Nativeannounced. This is an interesting feature that compiles ILinto native code.

Compiling Applications with .NET Native

.NET Native is a pre-compilation technology for building and deploying Windows applications that are part of Visual Studio 2015. Automatically compiles the release version of applications written in managed code (C # or Visual Basic) for the .NET Framework and Windows 10 - on own code. Typically, .NET-oriented applications. Framework compiled into an intermediate language (IL). At run time, the Just-In-Time (JIT) Compiler translates IL to native code. In Contrast, .NET Native compiles Windows applications directly to native code. For developers, this means:

  • Your applications will provide superior native code performance.
  • You can continue programming in C # or Visual Basic.
  • , .NET Framework, , , .
+3
3

, , .NET 250 + ! , .NET Framework 3.5 SP1 231 , x86 x64.NET 2, 3 3.5 sp1.

http://www.smallestdotnet.com .

:
, , , 20-40MB . .NET - ( ) Native.

:
MFC. VS, 1-2 . , MFC, dll, < 2MB

- ++, - . . .

Win32 API. , C ++, Win32 API , ( , Windows, hwnds ..) , . .

, . :
Windows
https://stackoverflow.com/questions/2711599/what-programming-language-should-i-use-to-create-small-native-windows-applicatio

MFC, :
Windows, ? , ATL, MFC, Win32 CLR ++? ++ MFC vs .NET?
https://stackoverflow.com/questions/557114/stick-with-mfc-or-go-to-net

+2

exe, ++ Win 32.

+1

, , , . Microsoft ++ , , .

.. . ++, , , , . , , .exe, , DLL ( , .exe).

dll, MS DLL .NET(.. DLL , , , ), . , .

++ , , Qt MFC. -, Qt Android Linux, Windows.

+1

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


All Articles