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

Rename the @jit decorator to @lpython #1791

Merged
merged 1 commit into from
May 12, 2023
Merged

Conversation

certik
Copy link
Contributor

@certik certik commented May 12, 2023

Added inital docstring explaining the motivation. The term jit is not the right term for this decorator because we are not using JIT (=Just In Time) compilation, but rather AOT (=Ahead of Time) compilation, at runtime from CPython. The term lpython is better, as it conveys that we are using LPython to compile the function (ahead of time). It is also consistent with the @cpython decorator.

Added inital docstring explaining the motivation. The term `jit` is not
the right term for this decorator because we are not using JIT (=Just In
Time) compilation, but rather AOT (=Ahead of Time) compilation, at
runtime from CPython. The term `lpython` is better, as it conveys that
we are using LPython to compile the function (ahead of time). It is also
consistent with the @CPython decorator.
@certik certik merged commit 86fde94 into lcompilers:main May 12, 2023
@certik certik deleted the lpython_dec branch May 12, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant