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

be: replace interpreter by interpreter2 #2770

Conversation

michaellilltokiwa
Copy link
Member

No description provided.

Copy link
Member

@fridis fridis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a big step ahead!

May comments are mostly about code structure and comments that in parts is IMHO worse than in the old interpreter, but probably easy to fix.

Also, please add an issue to add support for stack traces of a quality similar to the old interpreter. This is a feature I will miss.

src/dev/flang/be/interpreter/Interpreter.java Outdated Show resolved Hide resolved
src/dev/flang/be/interpreter/Interpreter.java Outdated Show resolved Hide resolved
src/dev/flang/be/interpreter/Interpreter.java Show resolved Hide resolved
src/dev/flang/be/interpreter/Interpreter.java Show resolved Hide resolved
Copy link
Member

@fridis fridis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
Please keep an eye on the jenkins flang.dev results and fix any new issues that will arise (like missing stack traces in err output etc.). Keep an eye on the change of total time spent in the interpreter, might make sense to use -XjavaProf to understand what is the most performance critical part.

@michaellilltokiwa michaellilltokiwa merged commit 8343a80 into tokiwa-software:main Mar 25, 2024
4 checks passed
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.

None yet

2 participants