blob: e422dcde65a74637548d7acf9d6a0826af24f6ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
title: Emscripten
slug: Mozilla/Projects/Deutsch
translation_of: Mozilla/Projects/Emscripten
---
<div class="summary">
<p><span class="seoSummary">Emscripten is an <strong>LLVM</strong> to <strong>JavaScript</strong> compiler. It takes LLVM bytecode (e.g. generated from C/C++ using Clang, or from another language) and compiles that into JavaScript, which can be run on the Web.</span></p>
</div>
<div class="column-container zone-callout">
<p><strong>The resources here provide you with all you need to know to get up and running with Emscripten at a basic level, allowing you to take your first steps with Emscripten, and discover how Emscripten can be leveraged to produce more powerful web apps. For a more detailed set of documentation, you should <a href="https://github.com/kripken/emscripten/wiki">consult the official Emscripten Wiki.</a></strong></p>
<p>Using Emscripten, you can</p>
<ul>
<li>Compile C and C++ code into JavaScript and run that on the web</li>
<li>Run code in languages like Python as well, by compiling CPython from C to JavaScript and interpreting code in that on the web</li>
</ul>
<p>If you are new to Emscripten you start off by <a href="/en-US/docs/Emscripten/Download_and_install">installing Emscripten</a> on your system, and working through our <a href="/en-US/docs/Emscripten/Introducing">Introducing Emscripten</a> section.</p>
<div class="note">
<p>Note: the current release version of Emscripten is 1.7.8.</p>
</div>
</div>
<h2 id="Subnav">Subnav</h2>
<ol>
<li><a href="/en-US/docs/Emscripten/Introducing">Introducing Emscripten</a>
<ol>
<li><a href="/en-US/docs/Emscripten/Introducing/Emscripten_beginners_tutorial">Emscripten beginner's tutorial</a></li>
<li><a href="/en-US/docs/Emscripten/Introducing/What_is_Emscripten_and_how_does_it_work">What is Emscripten and how does it work?</a></li>
<li><a href="/en-US/docs/Emscripten/Introducing/The_nature_of_Emscripten-compiled_JavaScript">The nature of Emscripten-compiled JavaScript</a></li>
<li><a href="/en-US/docs/Emscripten/Introducing/Putting_Emscripten_in_your_toolchain">Putting Emscripten in your toolchain</a></li>
</ol>
</li>
<li><a href="/en-US/docs/Emscripten/Web_abilities_and_limitations">Web abilities and limitations</a></li>
<li><a href="/en-US/docs/Emscripten/Download_and_install">Download and install</a></li>
<li><a href="/en-US/docs/Emscripten/Workflow_and_tools">Workflow and tools</a></li>
<li><a href="/en-US/docs/Emscripten/Techniques">Emscripten Techniques</a></li>
</ol>
|