Skip to content

Commit

Permalink
feat(docs/application): Add Java Virtual Machine concept explanation
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Klaschka <[email protected]>
  • Loading branch information
cb0s and pklaschka authored Sep 9, 2022
1 parent 0cda2c7 commit 846a12c
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions docs/application/concepts/80-jvm.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
title: Java Virtual Machine (JVM)
description: How Java code is executed on a device
---

<!--
Concept
=======

=== When to use this template:
Use this template when you need to describe a concept, technology,
or something similar. In other words: whenever you need to write an
article that describes a concept where the concept's name can be the
article's title (e.g., "Vert. x", "Verticle", "Event Bus")

=== When not to use this template:
Do not use these templates for articles that give context on how
to use/approach the topic. Instead, it would be best if you used a guide for that.

Writing a guide and a concept article are not mutually exclusive. Instead,
you should, in most cases, write both, where the concept gives a brief overview
of what it is, and the guide is a longer article explaining best practices on using
it.

E.g.:
Concept: Event Bus
Guide: Interacting with the Event Bus


=== Writing tips:
- Write in the present tense
- Use neutral pronouns (they/them instead of he/she and him/her)
- Be respectful to everyone
- Be aware of the potential for cultural misunderstandings
-->

<!-- Relevant imports: -->

import { Reference, Image } from '/components';

<!-- Brief Description (1-3 lines) of the concept: -->

The Java Virtual Machine (JVM) is an additional layer between the Java source code (in `.java` files) and the compiler
generated executable files.
It serves the purpose of combining the advantages of a scripting language (mainly platform independent code) with the speed of compiled languages.
For this reason, Java code is translated into "Byte Code" that is quicker to process by machines.

## See also

<Reference to="https://en.wikipedia.org/wiki/Java_virtual_machine">Wikipedia JVM</Reference>

<!--
Snippets
--------n

<Reference to="../other-article">
Relative Link to other article
</Reference>

<Reference to="https://www.example.com">
Example Website
</Reference>
-->

0 comments on commit 846a12c

Please sign in to comment.