Does C#, c++ etc compile the same exe file structure wise?
25 minutes ago, WillLTT said:Mods if this thread is better in Programming thread then feel free to move it. It just thought it fit here better because im asking about Executeables files that are built into windows.
I'm not a mod but.... I will allow it.
25 minutes ago, WillLTT said:Im wondering does c++, c#, java, extra compile to the same exe, in known you need for example
.NET to run c#, and you need visual c++ framework, etc
Java compiles to its own form of "byte code" that can only run in Java Virtual Machines. That's why Java programs are cross platform.
Sometimes computers need dependancies-hence the C++ redistributables you may attain from downloading games on Steam.
25 minutes ago, WillLTT said:But do all these compile to the same exe insides? Like are they simmilarly structured, compiled to the same exe internaly.
Feel free to correct any missspellings or miss wording, im trying to learn this better.
Not all compilers compile the same language the same way.
I don't know that a single compiler compiles 2 seperate languages the same way.
C# is also compiled into a type of byte code as it was Microsoft's attempt at a cross platform technology like Java.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now