Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow interpreter to invoke compiled code #2164

Open
athas opened this issue Jul 7, 2024 · 1 comment
Open

Allow interpreter to invoke compiled code #2164

athas opened this issue Jul 7, 2024 · 1 comment
Labels
enhancement student-viable Viable as a student project

Comments

@athas
Copy link
Member

athas commented Jul 7, 2024

It would be lovely if the interpreter could (semi-)transparently invoke compiled Futhark code, through the server protocol. This would allow a (somewhat) interactive style of programming while still providing high performance, and even allow us to get rid of FutharkScript.

The interpreter is already structured in a way that allows "external calls" that are handled by the outside world (currently used for traces and breakpoints). The main challenge is adding a whole bunch of glue to bridge the gap between the interpreter and the fundamentally opaque value model of a compiled Futhark program (with various affordances through the server protocol for inspecting value).

@athas athas added enhancement student-viable Viable as a student project labels Jul 7, 2024
@potatoboiler
Copy link

Hi, commenting here to mark my interest. Will hopefully update with a PR when I have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement student-viable Viable as a student project
Projects
None yet
Development

No branches or pull requests

2 participants