Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3692720
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:17:40+00:00 2026-05-19T04:17:40+00:00

Many programming language runtime environments use stacks as their primary storage structure (e.g. see

  • 0

Many programming language runtime environments use stacks as their primary storage structure (e.g. see JVM bytecode to runtime example).

Quickly recalling I see following advantages:

  • Simple structure (pop/push), trivial to implement
  • Most processors are anyway optimized for stack operations, so it is very fast
  • Less problems with memory fragmentation, it is always about moving memory-pointer up and down for allocation and freeing complete blocks of memory by resetting the pointer to the last entry offset.

Is the list complete or did I miss something? Are there programming language runtime environments which are not using stacks for storage at all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T04:17:41+00:00Added an answer on May 19, 2026 at 4:17 am

    Just decided to include a link to one of the most insightful developers alive (and active), the architect of hotspot JVM:

    When you compare the speed & power of
    a CPU executing bytecodes, you’ll see
    lots of hardware complexity around the
    basic execution issues (I’m skipping
    on lots of obvious examples, but
    here’s one: the stack layout sucks for
    wide-issue because of direct stack
    dependencies).

    http://www.azulsystems.com/blog/cliff-click/2010-04-21-un-bear-able

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen the use of & in many programming language and since I
In the book The C Programming Language it says: Many of the functions in
Many programming languages share generic and even fairly universal features. For example, if you
In many programming languages there is the basic equals operator which will see if
In the Ruby Programming Language , Chapter 6 (second paragraph) they state: Many languages
In section 1.6 of 'The C Programming Language' (K&R) there is an example program
many (may be all?) programming language consist of assembly language how lisp implemented in
Many programming languages allow trailing commas in their grammar following the last item in
I use the C++ programming language with GCC on a GNU/Linux desktop. I am
In mobile development world, which is the best programming language/technology that we can use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.