Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kryps
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
kryps
9mo ago
No, you can't do the same thing in Rust, because Rust crates and the standard library generally use the global allocator and not any arena you want to use in your code.
2.
▲
by
kryps
10mo ago
Previously: https://news.ycombinator.com/item?id=45703926
3.
▲
by
kryps
4y ago
The paper does not make that claim. According to the paper the probability of recovering the correct value of a single bit is 96% for a pristine drive and 56% for a used drive, both better than a coin toss. Of course the probability gets wo
4.
▲
by
kryps
5y ago
Can we have " (2020)" added to the title?
5.
▲
by
kryps
5y ago
You are not doing a release build.
6.
▲
by
kryps
5y ago
WSL2, correct.
7.
▲
by
kryps
5y ago
Yep, see below. With WSL and an ext4 virtual disk it takes only 29 seconds. Still quite a bit more than the 22 seconds on the Macbook.
8.
▲
by
kryps
5y ago
cargo install on WSL2 uses the non-mapped home directory, which is on an ext4 virtual disk. That is probably one reason why it is six seconds faster.
9.
▲
by
kryps
5y ago
Nope, pure compile time on a Core i7-10750H with Windows and Rust 1.52.1, antivirus disabled. WSL did not make much of a difference though (29 seconds).
10.
▲
by
kryps
5y ago
It does not just feel faster, in many cases it is faster. E.g. compiling Rust code is so much faster that it is not even funny. cargo install -f ripgrep takes 22 seconds on a Mac Book Air with M1, same on a hexacore 2020 Dell XPS 17 wit
11.
▲
by
kryps
5y ago
As far as I can see it does not use SIMD for UTF8 validation, only likely/unlikely instrinsics, see https://github.com/hsivonen/encoding_rs/blob/e98a2096ab09c92...
12.
▲
by
kryps
5y ago
Check the benchmarks section ( https://github.com/rusticstuff/simdutf8#Benchmarks ), second table. simdutf8 is up to 28 % faster on my Comet Lake CPU. However with pure ASCII clang does something magical with simdjson an
13.
▲
Show HN: High-speed UTF-8 validation in Rust
(github.com)
127 points
by
kryps
5y ago
|
45 comments
14.
▲
by
kryps
6y ago
How is the performance compared with simdjson ( https://github.com/simdjson/simdjson )?
15.
▲
by
kryps
6y ago
Tip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.
16.
▲
by
kryps
6y ago
User namespaces remapping is still not supported in Kubernetes, see https://github.com/kubernetes/enhancements/issues/127
17.
▲
Android Nougat Gets Rebuilt Media Stack to Defeat Stagefright-Like Bugs
(onthewire.io)
1 points
by
kryps
10y ago
|
0 comments
18.
▲
by
kryps
10y ago
Not sure about the speed compared to Genymotion. HAXM is still required but less buggy now.
19.
▲
Android N OTA update bricks Nexus 9 devices
(code.google.com)
1 points
by
kryps
11y ago
|
0 comments
20.
▲
Show HN: New app for viewing YouTube videos on the watch
(youtube.com)
2 points
by
kryps
11y ago
|
0 comments
21.
▲
3rd-party YouTube App for the Apple Watch
(itunes.apple.com)
2 points
by
kryps
11y ago
|
0 comments
22.
▲
by
kryps
11y ago
The guy is no longer working for soundcloud.
23.
▲
by
kryps
11y ago
Make sure to fix the zippers in place. Otherwise it is very easy to still open the bag by just prying open the zippers and closing them again by moving the tied-together zippers. https://www.youtube.com/watch?v=G5mvvZl6pLI
24.
▲
YouTube video player for Android Wear
(play.google.com)
1 points
by
kryps
11y ago
|
0 comments
25.
▲
by
kryps
11y ago
For critbit trees the entire string _up to_ the critical bit where the string differs from all others already in the datastructure needs to be scanned. critbit trees degenerate badly if you store strings and their prefixes, e.g. storing a,
26.
▲
by
kryps
11y ago
http://en.wikipedia.org/wiki/Steganography
27.
▲
Full-Featured Google Mail Client for Android Wear
(play.google.com)
2 points
by
kryps
11y ago
|
0 comments
28.
▲
by
kryps
12y ago
Except for the Glacier retrieval fees which can be insane if you choose to retrieve more than 0.17% of your stored data per day. https://aws.amazon.com/glacier/faqs/#How_much_data_can_I_ret...
29.
▲
by
kryps
12y ago
The PoC exploit fails on Android 5.0.1 with latest Google Play Services.
30.
▲
by
kryps
12y ago
So we won't have a public debate about war anymore because it might cause a PTSD-induced breakdown in veterans?
More ›