java - What is difference between PORTABLE and Machine Independent? -
this might silly question confused between portable , machine independent. java, c#.net : portable or machine independent?
what difference between portable , machine independent?
there no real answer this. depends on definitions of "portable" , "machine independent" chose accept. (i pick pair of definitions agree , compare those. don't think that's objective.)
what java, c#.net : portable or machine independent?
you argue java , c# neither portable or machine independent.
a java or c# program runs on platform jvm or clr implementation, , "compliant" implementation of respective standard libraries. ergo, languages not machine independent (in literal sense).
there many examples of java (and i'm sure c#) programs behave differently on different implementations of java / c#. due differences in runtime libraries and/or host operating system. due invalid assumptions on part of programmer. point java / c# software requires porting work. ergo, not portable (in literal sense.)
Comments
Post a Comment