C ++ / CLI or C # to create a fast, modern and flexible GUI in Windows

I am currently split between these two languages. I almost halfway programmed my current application, which should be very fast. He calculates insulating glass structures of any type under several loads.

I just don't know if he has the right choice to write it in C ++ / CLI. On the Internet, for example, I did not even read the name "C ++ / CLI", but everyone advises learning C #.

What are the really strong flaws of C ++ / CLI? From my reading, I realized that in the next few years he is doomed to fatigue. It's true? And if they are, are they so bad that you really need to switch to C #?

The only thing that speaks against C # now is that I have the C code that I need to access, and I cannot create .Dll due to security problems and preventing hacking. (The program will be very expensive)

What other possibilities exist for writing a quick graphical interface that runs on Windows (also with 3D animation and multi-core and even graphical processing)?

+3
source share
5 answers

#/WPF UI ++/CLI ( ++/CX WinRT). , ++, ++ .NET. UI WPF, DrawingVisual UIElement, .

"" (, ^) . # ( 4.6 ). , ++/CLI . ++/CLI, Kenny Kerr . , , MS ++/CLI .

++/Direct2D. , . , ( ). Win2D ( Direct2D), , ( , ).

, , , . , , .

EDIT: , , , #/WPF, , ++/DirectX , . , VS2015, , . .NET - , , .

2: #/WPF, , , , , C ( Dave ). , DirectX 12 ( MS tech). , .

3: ( ), - , , , ++/CLI ++/CX.

+3

"" ++/CLI , ++ ( , ). , , , # . , , CLI , .

, - , , C- . , ++, , . , ++, , , , .

# , , , , . , . C interop , . ( Google C #): C #.Net

+1

, , QT.

++/CLI .NET, ++ ( ++).

+1

> , , , , #, ++/CLI () , , ++/CLI (Visual Studio 2005, Managed ++ ), # .

, (, , ) Microsoft , ++/CLI "interop". , ++/CLI ; .NET- # VB.NET.

, #, , ++/CLI. , "" (, ints, double) P/Invoke , .

0

, C DLL , DLL CLI - ? . C DLL , IL-.

++/CLI C. # (, DllImport) ( ). DllImport , ++/CLI. " "; DLL . CLI . / . .

-2

All Articles