The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
C++ javascript-engine Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
https://chromium.googlesource.com/v8/v8.git/+/HEAD/include/c...
Due to the nature of web engine workloads migrating objects to being GC'd isn't performance negative (as most people would expect). With care it can often end up performance positive.
There are a few tricks that Oilpan can apply. Concurrent tracing helps a lot (e.g. instead of incrementing/decrementing refs, you can trace on a different thread), in addition when destructing objects, the destructors typically become trivial meaning the object can just be dropped from memory. Both these free up main thread time. (The tradeoff with concurrent tracing is that you need atomic barriers when assigning pointers which needs care).
This is on top of the safey improvements you gain from being GC'd vs. smart pointers, etc.
One major tradeoff that UAF bugs become more difficult to fix, as you are just accessing objects which "should" be dead.
C++ javascript-engine related posts
- The Everything NPM Package
- Microsoft defends Edge's predatory practices with cringe reply on X
- C++23: Removing garbage collection support
- What does the code look like for built-in functions?
- What's happening with JavaScript Array References under the hood?
- FAMILIA PQ NAO TEM VAGA EM C E C++ NESSE MERCADO **********?????
- [AskJS] Do you have to be a natural talent to reach deep knowledge?
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
Project | Stars | |
---|---|---|
1 | V8 | 22,633 |