oxc-project / oxc-project/backlog
Determine if any limits we can place on AST size
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I asked for opinions on Discord about whether we could place any limits on max AST size in order to limit size of arena to 4 GiB.
Upshot was definitely not in all cases, but maybe in majority. It needs research.
As starting point, Boshen suggested parsing all of https://github.com/elastic/kibana and measuring AST size. Do that!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by parsing all of elastic/kibana and measuring AST size, as suggested in the issue. Record the results across the repository and use them to determine whether practical AST limits could keep the arena below 4 GiB; document cases where a limit would not work.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100