summaryrefslogtreecommitdiff
path: root/HACKING.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING.adoc')
-rw-r--r--HACKING.adoc15
1 files changed, 15 insertions, 0 deletions
diff --git a/HACKING.adoc b/HACKING.adoc
index 68faafb332..d751186899 100644
--- a/HACKING.adoc
+++ b/HACKING.adoc
@@ -127,6 +127,21 @@ link:typing/HACKING.adoc[].
=== Runtime system
+The low-level routines that OCaml programs use during their execution:
+garbage collection, interaction with the operating system
+(IO in particular), low-level primitives to manipulate some OCaml data
+structures, etc. Mostly implemented in C, with some rare bits of
+assembly code in architecture-specific files. The "includes"
+corresponding to the `.c` files are in the link:runtime/caml[]
+subdirectory.
+
+Some files are only used by bytecode programs, some only used by
+native-compiled programs, but most of the runtime code is
+common. (See link:runtime/Makefile[] for the list of common,
+bytecode-only and native-only source files.)
+
+See link:runtime/HACKING.adoc[].
+
=== Libraries
link:stdlib/[]:: The standard library. Each file is largely