kryps
Re:Lightpanda migrate DOM implementation to Zig
on Monday January 12, 2026 @08:18AM (#46588078)
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.
Re:Synadia and TigerBeetle Pledge $512,000 to the Zig Software Foundation
on Friday December 05, 2025 @01:45PM (#46165453)
Previously:
https://news.ycombinator.com/item?id=45703926
Re:How secure is merely TRIMing all of a SSD's blocks?
on Wednesday March 08, 2023 @10:11AM (#35069915)
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 worse if one tries to recover more bits (but still better than n coin tosses for n bits).
Re:Google Tag Manager, the new anti-adblock weapon (2020)
on Sunday February 20, 2022 @11:03PM (#30411855)
Can we have " (2020)" added to the title?
Re:How M1 Macs feel faster than Intel models: it’s about QoS
on Monday May 17, 2021 @10:41AM (#27183980)
You are not doing a release build.
Re:How M1 Macs feel faster than Intel models: it’s about QoS
on Monday May 17, 2021 @09:41AM (#27183264)
WSL2, correct.
Re:How M1 Macs feel faster than Intel models: it’s about QoS
on Monday May 17, 2021 @09:36AM (#27183212)
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.
Re:How M1 Macs feel faster than Intel models: it’s about QoS
on Monday May 17, 2021 @09:34AM (#27183191)
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.
Re:How M1 Macs feel faster than Intel models: it’s about QoS
on Monday May 17, 2021 @09:22AM (#27183084)
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).
Re:How M1 Macs feel faster than Intel models: it’s about QoS
on Monday May 17, 2021 @09:03AM (#27182921)
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 with 64GB RAM takes 34 seconds.
Re:Show HN: High-speed UTF-8 validation in Rust
on Thursday April 22, 2021 @02:27AM (#26899436)
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...
Re:Show HN: High-speed UTF-8 validation in Rust
on Wednesday April 21, 2021 @10:04AM (#26889841)
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 and it beats my implementation by a lot. GCC-compiled simdjson is slower all around except for a few outliers with short byte sequences.
The algorithm is the one from simdjson, the main difference is that it uses an extra step in the beginning to align reads to the SIMD block size.
Re:Show HN: A fast JSON library for Go
on Tuesday February 09, 2021 @07:28AM (#26076695)
How is the performance compared with simdjson (https://github.com/simdjson/simdjson)?
Re:Go vs. Rust: Writing a CLI Tool
on Tuesday August 04, 2020 @08:34AM (#24049290)
Tip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.
Re:LXD – next generation system container manager release 4.3
on Tuesday July 14, 2020 @05:26AM (#23830001)
User namespaces remapping is still not supported in Kubernetes, see https://github.com/kubernetes/enhancements/issues/127
Android Nougat Gets Rebuilt Media Stack to Defeat Stagefright-Like Bugs
Re:Android Studio 2.0 Released
on Friday April 08, 2016 @03:23AM (#11453111)
Not sure about the speed compared to Genymotion. HAXM is still required but less buggy now.
Android N OTA update bricks Nexus 9 devices
Show HN: New app for viewing YouTube videos on the watch
3rd-party YouTube App for the Apple Watch
Re:How we ended up with microservices
on Thursday September 10, 2015 @07:01AM (#10197289)
The guy is no longer working for soundcloud.
Re:Lockpickers 3-D Print TSA Master Luggage Keys from Leaked Photos
on Thursday September 10, 2015 @06:56AM (#10197268)
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.
YouTube video player for Android Wear
Re:String Interning – Trie vs. Hash Table Deathmatch
on Monday June 29, 2015 @06:22PM (#9801560)
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, aa, aaa, ...
Re:FBI: Companies should help us ‘prevent encryption above all else’
on Thursday June 04, 2015 @06:02PM (#9662427)
Full-Featured Google Mail Client for Android Wear
Re:Introducing Google Cloud Storage Nearline
on Wednesday March 11, 2015 @11:12AM (#9184463)
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...
Re:Android app with full control over your Google account
on Friday January 09, 2015 @04:37AM (#8861448)
The PoC exploit fails on Android 5.0.1 with latest Google Play Services.
Re:Free speech is last century. Today’s students want the ‘right to be...
on Saturday December 27, 2014 @02:31AM (#8801980)
So we won't have a public debate about war anymore because it might cause a PTSD-induced breakdown in veterans?