Skip to content

Port the Scala 2 bytecode-optimizer to Dotty #22667

Open
@hamzaremmal

Description

@hamzaremmal

TL;DR: All in the title!

The Scala 2 compiler has an implementation of a bytecode optimizer for the JVM. Unfortunately, as of today, we haven't yet ported that part of the Scala 2 compiler to Dotty. Now that we are working on having the stdlib fully compiled with Dotty (#22043), it should be time to also port the optimizer. An entry point to the optimizer would be to investigate the content of the following package: https://github.com/scala/scala/tree/86b9e84ea254cc294cd7b16fe0948631dbb41403/src/compiler/scala/tools/nsc/backend/jvm

Metadata

Metadata

Labels

compat:scala2:feature-parityIssues tied with features which were at some point included in Scala 2 and could be brought over.itype:enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions