Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Hai im a newbiee
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
krithika rajan  
View profile  
 More options Oct 28 2012, 6:46 am
From: krithika rajan <itsme.kree...@gmail.com>
Date: Sun, 28 Oct 2012 03:46:34 -0700 (PDT)
Local: Sun, Oct 28 2012 6:46 am
Subject: Hai im a newbiee

hai frnz i have just started my android developer training..i came across a
term called 'register based'..can anyone tell what is register based..and
pls explain the difference between stack based and register based


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TreKing  
View profile  
 More options Oct 29 2012, 3:52 pm
From: TreKing <treking...@gmail.com>
Date: Mon, 29 Oct 2012 14:44:56 -0500
Local: Mon, Oct 29 2012 3:44 pm
Subject: Re: [android-developers] Hai im a newbiee

On Sun, Oct 28, 2012 at 5:46 AM, krithika rajan <itsme.kree...@gmail.com>wrote:

> hai frnz i have just started my android developer training..

I would suggest your put your Android developer training on hold and do so
English training.

> i came across a term called 'register based'..can anyone tell what is
> register based..and pls explain the difference between stack based and
> register based

There's this amazing technology called "search" that lets you input terms
to a website and, using *magic*, it gives you answers. Give it a shot.

--------------------------------------------------------------------------- ----------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lew  
View profile  
 More options Oct 29 2012, 4:52 pm
From: Lew <lewbl...@gmail.com>
Date: Mon, 29 Oct 2012 13:52:22 -0700 (PDT)
Local: Mon, Oct 29 2012 4:52 pm
Subject: Re: Hai im a newbiee

krithika rajan wrote:
> hai frnz i have just started my android developer training..i came across
> a term called 'register based'..can anyone tell what is register based..and
> pls explain the difference between

What is "fmz"? What is "pls"?

> stack based and register based

This is fundamental, basic, introductory, beginning-level computer
terminology.

"Stack" is a region of memory pointed to by the "stack pointer", and
bounded in size to be
smaller than all of memory. It is distinct from "heap", a bunch of the rest
of memory, in
how it is found and accessed. Each subregion of stack holds a group of data
related to
the execution state for a particular method or segment of code, that method
or code
segment-worth of data being known as the "context" for that method or
segment.

A "register" is a word, or doubleword or quadword of very, very, very fast
storage on the CPU
used to hold a single value (data or instruction).

"Stack-based" means that arguments are passed (e.g., to methods) on the
stack, i.e., pushed onto
the top of the function-local memory, along with whatever other state is
needed for that function.

Upon return (e.g., from the method) the stack pointer resets to where it
was before the call,
effectively erasing all knowledge of the portion of stack that was local to
the method (or code
segment). It is that push-on, pull-off action that makes that memory region
a stack.

A stack is a fundamental, basic, introductory data structure.

"Register-based" means that data is passed directly in a register, not in
memory such as stack.
Generally there are not many registers available so only key data are
passed through registers,
the rest being kept in the context on the stack.

Register-based access tends to be faster than stack-based if the right
values are passed via
registers.

--
Lew


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Asheesh Arya  
View profile  
 More options Oct 30 2012, 2:55 am
From: Asheesh Arya <asheesharya...@gmail.com>
Date: Tue, 30 Oct 2012 12:18:33 +0530
Local: Tues, Oct 30 2012 2:48 am
Subject: Re: [android-developers] Re: Hai im a newbiee

hahaha this guy treking is damn funny instead of giving lecture if he
provide some sufficient information related to query what wrong in that. i
think he is always remain out of his mind and always irriate everyone


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kristopher Micinski  
View profile  
 More options Oct 30 2012, 1:47 pm
From: Kristopher Micinski <krismicin...@gmail.com>
Date: Tue, 30 Oct 2012 13:45:17 -0400
Local: Tues, Oct 30 2012 1:45 pm
Subject: Re: [android-developers] Re: Hai im a newbiee

Lew is correct,

But as far as actual VMs go, the differences are more cosmetic than
anything these days, as Dalvik's JIT will change things somewhat.
Furthermore, even when you're running under the interpreter, the
'register based' mapping in Dalvik is really only ever an offset from
the beginning of a stack frame anyway.

As an Android programmer you don't really need to worry about this at
all, you will never see it, it's all handled by the Android toolchain
(which takes a class based Java file and transforms it into a register
based Dalvik file).

(If you're writing a compiler, a stack based VM is dead simple to
generate code for.., a register based VM is not much more work, but
usually you do some static analysis and optimization to correctly
place registers which are in use at the same time..)

kris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic