From 84e65c63e7482590d535e86f7660a00ae8a0cecb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 17 Jul 2019 19:23:16 +0200 Subject: 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. --- doc/CompilerFlow.md | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 doc/CompilerFlow.md (limited to 'doc/CompilerFlow.md') 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 -- cgit v1.2.3