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 9215783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:16:47+00:00 2026-06-18T02:16:47+00:00

I have read plenty of questions on here, which explain what the stack and

  • 0

I have read plenty of questions on here, which explain what the stack and heap are e.g. this one: What and where are the stack and heap?, which was very helpful.

I understand that high level languages are compiled into an intermediary language e.g. byte code for Java and MSIL for .NET programs. MSIL and byte code is then compiled into machine code.

My understanding was that intermediary languages use the stack and heap and then the program is compiled into machine code, which is platform dependent e.g. register based for windows.

However, in the question I have linked to some of the answerers e.g. Brian R. Bondy provide C and C++ examples. I know that C++ does not have a virtual machine and is compiled directly into machine code. My question is: do programming languages that do not have a virtual machine have a stack and a heap? In the case of these programming languages do they use the stack and heap as an intermediary representation whilst compiling directly to machine code?

Update
I realise there are stack based and register based virtual machines. The question I am asking is: are all physical machines register based?

  • 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-06-18T02:16:48+00:00Added an answer on June 18, 2026 at 2:16 am

    I have discovered that there are examples of physical machines where the processors have an instruction set that is stack based e.g. RTX2000-series, UCSD Pascal p-Machine and Burroughs’ B5000- and B6000-series machines (taken from this question: Stack-based machine depends on a register-based machine?). It appears that the actual instruction set used by the processor can be stack based.

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

Sidebar

Related Questions

I have read plenty of C# examples of Value Objects, and I understand that
I know there are plenty of questions here already about this topic (I've read
I have read plenty of questions and answers here about weak linking, checking if
I have read some of the questions and answers here, but it none match
I've read plenty of posts about this, but it seems, that my problem is
I know that there have been plenty of topics describing this topic but I
I've read plenty of questions and articles stating that converting from ASP.NET Webforms to
I'm sorry if this is a weird question. I have read plenty of stuff
There are plenty of questions on here related to fork() and exec(). I have
I have read plenty of articles (particularly on here) about Parameter Sniffing in Stored

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.