Skip to content

text/template: remove concurrency from scanner #53261

@robpike

Description

@robpike

The concurrency makes for a fun demonstration (see the youtube video), but causes problems when other parts of the system want to interact with the scanner. Races result. Plus various changes to the package over time have introduced problems.

Change the scanner to be more traditional, proceeding in lockstep with the parser rather than independently. It should be easy to do and will simplify and perhaps speed up the whole thing.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions