Click here to Skip to main content
14,330,218 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100