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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:34:49+00:00 2026-05-13T18:34:49+00:00

What are some fundamental Feature/Architectural difference between the BEAM and JVM? Yes I know:

  • 0

What are some fundamental Feature/Architectural difference between the BEAM and JVM?

  1. Yes I know: one was originally built around java and the other built around erlang
  2. I understand the JVM (somewhat) and want to compare their structures
  3. For example I know that the JVM has one Global GC and BEAM has one per process
  • 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-13T18:34:49+00:00Added an answer on May 13, 2026 at 6:34 pm

    First of all, Beam is a register machine, not a stack machine. Like the WAM for Prolog, it uses “X-registers” which are normal registers (implemented as an array in C), and “Y-registers” which are names for slots in the local function activation record (the “call frame”) on the stack. There are no stack manipulation instructions.

    Second, there are instructions for quickly allocating a few more words of heap memory, for initializing tuples and other data structures on the heap, for selecting elements of tuples, etc. JVM is focused on objects, and has a ‘new’ operation that hides the details of memory allocation and basic initialization.

    The BEAM has an instruction for decrementing the “reduction counter” for the process and deciding whether it is time to yield to let another process run. JVM on the other hand has synchronization instructions for threads.

    One important difference is that BEAM has tail call instructions, which JVM lacks.

    Finally, for both the BEAM and JVM, the instruction set used in object files are really only a transport format. The BEAM emulator rewrites the instructions from the file into an internal version with many optimized special-case instructions (that can change from one release to another). Alternatively, you can compile to native code. Most JVMs do the same thing.

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

Sidebar

Related Questions

What is the fundamental difference between using $(this) vs this $('.viewComments').click(function(ev){ //returns the desired
Some things look strange to me: What is the distinction between 0.0.0.0, 127.0.0.1, and
Some programming languages such as Java and C# include encryption packages in their standard
I've developed some web-based applications till now using PHP, Python and Java. But some
I've been trying lately to implement some clean coding practices in AS3. One of
I am porting some Java code to C# and I ran across this: List<?>
I have a script that appends some rows to a table. One of the
I am looking around for some in depth resources on HTML features such as
I'm certain that I'm missing some fundamental understanding of iOS memory management and, despite
Jailbroken iPhones get on my nerve as it taints some fundamental APIs on iOS,

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.