-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the interpreter with an LLVM compiler
This replaces the bytecode interpreter with a native code compiled, backed by LLVM. While this is a massive change, various internals remain the same. For example, for generics we still rely on runtime pointer checking and checks. This is a deliberate choice to keep the scope of changes from expanding even more, and we'll take care of these remaining issues separately. As part of these changes we've removed the libffi based FFI, as it makes no sense to use this API in a native code compiler. As introducing a new FFI is going to be a lot of work, we'll also take care of this separately, meaning you temporarily won't be able to interact with C code. The package manager (ipm) is also merged into the compiler executable ("inko"), removing the need for a separate command. For more information, see #508.
- Loading branch information
1 parent
77a83c7
commit ebc4e5b
Showing
288 changed files
with
30,859 additions
and
30,855 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'] | ||
rustflags = ['-C', 'target-feature=+aes'] | ||
# This is needed for stack traces to work when `panic=abort` is used. See | ||
# https://github.com/rust-lang/rust/issues/94815 and | ||
# https://github.com/rust-lang/backtrace-rs/issues/397 for more details. | ||
[build] | ||
rustflags = ['-C', 'force-unwind-tables'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ | |
*.egg-info/ | ||
__pycache__ | ||
/docs/plugins/pygments-inko-lexer/poetry.lock | ||
/build | ||
/std/build |
Oops, something went wrong.