proposal-regexp-match-indices
ECMAScript RegExp Match Indices (by tc39)
proposal-weakrefs
WeakRefs (by tc39)
Our great sponsors
proposal-regexp-match-indices | proposal-weakrefs | |
---|---|---|
4 | 8 | |
58 | 392 | |
- | - | |
1.0 | 2.1 | |
almost 2 years ago | over 2 years ago | |
HTML | HTML | |
BSD 3-clause "New" or "Revised" License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-regexp-match-indices
Posts with mentions or reviews of proposal-regexp-match-indices.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-12.
-
Unveiling Breakthroughs Found In The State Of JS 2022 Survey
For more info about this feature, you can refer to the official proposal repo.
-
How JavaScript works: regular expressions (RegExp)
It should be mentioned that this feature isn't part of the ECMAScript specification yet. It's currently a stage 3 proposal and will likely be part of ES2021 or ES2022.
- Node.js 16 Available Now
-
ES 2021 features (all 5 of them)
RegExp Match Indices (?)
proposal-weakrefs
Posts with mentions or reviews of proposal-weakrefs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-08.
- New features in ES2021
-
Javascript ES2021 Summary
The WeakRef Proposal has some examples.
-
ES2021 Features! 🔥
WeakRefs and FinalizationRegistry Objects
-
New ES2021 JavaScript features (now available)
But if you're interested, feel free to read more in the original proposal.
-
New JavaScript Features ECMAScript 2021 (with examples)
For that reason, use WeakRef is not recommended and it’s best to avoid implementing one if possible. Unless you’re a JavaScript library maintainer, you will most likely never need to use it. More information WeakRefs TC39 proposal
-
Upcoming JavaScript Features in 2021
Weak references (WeakRef and FinalizationRegistry)
-
Upcoming Interesting JavaScript ES2021 (ES12) Features to Look for
One important thing about WeakRef and finalizers. The proposal for this feature itself advises not to use them. One reason is that they can be unpredictable. Another one is that they don't really help garbage collection do its job. They can actually make it job harder. You can read more about the reasons in the proposal.
-
ES 2021 features (all 5 of them)
Also not shown but a part of the WeakRefs proposal is FinalizationRegistry. Example:
What are some alternatives?
When comparing proposal-regexp-match-indices and proposal-weakrefs you can also consider the following projects:
iswasmfast - Performance comparison of WebAssembly, C++ Addon, and native implementations of various algorithms in Node.js.
proposals - Tracking ECMAScript Proposals
public-roadmap - Checkly public roadmap. All planned features, updates and tweaks.
proposal-relative-indexing-method - A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)
proposal-promise-any - ECMAScript proposal: Promise.any
proposal-top-level-await - top-level `await` proposal for ECMAScript (stage 4)
proposal-intl-DateTimeFormat-formatRange - ECMA 402 proposal for DateTimeFormat.prototype.{formatRange,formatRangeToParts}
proposal-nullish-coalescing - Nullish coalescing proposal x ?? y
proposal-regexp-match-indices vs iswasmfast
proposal-weakrefs vs proposals
proposal-regexp-match-indices vs public-roadmap
proposal-weakrefs vs proposal-relative-indexing-method
proposal-regexp-match-indices vs proposal-relative-indexing-method
proposal-weakrefs vs proposal-promise-any
proposal-regexp-match-indices vs proposal-top-level-await
proposal-weakrefs vs proposal-intl-DateTimeFormat-formatRange
proposal-regexp-match-indices vs proposal-nullish-coalescing
proposal-regexp-match-indices vs proposals