Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
e4m2
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
e4m2
5d ago
Likewise, on Windows, it's 1 MB of reserved memory but only 4 KB of initially committed memory. https://learn.microsoft.com/en-us/cpp/build/reference/stack-...
2.
▲
by
e4m2
6d ago
From the linked Zulip thread ( https://rust-lang.zulipchat.com/#narrow/channel/131828-t-com... ): > We are running different workloads including rustc perf suite. In general the runtime performance is on par with
3.
▲
by
e4m2
27d ago
Right, that's basically what I was trying to say (in so many words). I learned a lot from your dtoa blog posts and Zmij's implementation. Thank you! > has 2-3 wide multiplications compared to 1 for newer methods. As written, th
4.
▲
by
e4m2
28d ago
The upstream fmtlib dtoa-benchmark integrates uscale ( https://fmtlib.github.io/dtoa-benchmark/results/ ). It uses C code from Russ Cox's original fpfmt repository ( https://github.com/rsc/f
5.
▲
by
e4m2
28d ago
Not mentioned: Floating-point parsing and formatting now uses Russ Cox's uscale algorithm. https://research.swtch.com/fp https://github.com/golang/go/blob/go1.27.0/src/internal&
6.
▲
by
e4m2
1mo ago
https://news.ycombinator.com/item?id=48057901#48068126 Make of that what you will.
7.
▲
by
e4m2
2mo ago
FYI you linked to a really old version of the GCC documentation. Google apparently loves those old docs, so they often show up near the top of search results despite being ancient. For posterity, here's the latest version: https:/
8.
▲
by
e4m2
2mo ago
Historically, it was a bit more complex than that, and applies to more than just AVX-512: https://gist.github.com/rygorous/32bc3ea8301dba09358fd2c64e0... .
9.
▲
by
e4m2
3mo ago
Zig vectors do not necessarily force data into SIMD registers; a scalar implementation would work equally well. This is not just a theoretical argument, because Zig code that uses `@Vector` also has to compile for architectures that do not
10.
▲
by
e4m2
1y ago
It's not designed for IoT devices per se, the naming is just terrible. A comparison to OpenWrt is not warranted here, although to reiterate, the naming is terrible.
11.
▲
by
e4m2
1y ago
You're "supposed" to acquire LTSC through non-official means, not using the evaluation ISO.
12.
▲
by
e4m2
1y ago
See also: https://betawiki.net/wiki/Windows_8_build_8172
13.
▲
by
e4m2
1y ago
Explorer uses XAML Islands. Parts of it are WinUI, while the rest is still Win32.
14.
▲
by
e4m2
1y ago
C++
15.
▲
by
e4m2
1y ago
"Good enough" is not good enough.
16.
▲
by
e4m2
1y ago
There's a million and one ways to do it, here's just some of the ones I remember: - https://www.mdsec.co.uk/2022/04/resolving-system-service-num... - https://klezvirus.github.io/RedTeamin
17.
▲
by
e4m2
1y ago
On modern enough x86 CPUs (Intel Broadwell, AMD Ryzen) you could also use ADX [1] which may be faster nowadays in situations where radix 2^51 representation traditionally had an edge (e.g. Curve25519). [1] https://en.wikipedia.or
18.
▲
by
e4m2
1y ago
According to the standard `realloc(NULL, size)` should already behave like `malloc(size)`. You shouldn't need that special case unless you're working on a system with a very buggy/non-compliant libc.
19.
▲
by
e4m2
2y ago
It just uses GDI_CLASSIC for DWRITE_MEASURING_MODE [1] and DWRITE_RENDERING_MODE [2] in that case. No actual GDI in sight. [1] https://learn.microsoft.com/en-us/windows/win32/api/dcommon/... [2] ht
20.
▲
by
e4m2
2y ago
https://github.com/RealNeGate/Cuik/blob/5c6f6ef9bfa983eb358a...
21.
▲
by
e4m2
2y ago
The much dreaded Annex K functions are perhaps the worst possible example of an attempt at "fixing" anything safety related in C. A waste of ink.
22.
▲
by
e4m2
2y ago
Are there any benchmarks of Windows EH? The implementation is very different from DWARF/SJLJ EH and it would be interesting to see how it fares. I've seen some pretty exceptional claims for both sides of the argument (e.g. "[
23.
▲
by
e4m2
2y ago
> Is a single MOV instruction still fast when the 8 bytes begin on an odd address? On x86, yes. There is no performance penalty for misaligned loads, except when the misaligned load also happens to straddle a cache line boundary, in whic
24.
▲
by
e4m2
2y ago
I think you should be able to get rid of most of the undocumented API usage with the newer CreateFileMapping2/MapViewOfFile3 APIs. Though that does require a higher minimum OS version and the crucial NtExtendSection function still has
25.
▲
by
e4m2
2y ago
Be aware that if you actually want to do as the article prescribes, don't just copy and paste -- you shan't take anything at face value in C: https://news.ycombinator.com/item?id=31718292 .
26.
▲
by
e4m2
2y ago
There is also Comic Code by the same author: https://tosche.net/fonts/comic-code . Feels like a more polished version of Comic Mono (but it is paid, too).
27.
▲
by
e4m2
2y ago
You don't need this exploit. You could use a media player that doesn't need MS codec packs, but assuming this is not an option: 1. Go to https://store.rg-adguard.net . 2. Paste in https://apps.microsoft.com&#
28.
▲
by
e4m2
2y ago
> is this possible or is the backend selected e.g. based on the OS? Selected in a reasonable order by default, but can be overridden. There are three ways to do so: - Set the SDL_HINT_GPU_DRIVER hint with SDL_SetHint() [1]. - Pass a non-
29.
▲
by
e4m2
2y ago
The current SDL GPU API does not intend to use this shader language. Instead, users are expected to provide shaders in the relevant format for each underlying graphics API [1], using whatever custom content pipeline they desire. One of the
30.
▲
by
e4m2
2y ago
Just to add one more data point, the .NET GC is also written in C++.
More ›