aboutsummaryrefslogtreecommitdiff
path: root/docs/implementation/compile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/implementation/compile')
-rw-r--r--docs/implementation/compile/dynamic.html2
-rw-r--r--docs/implementation/compile/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/implementation/compile/dynamic.html b/docs/implementation/compile/dynamic.html
index 1d232644..1edb73ef 100644
--- a/docs/implementation/compile/dynamic.html
+++ b/docs/implementation/compile/dynamic.html
@@ -3,7 +3,7 @@
<link href="../../style.css" rel="stylesheet"/>
<title>BQN: Dynamic compilation</title>
</head>
-<div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a> / <a href="../../index.html">main</a> / <a href="../index.html">implementation</a> / <a href="index.html">compile</a></div>
+<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../../index.html">BQN</a> / <a href="../index.html">implementation</a> / <a href="index.html">compile</a></div>
<h1 id="dynamic-compilation">Dynamic compilation</h1>
<p>This page discusses at a high level (without covering any specific source transformations) how compilation and interpretation might be structured in order to execute BQN faster. Effective strategies will compile parts of the program with more specialization or higher optimization as it runs and more information about it becomes known.</p>
<p>To avoid confusion, an <strong>interpreter</strong> evaluates code to perform actions or produce a result; a CPU is a machine code interpreter. A <strong>compiler</strong> transforms code in one language or format to another. To run a program that does anything, it must eventually be interpreted; before this the program or parts of it might be compiled any number of times.</p>
diff --git a/docs/implementation/compile/index.html b/docs/implementation/compile/index.html
index 2ee01371..4ec585f0 100644
--- a/docs/implementation/compile/index.html
+++ b/docs/implementation/compile/index.html
@@ -3,7 +3,7 @@
<link href="../../style.css" rel="stylesheet"/>
<title>BQN: Optimizing compilation notes</title>
</head>
-<div class="nav"><a href="https://github.com/mlochbaum/BQN">BQN</a> / <a href="../../index.html">main</a> / <a href="../index.html">implementation</a></div>
+<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../../index.html">BQN</a> / <a href="../index.html">implementation</a></div>
<h1 id="optimizing-compilation-notes">Optimizing compilation notes</h1>
<p>Pages here discuss advanced compilation strategies for BQN, that is, steps that might take take place after compiling to bytecode or a similar intermediate representation.</p>
<p>Most content here is currently speculative: C, Java, and Javascript backends are capable of compiling to native (x86, JVM, or Javascript) code in order to lower evaluation overhead but don't perform much if any analysis to improve this code. CBQN is likely to start making such optimizations in the future.</p>