Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ack_complete
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
ack_complete
1y ago
Following up that last part -- I recompiled my x64 codebase with /volatileMetadata-, which reduced the volatile metadata by ~20K (the remainder most likely from the statically linked CRT). The profiling results were negligible, under n
92.
▲
by
ack_complete
1y ago
No need for suspicion, the documentation confirms this was a factor: https://learn.microsoft.com/en-us/windows/win32/winprog64/ru...
93.
▲
by
ack_complete
1y ago
> Efficient TSO emulation is crucial (both on Windows and elsewhere) Yes, but this is not in contention...? No one is disputing that TSO semantics in the emulated x86 code need to be preserved and that it needs to be done fast, we'r
94.
▲
by
ack_complete
1y ago
How is it a misinterpretation? To re-quote that last sentence: > In my opinion, TSO is a red herring that isn't really improving performance, but it sounds nice on paper. That's the author directly saying that TSO isn't th
95.
▲
by
ack_complete
1y ago
Ironically, the app I've had the most trouble with is Visual Studio 2022. Since it has a native ARM64 build and installation of the x64 version is blocked, there are a bunch of IDE extensions that are unavailable.
96.
▲
by
ack_complete
1y ago
People who have worked on the Windows x64 emulator claim that TSO isn't as much of a deal as claimed, other factors like enhanced hardware flag conversion support and function call optimizations play a significant role too: http:/
97.
▲
by
ack_complete
1y ago
No, the Agility SDK only includes updated D3D12 core and debug layer components. https://microsoft.github.io/DirectX-Specs/d3d/D3D12Redistrib...
98.
▲
by
ack_complete
1y ago
The features in question are platform agnostic. They could temporarily disable the detouring for native ARM64 apps since the mechanism is broken on that architecture, but it's not ideal since the Snapdragon X platform is one of the mai
99.
▲
by
ack_complete
1y ago
The Agility SDK is unrelated to what is being discussed here. It is a delivery mechanism for the Direct3D 12 runtime instead of DXGI, it is opt-in from the application side, and is done through a more stable loader stage in the core OS inst
100.
▲
by
ack_complete
1y ago
This is due to an overall odd strategy by the DirectX graphics team, which is to implement many of the optimization and enhancement features by Detour-ing API calls in the OS. Essentially, the Windows OS is patching itself to implement feat
101.
▲
by
ack_complete
1y ago
Interesting, I can also reproduce this. I wonder if it's an artifact of zlib's sliding window setup. The odd part is that if I try various libs with advzip, both the libdeflate and 7z modes show the same artifact, only the zopfli
102.
▲
by
ack_complete
1y ago
Many Deflate encoders, including zlib/gzip, are greedy encoders that work forwards, either for speed or to support streaming compression. They encode runs as they are found scanning forward, with limited lookahead to try to allow longe
103.
▲
by
ack_complete
1y ago
Microsoft has been inconsistent, both in recommendation and what they've done in their own programs. Probably the most inexplicable is that in the Windows Vista timeframe they recommended that games place their save games into a folder
104.
▲
by
ack_complete
1y ago
Yes, but so does ARM. ld1 {v0.16b,v1.16b,v2.16b,v3.16b},x0,#64 loads 4 x 128-bit vector registers and post-increments a pointer register.
105.
▲
by
ack_complete
1y ago
> Detection of available extensions: we usually have to rely on OS to query available extensions since the `misa` register is accessible only in machine mode. Not a RISC-V programmer, but this drives me crazy on ARM. Dozens of optional f
106.
▲
by
ack_complete
1y ago
Indexed color formats stopped being supported on GPUs past roughly the GeForce 3, partly due to the CLUTs being a bottleneck. This discourages their use because indexed textures have to be expanded on load to 16bpp or 32bpp vs. much more co
107.
▲
by
ack_complete
1y ago
Also caused subtle bugs. I once had to debug a crash in C++ code that turned out to be due to Stackless Python corrupting stack state on Windows. OutputDebugString() would intermittently crash because Stackless had temporarily copied out pa
108.
▲
by
ack_complete
1y ago
Unfortunately, there is a reason. During the Vista timeframe, Microsoft published guidance recommending that game developers use the Documents folder for save games, as part of the push to make games compatible with UAC and non-elevated use
109.
▲
by
ack_complete
1y ago
It requires a code signing certificate from one of the trusted central authorities, and generally as an individual you must have your legal name on the code signing certificate. It's not pseudonymous.
110.
▲
by
ack_complete
1y ago
No, overlapping sibling controls is absolutely supported in Win32. It has a defined Z-order for child controls along with functions to manage it: > The system maintains the z-order in a single list. It adds windows to the z-order based o
111.
▲
by
ack_complete
1y ago
The dialog editor is a good example of the damage that was done with the VS.NET transition. When they rewrote it to use the WinForms-based UI, they introduced a fundamental bug: the Z-order for picking was reversed so that clicking on a sta
112.
▲
by
ack_complete
1y ago
That might have been the transition from Visual C++/Basic 4 to 6 (I skipped 5), but the cataclysmic one was the switch from Visual Studio 6 to Visual Studio .NET, when large portions of the IDE and build system were rewritten in .NET.
113.
▲
by
ack_complete
1y ago
Yeah, it seems that a lot of this is due to marginal quality resampling algorithms that allow significant amounts of aliasing. The paper does mention that even a good algorithm with proper kernel sizing can still leak remnants due to quanti
114.
▲
by
ack_complete
1y ago
I have a simple website consisting solely of static webpages pointing to a bunch of .zip binaries. Nothing dynamic, all highly cacheable. The bots are re-downloading the binaries over and over. I can see Bingbot downloading a .zip file in t
115.
▲
by
ack_complete
1y ago
For smaller forums, any customization to the new account process will work. When I ran a forum that was getting a frustratingly high amount of spammer signups, I modified the login flow to ask the user to add 1 to the 6-digit number in the
116.
▲
by
ack_complete
1y ago
Uh, no, that's standard practice for disambiguating the intrinsic operations for different data types without overloading support. ARM does the same thing with their vector intrinsics, such as vaddq_u8(), vaddq_s16(), etc.
117.
▲
by
ack_complete
1y ago
> And on Intel C with intrinsics definitely isn't it, because their stuff was invented by Microsoft, who were famous for having absolutely no aesthetic taste in anything. Wouldn't Intel be the one defining the intrinsics? They&
118.
▲
by
ack_complete
1y ago
Not all 64-bit ARM CPUs have AES support since it's part of the optional Crypto extension. The BCM2837 in the Raspberry Pi 4 is an ARMv8 CPU that lacks it.
119.
▲
by
ack_complete
1y ago
Sure, but I have to support a range of target CPUs in the consumer desktop market, and the older CPUs are the ones that need optimizations the most. That means NEON on ARM64 and AVX2 or SSE2-4 on x64. Time spent on higher vector instructi
120.
▲
by
ack_complete
1y ago
The problem is that the built-in mechanism is often microcode, which is still slower than plain machine code in some cases. There are some interesting writings from a former architect of the Pentium Pro on the reasons for this. One is appar
More ›