Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
titzer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
451.
▲
by
titzer
1y ago
Yeah, then you want context-sensitive ICs which are indexed by the callsite. JSC gets some of this by profiling in higher tiers, where inlining might have occurred.
452.
▲
by
titzer
1y ago
This is why it's imperative that inline caches learn and adapt to the observed behavior. As long as learning is cheap, identifies profitable cases effectively, and backs off for polymorphic and megamorphic scenarios, it's a win.
453.
▲
by
titzer
1y ago
I also paid less than $300. OP must be referring to a different model.
454.
▲
by
titzer
1y ago
I have these same AR glasses and I really like them. The one downside is that they don't seem to handle heat too well--they'll crash if I run them in full sunlight for more than a few minutes. Also, they are not really AR--they ar
455.
▲
by
titzer
1y ago
If the damage is caused by overpressure, then obviously compression will deliver more overpressure for more time, i.e. a higher total transmitted acoustic energy. I didn't read the article because of paywall, but did they normalize by
456.
▲
by
titzer
1y ago
> I want C++ do exactly and only what the programmer specifies and no more. Most programmers aren't that good and you're mostly running other people's code. Bad defaults that lead to exploitable security bugs is...bad defa
457.
▲
by
titzer
1y ago
> You then have to compile, restart your program, rebuild the whole rigid structure, and confirm the change works as expected. This whole process can take many minutes. This is not my experience at all. Virgil is a fully statically-typed
458.
▲
by
titzer
1y ago
It's a shame that Abdulaziz went quiet after moving back to Kuwait. He was our intern on Maxine VM back in 2009. A super nice guy and that paper is a gem!
459.
▲
by
titzer
1y ago
That's a vast underestimate. Putting in lfence before every branch is on the order of 10X slowdown.
460.
▲
by
titzer
1y ago
64MB is about the size of (a big) L3 cache. Today's L3 caches have a latency of 3-12ns and throughput measured in hundreds of gigabytes per second . And yet we can't manage to get responsive UIs because of tons of crud.
461.
▲
by
titzer
1y ago
> However these days the majority of the bad attacks are social You're going to have to cite a source for that. Bounds checking is one mechanism that addresses memory safety vulnerabilities. According to MSFT and CISA[1], nearly 70%
462.
▲
by
titzer
1y ago
It's about 5%. Cost of cyberattacks globally[1]: O($trillions) Cost of average data breach[2][3]: ~$4 million Cost of lost developer productivity: unknown We're really bad at measuring the secondary effects of our short-sightednes
463.
▲
by
titzer
1y ago
I like to point out that since ~1980, computing power has increased about 1000X. If dynamic array bounds checking cost 5% (narrator: it is far less than that), and we turned it on everywhere, we could have computers that are just a mere 950
464.
▲
by
titzer
1y ago
I think OP meant "transistor count overhead" and that's true. There are bazillions of transistors available now. It does take a lot of power, and returns are diminishing, but there are still returns, even more so than just in
465.
▲
by
titzer
1y ago
Everything in 3.0 has at least two browser implementations; that's part of the requirements for advancement to phase 4. Wasm 2.0 is complete in a handful of engines, whereas 3.0 is less well-supported. Wizard is almost done with 3.0; o
466.
▲
by
titzer
1y ago
Yes, if you use bytecode rewriting then all the offsets are changed and you need a mapping. This is one of the advantages of engine-side instrumentation; bytecode offsets don't change. It'll be some time before we can get engines
467.
▲
by
titzer
1y ago
Think of it like German names, where people are often named for where they came from. Berliner, Münchner, etc. WebAssembly is so named because it came from the web :)
468.
▲
by
titzer
1y ago
Wizard has engine support for instrumentation, but Whamm ( https://github.com/ejrgilbert/whamm ) can also do instrumentation through bytecode rewriting.
469.
▲
by
titzer
1y ago
Don't take a dime then either. Good luck generating your own power, homeschooling your kids, and building your own roads.
470.
▲
by
titzer
1y ago
I was just injecting facts into the discussion without taking a side. I know that's confusing behavior.
471.
▲
by
titzer
1y ago
Solar can still generate up to 25% of their peak power with full cloud cover.
472.
▲
by
titzer
1y ago
> The world’s coal use is expected to reach a fresh high of 8.7bn tonnes this year, and remain at near-record levels for years as a result of a global gas crisis triggered by Russia’s invasion of Ukraine. Not sure that counts as "ju
473.
▲
by
titzer
1y ago
> JavaScript is a weakly typed language without much type safety This is a little inaccurate. JavaScript is dynamically typed. Values carry strong, unforgeable type information (tags), though tags for numbers are extremely cheap and op
474.
▲
by
titzer
1y ago
Virgil allows the maximum amount of implicit int->float injections that don't change values and allows casts (in both directions) that check if rounding altered a value. It thus guarantees that promotions and (successful) casts can&
475.
▲
by
titzer
1y ago
Yep, Virgil only implicitly promotes integers to float when rounding won't change the value. // OK implicit promotions def x1: i20; def f1: float = x1; def x2: i21; def f2: float = x2; def x3:
476.
▲
by
titzer
1y ago
> Implicit numeric conversion is terrible. It's bad if it alters values (e.g. rounding). Promotion from one number representation to another (as long as it preserves values) isn't bad. This is trickier than it might seem, but V
477.
▲
by
titzer
1y ago
The only thing that changes behavior is consequences. Thus fines and a functioning justice system are born. Somehow shame doesn't work anymore.
478.
▲
by
titzer
1y ago
We're living out the consequences of a system where the Nash equilibrium is everyone maximizing their individual benefit at the expense of all else. And that extends to being an unapologetic jerk--as long as that face looks like a step
479.
▲
by
titzer
1y ago
We better make double-sure than any leftover value past your life is purely meted out through hereditary lines and couldn't possibly benefit any but a tiny minority of people. Like, if you had three houses and two kids at death, there
480.
▲
by
titzer
1y ago
> Somehow, the airline has constructed a state of affairs where it can speak to you with the anonymous voice of an amorphous corporation, but you have to talk back to it as if it were a person like yourself. Welcome to scale. Every busin
More ›