Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

design - why android is built on a VM (Dalvik) -


i curious know made google choose develop android's framework on java vm.

in process of writing code android 6 months now, observed running code on vm in resource limited platform slow. there lot of overhead involved. know java portable etc etc, not possible @ use native languages , both performance , features offered vm ? performance oriented applications 1 still ends writing native code , wrap jni,

so why did google choose particular stack :

  1. arm based core (understandable, arm best mobile devices)
  2. linux (open source)
  3. java vm (my question)

edit : know java - jvm run's on par c++ applications on server, not on android. respect android not case - matter of experience, c++ code wrapped jni runs far faster java code (note have checked exact same code static block in java) agree answer on other platform.

the dalvik vm uses own bytecode, not java bytecode. it's designed fast (relatively speaking). think "vm" part of title bit of red herring, people tend assume "slow" no matter what. said yourself, you're working "resource-limited platform" -- that's main cause of slow performance, more dalvik vm.

disclaimer: not expert on dalvik or android in way, shape, or form. however, seems people can tend make lot of assumptions android based on ideas "it uses vm" , "you write applications in java", without looking platform further that.

see this video more information ever wanted know on dalvik vm internals (from google i/o 2008).


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -