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

Idea: Integration with JET.jl #54

Open
AriMKatz opened this issue Feb 4, 2022 · 2 comments
Open

Idea: Integration with JET.jl #54

AriMKatz opened this issue Feb 4, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@AriMKatz
Copy link

AriMKatz commented Feb 4, 2022

Use JET to guide users to write code which targets different levels of binary staticness. Maybe error if conditions are not met.

Super duper strict mode for completely static binaries with no dynamic dispatch or allocations, and no runtime required.

Kinda strict mode: No compilation of new functions, so just linking against a minimal runtime.

Sparked by discussion with @jpsamaroo on slack

@tshort
Copy link
Owner

tshort commented Feb 4, 2022

Cool idea!

@AriMKatz
Copy link
Author

AriMKatz commented Feb 4, 2022

According to @tkf this PR (JuliaLang/julia#43747) can do something similar:

[It] will let the compiler verify the absence of allocation (and access to the runtime in general)

Not sure how or if they can play together. Maybe CC @aviatesk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants