Bytecode vs. Nativecode and VM Interpreter Clarification - Android

I'm a little confused.
If bytecode's purpose is to provide an architecture-independent translation to nativecode from a vm, why wouldn't the operating system use ahead-of-time compiling and compile all of the bytecode into nativecode when the application is installed? Thus removing the need for JIT and any delayed startup times for the application.
Also, what is the bytecode interpreter really doing? What makes it so much slower than compiling ahead-of-time orjust-in-time?
If anyone who knows what they're talking about would be so kind, I could really use some clarification on this whole subject. Thanks.
EDIT:
Wikipedia answered most of my questions:
en.wikipedia.org/wiki/Virtual_machine
en.wikipedia.org/wiki/Interpreter_(computing)
en.wikipedia.org/wiki/Just-in-time_compilation
(can't post links until I'm verified)

Related

[Q][Now Correct links]Need help with compiling xclannad for WM

Hi, I'm trying to compile xclannad to make it working on my htc touch diamond with windows mobile 6.5.
For those who don't know, xclannad is an interpreter to run some visual novel made by key visual arts (for example clannad and air) on other platforms than windows.
The application is wroten using SDL and, included in the source, there is also a makefile for WinCE, so it should be successfully compiled for WM.
I've managed to compile all the needed libraries but, when I try to compile xclannad i get an error that I can't manage to correct. (I've always developed in .NET languages, so my C / C++ knowledge is not very good).
Is there someone that could help me by taking a look at the source code?
Here there is the source code: http://www.multiupload.com/6F9M2BFMWS
and here there is my premade cygwin environment with mingw32ce and all the needed libraries ready: http://www.multiupload.com/BJHG3EEY5B
Any help is really appreciated!
Thank you!
(I'm sorry for my english, but I'm not a native english speaker)
EDIT:
I'm sorry, I've noticed that I've posted in the wrong section (i think that che correct section for this post is WM Development).
+1
Love the Key's Visual Arts novel!!
No one have a bit of time to spend to help me?
Please ^_^
I love a WP8/10 port of xclannad. I know this is really old thread but If anyone one is willing to give it a shot at porting it over to WP,
I'll be more than happy to try it out & plus Clannad is coming to Steam around the corner SOON!
But yeah I have no clue with coding

[Q] Modifying a stock ROM/kernel

Hello! I'm not sure am I allowed to post this kind of question in this forum, but I couldn't find any better place.
I would like to modify (edit) my SGS II's ROM/kernel. I've already downloaded source from opensource.samsung.com (GT-I9100_OpenSource_Update2, 2.3.5).
I'm not new to programming but I just don't know how to "edit" that ROM/kernel. I have Visual Studio (I know the basics of C/C++, and I'm good at C#). Kernel is the lowest-level "program" so I guess it's written either in C or C++.
So what I'm wondering is how do I open the kernel or ROM in Visual Studio and am I able to compile it later with VS? (I just saw compiling tutorials and everyone is compiling on Linux (I'll install it if necessary)).
You don't have to write me step-by-step guide, but just help me a bit.
Sorry for my bad English by the way.
Link to download GT-I9100_OpenSource_Update2 from linux shell
If anyone is trying to download the files from linux shell, you need to find the file's "attach_id" which you put in the cmdline below to download what you need.
In this case (attach_id=1584) it's GT-I9100_OpenSource_Update2.zip
Code:
wget --post-data="method=downLoad&attach_id=1584&down_purpose=EETC" https://opensource.samsung.com/reception/reception_main.do?method=downLoad

Could some1 point me in the right direction plz?!

Hi,
I would say that my knowledge of JAVA is fair enough, intermediate. I just started developing on android for the sole purpose of creating a few book applications.
Are there any tutorials/guides that you guys would recommend that i can follow in order to do so please?
Many thanks.
Without offend you... please search in Google, there are many Android tutorials, like this.
First, you need to setup Java SE, Android SDK, Eclipse and ADT Plugin for Eclipse (in that order), then you can begin to develop
RoberGalarga said:
Without offend you... please search in Google, there are many Android tutorials, like this.
First, you need to setup Java SE, Android SDK, Eclipse and ADT Plugin for Eclipse (in that order), then you can begin to develop
Click to expand...
Click to collapse
Thanks for that mate. I've set all that up already. I was looking for making apps for ebooks in particular. Are you aware of any tutorials for that please?
Thanks.
Nope, sorry dude, I only know general tutorials like above
if you know java, now you only need to know the android classes.
learn the classes you need use from here:
developer.android.com

Apktool + ICS + Ubuntu 10.04

Hello dear readers forum. I have a question that has matured well, very important to me now, and it is compiling and decompiling applications from the operating system Android ICS 4.0.X.
Tried and aapt from the android-sdk and a bunch of files from xda-forum, but when trying to compile the application, climbs a lot of mistakes, I read that you need to remove ODEX from the archive, and then put in place - about
I work in Ubuntu 10.04. I can read, Google has enjoyed, was looking for.
Having tried all the options from the forum and those that could be found.
For the record - I work with the phone THL W1 - which was just installed Android ICS.
Why do it?
I want to add the Russian language and some change.
I hope for a clear and wise response. Believe me, if I had not tried to find anything - I would not write here.
Sorry for my English. I am writing a google translete.
P.S. I love xda forum)))

Developing On Framework.jar Without "optimizing Apps" On Boot

Hi guys,
Searched all over the place, maybe I'm just not using the right terminology.
I'm modding some CM stuff in framework/base/core, which means framework.jar has to be built.
If I use:
Code:
dopush mmm frameworks/base/ -j32
ART(?) needs to optimize all the apps again.
This makes developing excruciatingly slow.
Does anyone know of a way to bypass this? A nudge in the right direction is also greatly appreciated.
Cheers,
Daan
(Also posted this on the cyanogenmod forums, but thought I'd extend the reach a bit : ) )

Categories

Resources