Skip to content

experiment with resurrecting the recursive solver #351

@nikomatsakis

Description

@nikomatsakis

We should experiment with returning to a "recursive style" solver in chalk. As described in this gist, recursive solving does offer some potential advantages:

  • if we extend the setup, it may resolve the ambiguous associated type problem (ironic since we previously removed the recursive solver in part because we couldn't make it handle associated types well)
  • less overall work, at the cost of completeness
  • cleaner handling for multiple threads doing queries at once without locking (the cache is separated from the main solver stack)
  • smoother integration into systems like chalk

Work items:

This issue has been assigned to @flodiebold via this comment.

Metadata

Metadata

Assignees

Labels

current-sprintBeing worked on in the current sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions