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

Scala 3 support? #42

Open
SethTisue opened this issue Oct 30, 2023 · 1 comment
Open

Scala 3 support? #42

SethTisue opened this issue Oct 30, 2023 · 1 comment
Labels
help-wanted Relates to any questions or calls for assistance

Comments

@SethTisue
Copy link
Collaborator

SethTisue commented Oct 30, 2023

Now that we have Scala 2.13 support, it's natural to wonder about Scala 3.

Creating the Scala 2 version involved adding some hooks to the old compiler, so the new compiler might need new hooks, too?

Note that Scala 3 has -Vprofile, but it's only somewhat related to what this repo does. ("Show metrics about sources and internal representations of the most complex methods", its docstring says.)

@SethTisue SethTisue added the help-wanted Relates to any questions or calls for assistance label Oct 30, 2023
@danicheg
Copy link
Collaborator

My two cents on the topic: scalac-profiling hugely relies on the scala-reflect library that is not ported to Scala 3. So we can't enable the support without porting exposing statistics in Scala 3 first, as @SethTisue said. From my way of thinking, this is an appropriate task for the Center because it's Scala 3. Or one day, as it happened to Scala 2.13 support in scalac-profiling, someone from the community will do that. Although, last time, it took about 4 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Relates to any questions or calls for assistance
Projects
None yet
Development

No branches or pull requests

2 participants