M
M
Marat Nagayev2021-10-14 16:22:50
visual studio
Marat Nagayev, 2021-10-14 16:22:50

Why does Visual Studio need its own runtime?

I can't understand why I need my own runtime for Visual Stuio. Why didn't Microsoft make an IDE along with a regular plus compiler like gcc?
It is somehow strange that for everything there is a standard C ++ class / function from Mikes (for example, std:: string and System:: String)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Armenian Radio, 2021-10-14
@gbg

Are you confusing C++ with C++/CLI?
C++/CLI made to make it easier to interact with dotnet

W
Wataru, 2021-10-14
@wataru

This runtime is libraries for .Net
It had to be filed when MS made C# and .Net. For some reason, they didn't decide to copy libc++ there.
In C ++, support for this goodness was added so that there would be compatibility and more programmers would write using Microsoft's technology.
It only works in c++ if you ask visual studio to compile under the common language runtime.

R
res2001, 2021-10-14
@res2001

std::string is the same part of the Microsoft runtime (standard library) if you are building a project in MSVS.
There are no standard implementations of the compiler and libstd++, there is a standard that describes what the implementation should be. And there are many implementations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question