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.
Dotnet Native
IL
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, , , .
.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:
, , .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 ..) , . .
, . :Windowshttps://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
exe, ++ Win 32.
, , , . Microsoft ++ , , .
.. . ++, , , , . , , .exe, , DLL ( , .exe).
dll, MS DLL .NET(.. DLL , , , ), . , .
++ , , Qt MFC. -, Qt Android Linux, Windows.
Source: https://habr.com/ru/post/1782082/More articles:Several UIAction tables open at the same time - iterationAssigning C / C ++ Arrays - c ++Windows Azure Platform and Multitasking - cloudhow to implement object change notification - c #Java Image Encoding Detection - javaC #, working with files, "Unauthorized access"? - c #Modified shortest path using Dijkstra or Bellman-Ford algorithm - c ++Oauth C Library - cHow to map vimium keyboard shortcuts with default chrome keyboard shortcuts? - vimHow do you insert characters after the first occurrence of a word or phrase in a string? - stringAll Articles