Skip to content

Commit a1e5922

Browse files
committed
progress
1 parent e78a43e commit a1e5922

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

src/introduction/what-is-decomp.typ

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,40 @@ Each programming language varies in ease of use, performance, safety, and other
4444

4545
Battle for Bikini Bottom is written in the *C++* programming language.
4646
// TODO: come back and link to proper chapter
47-
In later chapters we will discuss how this fact was discovered.
47+
In later chapters we will discuss how this fact was discovered
48+
and what implications it has on the decompilation project.
4849

4950
C++ is a statically typed, compiled programming language
50-
first introduced in the mid 1980's.
51+
that has been around since 1985.
52+
It is a very common choice for building game engines
53+
because it generates extremely fast machine code
54+
while at the same time being expressive
55+
and generally straightforward to program in.
56+
57+
The C++ compilation process involves
58+
a series of steps which translate
59+
the original human written source code
60+
into what ultimately results
61+
in an executable file.
62+
Refer to @compilation-process for an illustration of this process.
5163

5264
]
5365

5466
#grid(
55-
columns: (45%, 55%),
67+
columns: (40%, 60%),
5668
left,
57-
figure(
69+
[#figure(
5870
caption: [The C++ compilation process],
5971
image("img/compilation.png")
60-
)
72+
)<compilation-process>]
6173
)
6274

75+
If the compilation process is a series of steps
76+
from $A -> B$,
77+
then the decompilation process is simply the same process in reverse
78+
from $B -> A$,
79+
and it looks like this:
80+
6381
#figure(
6482
caption: [The decompilation process],
6583
image("img/decompilation.png", width: 70%)

0 commit comments

Comments
 (0)