diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-07-17 19:23:16 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | 84e65c63e7482590d535e86f7660a00ae8a0cecb (patch) | |
tree | c79de87b7136e96b977003db85d43e5e676bbfc1 /doc/CompilerFlow.md | |
parent | 85c654a102701958d3748e82ecac9c1bc4dbbcba (diff) |
Start on amal program
Fix mutex issue in lhs expr which can cause a deadlock when a file has
an error and throws and doesn't close the mutex and another thread waits
for that mutex. The mutex can instead be removed and ignore race
conditions which are uncommon. This should improve memory usage and
performance.
Diffstat (limited to 'doc/CompilerFlow.md')
-rw-r--r-- | doc/CompilerFlow.md | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/CompilerFlow.md b/doc/CompilerFlow.md deleted file mode 100644 index e42b94d..0000000 --- a/doc/CompilerFlow.md +++ /dev/null @@ -1,6 +0,0 @@ -# Compiler flow -(Tokenize&parse -> Resolve AST -> Generate SSA -> Generate bytecode) -> Generate program\ -Each step except the last is done using multiple threads in parallel and the output of each step is used -in the next step. The last step is not done in parallel because the last step is combining all bytecode -and writing it to a file, which is an IO bottlenecked operation and it won't benefit from multithreading -and may even lose performance because of it.
\ No newline at end of file |