Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
froydnj
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
froydnj
2y ago
We do, yes.
2.
▲
by
froydnj
2y ago
I should also note that number is Ruby files only.
3.
▲
by
froydnj
2y ago
The most recent publicly available numbers (that I know of, maybe there's a talk available somewhere that's more recent) are from https://stripe.com/blog/sorbet-stripes-type-checker-for-ruby > currently am
4.
▲
by
froydnj
3y ago
Stripe is a huge Sorbet user.
5.
▲
by
froydnj
4y ago
Just because indexing is bounds-checked by default doesn't mean that the bounds-checking is necessarily in your final code: https://rust.godbolt.org/z/er9Phcr3c Yes, you still have the bounds check when constructi
6.
▲
by
froydnj
6y ago
Not usually; `float` is 32 bits and `double` is 64 bits on virtually every common platform (maybe not on some DSP chips or certain embedded chips?). But the C++ standard (and probably the C one) only requires that `double` have at least as
7.
▲
by
froydnj
7y ago
The WASI tutorial for compiling C/Rust to wasm and running it has some useful information on this front: https://github.com/bytecodealliance/wasmtime/blob/master/doc... We wouldn't have been ab
8.
▲
by
froydnj
7y ago
How big and/or complicated have your patches been? Copyright assignment is not necessary for not-legally significant changes: https://www.gnu.org/prep/maintain/maintain.html#Legally-Sign... Copyright assignm
9.
▲
by
froydnj
8y ago
What are you referring to by "a ton of toolchain-specific hackery" and "a portable way to get LTO working"? It seems like there are very specific things you have in mind, but I'm unclear what bits of work you'
10.
▲
by
froydnj
8y ago
We saw significant performance gains when moving from GCC (6) to clang (6). I don't think it'd be particularly hard to switch back at this point; this article provides some solid data for doing so.
11.
▲
by
froydnj
8y ago
Regression testing for performance is checked via several test suites (Talos, for instance, with numerous subtests: https://wiki.mozilla.org/Performance_sheriffing/Talos/Tests ) and monitored by our ever-dutiful pe
12.
▲
by
froydnj
8y ago
You can look at https://data.firefox.com/dashboard/hardware for similar numbers. CPU models are not broken out, but you can get a sense of what sort of CPUs are in use by looking at the GPU model: Intel powers 60%+ of
13.
▲
by
froydnj
8y ago
GCC is written in C++ nowadays.
14.
▲
by
froydnj
8y ago
It is a real theory, and people have done the simulations to demonstrate its effects: https://www.space.com/31577-earth-life-jupiter-saturn-giant-...
15.
▲
by
froydnj
9y ago
(Disclaimer: I work for Mozilla.) "Jank" is our internal term for slow, non-responsive interaction with the browser (the capitalization of it in the original message is a little peculiar). If you click your mouse button, and then
16.
▲
by
froydnj
9y ago
(Disclaimer: I work for Mozilla) The problem with our own browsing data--by which I'm assuming you mean the browsing habits of our ~1000 employees--is that it's wildly non-representative of the broader population. For instance, p
17.
▲
by
froydnj
9y ago
All sorts of people do, since Mozilla's financials are publicly available. See the audited statement at the end of https://www.mozilla.org/en-US/foundation/annualreport/2015/
18.
▲
by
froydnj
10y ago
Yes, across a public interface in a shared library. The SysV ABI just requires that the callee passes a pointer to the structure return value as a hidden parameter; there's nothing saying that pointer must point to different memory th
19.
▲
by
froydnj
10y ago
> C has no choice but to have MyFunction allocate a couple kilobytes on the stack and have main copy the structure from the stack to where it should eventually go. The equivalent Rust code, however, can pass the address of the object x t
20.
▲
by
froydnj
10y ago
GCC is very close to the 30-year mark (0.9 released 22 March 1987). Linux turned 25 this past year; Firefox (the C++ parts, at least) is very close to 25, depending on what code you want to count. Apache is 20ish years old. Even LLVM, wh
21.
▲
by
froydnj
10y ago
You say "doesn't happen quite often", which I'm assuming means something like "doesn't happen quite often to me". But if you consider hundreds of millions of users using Firefox every day, then even a rel
22.
▲
by
froydnj
11y ago
Obviously it's helpful for printing things. Less obviously, emacs has commands that navigate by logical pages (C-x [, C-x ]). And of course you can adjust the regex that denotes logical pages.
23.
▲
by
froydnj
13y ago
Microsoft's PGO/LTCG implementation does just this. GCC can do something similar as well.
24.
▲
by
froydnj
13y ago
Use --show-possibly-lost=no to avoid those "possibly lost" reports.
25.
▲
by
froydnj
14y ago
> You should be asked when you hit a web page if they can add a cookie. > > At the moment, this is done by the page by legislation, but the next step is to do this at the browser level. I'm quite happy as it's training users to
26.
▲
by
froydnj
15y ago
> I was surprised that the vectorisation it mentions was not performed automatically. The OP didn't mention what compiler was being used; GCC will certainly automatically vectorize this example (and ICC probably will as well). I used G
27.
▲
by
froydnj
15y ago
-Wuninitialized in gcc depends on the optimization settings: http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Warning-Options....
28.
▲
Visual depiction of film characters ruled to be coved by copyright
(hollywoodreporter.com)
1 points
by
froydnj
15y ago
|
0 comments
29.
▲
by
froydnj
15y ago
> The question to ask is: What are the economic and social forces keeping the COBOL code base alive? Do you want to be the person who volunteers to rewrite those codebases into $HOT_NEW_LANGUAGE (or even $BORING_STABLE_LANGUAGE) and be
30.
▲
Can an entrepenurial approach to health care data revolutionize the industry?
(theatlantic.com)
3 points
by
froydnj
15y ago
|
0 comments
More ›