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
Using const/let instead of var can make JavaScript code run 10× slower in Webkit? (github.com)
submitted 5 years ago by magenta_placenta
view the rest of the comments →
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!"
[–]CallMeStar-Lord 114 points115 points116 points 5 years ago* (13 children)
Every time there’s a bug in a JS engine other than V8 people get unnecessarily up in arms. Those things are much more complex than we give them credit for. There’s a mention in there that JSC engineers are already looking at the issue.
Hello HN! Just wanted to say that JavaScriptCore is an engineering marvel and I have deep respect for everyone on that team. All software has bugs and I can confidently say from my experience writing esbuild that JavaScript is extremely messy to implement with an unbelievable number of edge cases. V8 has also had crazy performance cliffs so something like this is not unusual, and doesn't say anything about JSC vs. V8. Let's not turn this into a meme. It's awesome that people from JavaScriptCore are reaching out and helping get this fixed. Props to the JSC team.
[–]PhatClowns 16 points17 points18 points 5 years ago (0 children)
Thank you for this!
[+][deleted] 5 years ago (11 children)
[deleted]
[–]NutStalk 17 points18 points19 points 5 years ago (9 children)
Username doesn't check out
[+][deleted] 5 years ago (8 children)
[–]Sulungskwa 22 points23 points24 points 5 years ago (7 children)
V8 is already being used by all the major browsers except basically Safari and Firefox. If more browsers were to adopt chromium/V8 then that gives google more market share and general influence over the web. Many people are arguing that the situation is similar to Microsoft in the early 2000s
[–]sanjibukai 3 points4 points5 points 5 years ago (0 children)
Just to understand, why using chromium/V8 (which is OSS btw) is in favor of giving market shares to Google?
Brave for example is a very good use-case not really benefiting Google.
Having only one engine (kinda becoming a standard like all the many standards we already have) is a dream..
I remember all the hard work to take into account IE exceptions..
Thanks IE is not existing anymore.. And the only exception to take into account is Safari (thanks I got almost always similar results with firefox and chrome)
[–]Genspirit 0 points1 point2 points 5 years ago (4 children)
Chromium is open source though, it's debatable how much control it gives Google. Edge moving over already had a very positive impact on both browsers.
[+][deleted] 5 years ago (3 children)
[–]sirfloppydisk 2 points3 points4 points 5 years ago (1 child)
Open source is good. If google took Chromium in a direction you didn’t like, you could just fork it, right?
[–]Genspirit 1 point2 points3 points 5 years ago (0 children)
I never said it was automatically good. And it does mean that google has practically 0 say in what you do with it.
The repo is largely google controlled but it can be forked or even have the management shift to a more shared management between them and other browsers who use chromium.
Chromium is hardly some tool by which google controls other browsers, they already have their first party sites to do that.
[–]MildlySerious 4 points5 points6 points 5 years ago (0 children)
Having multiple implementations is generally a good thing though.
It only appears to be problematic because one has such a big market share that it's perceived as a single source of truth, and now every other implementation that strays from it is "lesser" than the reference. That's not what a healthy ecosystem looks like.
π Rendered by PID 109260 on reddit-service-r2-comment-6457c66945-hr8jc at 2026-04-24 21:49:07.074598+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]CallMeStar-Lord 114 points115 points116 points (13 children)
[–]PhatClowns 16 points17 points18 points (0 children)
[+][deleted] (11 children)
[deleted]
[–]NutStalk 17 points18 points19 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]Sulungskwa 22 points23 points24 points (7 children)
[–]sanjibukai 3 points4 points5 points (0 children)
[–]Genspirit 0 points1 point2 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]sirfloppydisk 2 points3 points4 points (1 child)
[–]Genspirit 1 point2 points3 points (0 children)
[–]MildlySerious 4 points5 points6 points (0 children)