A
A
Airat19952016-07-12 07:02:43
Programming
Airat1995, 2016-07-12 07:02:43

How does C++/CLI work?

I read the article https://m.habrahabr.ru/company/mailru/blog/304748/ and a small question arose, how does C++/CLI work? Does it compile like regular C++ or how is C# converted to bytecode? Or, for example, managed is converted to bytecode, and unmanaged is compiled and then called from the managed part of the code?
PS: Perhaps the porridge in the question turned out, please do not throw stones)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-07-12
@Airat1995

There, the same compiler as in C ++, the managed one is compiled into bytecode, and the unmanaged one into machine code, then a bridge is made (one is called from the other).

D
Daniil Demidko, 2016-07-12
@Daniro_San

C++/CLI is not C++.
Accordingly, there is all the managed code.
Even pointers ^

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question