Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Let's consider only cross platform managed code.

I have read markup hybrid is slow and native is fast, but i don't know about managed code.
Both of them are cross platform WORA (Write once, run anywhere).

Performance is matter to me.
What is faster? Managed code or markup hybrid code?
For example, Java or HTML?
Posted
Updated 3-Jan-15 0:50am
v10
Comments
Richard MacCutchan 3-Jan-15 7:01am    
All of your questions could be answered by doing some research for yourself. Google will find you lots of information on different platforms, languages and systems, and even differences between them.

Please read (again) http://www.codeproject.com/KB/FAQs/QuickAnswersFAQ.aspx.
Ziya1995 3-Jan-15 7:07am    
Ok, sorry, thanks.

1 solution

Generally "native code" meaning compiled directly to the CPU instructions is faster, however in some circumstances "managed code" running on a "virual machine" can be faster.

So you really have to try and see which works best for your situation.
 
Share this answer
 
Comments
Ziya1995 3-Jan-15 6:48am    
No, i know native code is faster than markup hybrid code, for example C++ is faster than HTML, but my question is: Managed code vs markup hybrid code, for example, Java vs HTML, what is faster?
Mehdi Gholam 3-Jan-15 6:53am    
HTML is not code, it is markup and presentation.

Javascript is code and is slower than JAVA and c++.
Ziya1995 3-Jan-15 7:40am    
I am talking about markup, HTML, not Javascript, is markup (Html) faster or slower than managed code (Java)?
Mehdi Gholam 3-Jan-15 7:44am    
HTML does not "execute" it is a presentation format, hence you cannot compare it.
Ziya1995 3-Jan-15 8:09am    
Ok, i went to read and got it, thank you!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900