Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chez Scheme: add libffi support for pb
By using libffi, we can fill in the one piece of Chez Scheme that was previously unimplemented for pb (portable bytecode) mode: calling foreign functions and converting a closure to a foreign function. In principle, this change allows Racket CS to run on any platform where Racket BC runs (in interpreted mode); the performance of interpreted Racket code is about the same in those two. But since Racket BC's compiler is in C and its expander can be compiled to C (via cify), BC is still much faster to expand and compile programs. A next step might be to set up a similar compiltion via C for the static part of Chez Scheme and Racket.
- Loading branch information
Showing
46 changed files
with
1,756 additions
and
221 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
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
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
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
Oops, something went wrong.