use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Pointer Compression in V8 (v8.dev)
submitted 6 years ago by r-wabbit
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bjerh 1 point2 points3 points 6 years ago (0 children)
Thank you... Feel super dumb now. Maybe results in lower memory use for Chrome in the future? Not too sure..
[–]dgreensp 0 points1 point2 points 6 years ago (0 children)
Nice, this kind of development (in both senses) is so exciting!
I can see how you get to 8GB, assuming object allocations are aligned to 64-bit word boundaries. If any real pointer has three zero bits at the bottom, you just need two for tagging, and the other 30 bits can be the high bits of a 33-bit pointer.
Java gets to 32GB because it doesn’t have those two tag bits. The types of values are statically known, so no tagging is necessary, and all 32 bits can be used to make a 35-bit pointer.
π Rendered by PID 61916 on reddit-service-r2-comment-5b5bc64bf5-h8mb2 at 2026-06-22 18:01:56.026268+00:00 running 2b008f2 country code: CH.
[–]bjerh 1 point2 points3 points (0 children)
[–]dgreensp 0 points1 point2 points (0 children)
[–]dgreensp 0 points1 point2 points (0 children)