Modern LZ Compression Part 2: FSE and Arithmetic Coding
https://www.reddit.com/r/programming/comments/1suioko/modern_lz_compression_part_2_fse_and_arithmetic/
<!-- SC_OFF -->This is the second article in a series discussing modern compression techniques. The first one covered Huffman + LZ. This one covers optimal entropy coders (FSE and Arithmetic), and some additional tricks to get closer to the state of the art. The full compressor and decompressor are just over 1500 lines of pretty compact C++: https://github.com/glinscott/linzip2/blob/master/main.cc. It's been seven years since the first article! Hopefully not so long before the third (and probably final one). Part 1 discussion thread: https://www.reddit.com/r/programming/comments/amfzqg/modern_lz_compression/ <!-- SC_ON --> submitted by /u/glinscott (https://www.reddit.com/user/glinscott)
[link] (https://glinscott.github.io/lz/part2.html) [comments] (https://www.reddit.com/r/programming/comments/1suioko/modern_lz_compression_part_2_fse_and_arithmetic/)
https://www.reddit.com/r/programming/comments/1suioko/modern_lz_compression_part_2_fse_and_arithmetic/
<!-- SC_OFF -->This is the second article in a series discussing modern compression techniques. The first one covered Huffman + LZ. This one covers optimal entropy coders (FSE and Arithmetic), and some additional tricks to get closer to the state of the art. The full compressor and decompressor are just over 1500 lines of pretty compact C++: https://github.com/glinscott/linzip2/blob/master/main.cc. It's been seven years since the first article! Hopefully not so long before the third (and probably final one). Part 1 discussion thread: https://www.reddit.com/r/programming/comments/amfzqg/modern_lz_compression/ <!-- SC_ON --> submitted by /u/glinscott (https://www.reddit.com/user/glinscott)
[link] (https://glinscott.github.io/lz/part2.html) [comments] (https://www.reddit.com/r/programming/comments/1suioko/modern_lz_compression_part_2_fse_and_arithmetic/)
On sabotaging projects by overthinking
https://www.reddit.com/r/programming/comments/1sumkeu/on_sabotaging_projects_by_overthinking/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://kevinlynagh.com/newsletter/2026_04_overthinking/) [comments] (https://www.reddit.com/r/programming/comments/1sumkeu/on_sabotaging_projects_by_overthinking/)
https://www.reddit.com/r/programming/comments/1sumkeu/on_sabotaging_projects_by_overthinking/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://kevinlynagh.com/newsletter/2026_04_overthinking/) [comments] (https://www.reddit.com/r/programming/comments/1sumkeu/on_sabotaging_projects_by_overthinking/)
GitHub Status - Incident with Pull Requests
https://www.reddit.com/r/programming/comments/1suzrdx/github_status_incident_with_pull_requests/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://www.githubstatus.com/incidents/zsg1lk7w13cf) [comments] (https://www.reddit.com/r/programming/comments/1suzrdx/github_status_incident_with_pull_requests/)
https://www.reddit.com/r/programming/comments/1suzrdx/github_status_incident_with_pull_requests/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://www.githubstatus.com/incidents/zsg1lk7w13cf) [comments] (https://www.reddit.com/r/programming/comments/1suzrdx/github_status_incident_with_pull_requests/)
Caching Beyond Redis: Real-World Strategies That Don’t Break Your System
https://www.reddit.com/r/programming/comments/1sv664k/caching_beyond_redis_realworld_strategies_that/
<!-- SC_OFF -->In the article, I break down:
• why caching is really a trade-off between speed and correctness
• when to use in-memory cache, Redis-style distributed cache, and CDN caching
• cache-aside, write-through, write-back, and read-through with real examples
• cache invalidation, stale data, and cache stampedes
• when caching is the wrong solution entirely <!-- SC_ON --> submitted by /u/anant94 (https://www.reddit.com/user/anant94)
[link] (https://commitlog.cc/posts/caching-beyond-redis) [comments] (https://www.reddit.com/r/programming/comments/1sv664k/caching_beyond_redis_realworld_strategies_that/)
https://www.reddit.com/r/programming/comments/1sv664k/caching_beyond_redis_realworld_strategies_that/
<!-- SC_OFF -->In the article, I break down:
• why caching is really a trade-off between speed and correctness
• when to use in-memory cache, Redis-style distributed cache, and CDN caching
• cache-aside, write-through, write-back, and read-through with real examples
• cache invalidation, stale data, and cache stampedes
• when caching is the wrong solution entirely <!-- SC_ON --> submitted by /u/anant94 (https://www.reddit.com/user/anant94)
[link] (https://commitlog.cc/posts/caching-beyond-redis) [comments] (https://www.reddit.com/r/programming/comments/1sv664k/caching_beyond_redis_realworld_strategies_that/)
Plain text has been around for decades and it’s here to stay.
https://www.reddit.com/r/programming/comments/1sv7di4/plain_text_has_been_around_for_decades_and_its/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://unsung.aresluna.org/plain-text-has-been-around-for-decades-and-its-here-to-stay/) [comments] (https://www.reddit.com/r/programming/comments/1sv7di4/plain_text_has_been_around_for_decades_and_its/)
https://www.reddit.com/r/programming/comments/1sv7di4/plain_text_has_been_around_for_decades_and_its/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://unsung.aresluna.org/plain-text-has-been-around-for-decades-and-its-here-to-stay/) [comments] (https://www.reddit.com/r/programming/comments/1sv7di4/plain_text_has_been_around_for_decades_and_its/)
Debugging WASM in Chrome DevTools
https://www.reddit.com/r/programming/comments/1swam8t/debugging_wasm_in_chrome_devtools/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://eli.thegreenplace.net/2026/debugging-wasm-in-chrome-devtools/) [comments] (https://www.reddit.com/r/programming/comments/1swam8t/debugging_wasm_in_chrome_devtools/)
https://www.reddit.com/r/programming/comments/1swam8t/debugging_wasm_in_chrome_devtools/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://eli.thegreenplace.net/2026/debugging-wasm-in-chrome-devtools/) [comments] (https://www.reddit.com/r/programming/comments/1swam8t/debugging_wasm_in_chrome_devtools/)
Same algorithm, 16x faster: optimizing a vector search engine’s hot path
https://www.reddit.com/r/programming/comments/1swbm8a/same_algorithm_16x_faster_optimizing_a_vector/
submitted by /u/BgA_stan (https://www.reddit.com/user/BgA_stan)
[link] (https://dubeykartikay.com/posts/sembed-engine-vector-search-performance/) [comments] (https://www.reddit.com/r/programming/comments/1swbm8a/same_algorithm_16x_faster_optimizing_a_vector/)
https://www.reddit.com/r/programming/comments/1swbm8a/same_algorithm_16x_faster_optimizing_a_vector/
submitted by /u/BgA_stan (https://www.reddit.com/user/BgA_stan)
[link] (https://dubeykartikay.com/posts/sembed-engine-vector-search-performance/) [comments] (https://www.reddit.com/r/programming/comments/1swbm8a/same_algorithm_16x_faster_optimizing_a_vector/)
Event Sourcing Explained using Football ⚽️ - YouTube
https://www.reddit.com/r/programming/comments/1swbw0o/event_sourcing_explained_using_football_youtube/
submitted by /u/andrewcairns (https://www.reddit.com/user/andrewcairns)
[link] (https://www.youtube.com/watch?v=xPmQxYIi5fA&list=PLCl5BUbK0jXt5l18S5UNAoUc4eQ2PJDye) [comments] (https://www.reddit.com/r/programming/comments/1swbw0o/event_sourcing_explained_using_football_youtube/)
https://www.reddit.com/r/programming/comments/1swbw0o/event_sourcing_explained_using_football_youtube/
submitted by /u/andrewcairns (https://www.reddit.com/user/andrewcairns)
[link] (https://www.youtube.com/watch?v=xPmQxYIi5fA&list=PLCl5BUbK0jXt5l18S5UNAoUc4eQ2PJDye) [comments] (https://www.reddit.com/r/programming/comments/1swbw0o/event_sourcing_explained_using_football_youtube/)
Fast16: High-Precision Software Sabotage 5 Years Before Stuxnet
https://www.reddit.com/r/programming/comments/1swcgrl/fast16_highprecision_software_sabotage_5_years/
submitted by /u/teknikly-correct (https://www.reddit.com/user/teknikly-correct)
[link] (https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-software-sabotage-5-years-before-stuxnet/) [comments] (https://www.reddit.com/r/programming/comments/1swcgrl/fast16_highprecision_software_sabotage_5_years/)
https://www.reddit.com/r/programming/comments/1swcgrl/fast16_highprecision_software_sabotage_5_years/
submitted by /u/teknikly-correct (https://www.reddit.com/user/teknikly-correct)
[link] (https://www.sentinelone.com/labs/fast16-mystery-shadowbrokers-reference-reveals-high-precision-software-sabotage-5-years-before-stuxnet/) [comments] (https://www.reddit.com/r/programming/comments/1swcgrl/fast16_highprecision_software_sabotage_5_years/)
"Parse, don't Validate" through the years with C++
https://www.reddit.com/r/programming/comments/1swhwt8/parse_dont_validate_through_the_years_with_c/
submitted by /u/dwrodri (https://www.reddit.com/user/dwrodri)
[link] (https://derekrodriguez.dev/parse-dont-validate-through-the-years-with-c-/) [comments] (https://www.reddit.com/r/programming/comments/1swhwt8/parse_dont_validate_through_the_years_with_c/)
https://www.reddit.com/r/programming/comments/1swhwt8/parse_dont_validate_through_the_years_with_c/
submitted by /u/dwrodri (https://www.reddit.com/user/dwrodri)
[link] (https://derekrodriguez.dev/parse-dont-validate-through-the-years-with-c-/) [comments] (https://www.reddit.com/r/programming/comments/1swhwt8/parse_dont_validate_through_the_years_with_c/)
First time using the MareNostrum V Supercomputer, writeup of what actually surprised me coming from cloud
https://www.reddit.com/r/programming/comments/1swwo7h/first_time_using_the_marenostrum_v_supercomputer/
submitted by /u/Georgiou1226 (https://www.reddit.com/user/Georgiou1226)
[link] (https://towardsdatascience.com/what-it-actually-takes-to-run-code-on-200me-supercomputer/) [comments] (https://www.reddit.com/r/programming/comments/1swwo7h/first_time_using_the_marenostrum_v_supercomputer/)
https://www.reddit.com/r/programming/comments/1swwo7h/first_time_using_the_marenostrum_v_supercomputer/
submitted by /u/Georgiou1226 (https://www.reddit.com/user/Georgiou1226)
[link] (https://towardsdatascience.com/what-it-actually-takes-to-run-code-on-200me-supercomputer/) [comments] (https://www.reddit.com/r/programming/comments/1swwo7h/first_time_using_the_marenostrum_v_supercomputer/)
Box to save memory in Rust
https://www.reddit.com/r/programming/comments/1swzugs/box_to_save_memory_in_rust/
submitted by /u/BlondieCoder (https://www.reddit.com/user/BlondieCoder)
[link] (https://dystroy.org/blog/box-to-save-memory/) [comments] (https://www.reddit.com/r/programming/comments/1swzugs/box_to_save_memory_in_rust/)
https://www.reddit.com/r/programming/comments/1swzugs/box_to_save_memory_in_rust/
submitted by /u/BlondieCoder (https://www.reddit.com/user/BlondieCoder)
[link] (https://dystroy.org/blog/box-to-save-memory/) [comments] (https://www.reddit.com/r/programming/comments/1swzugs/box_to_save_memory_in_rust/)
Message Brokers Are Modern Grids
https://www.reddit.com/r/programming/comments/1sx032b/message_brokers_are_modern_grids/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://yusufaytas.com/message-brokers-are-modern-grids) [comments] (https://www.reddit.com/r/programming/comments/1sx032b/message_brokers_are_modern_grids/)
https://www.reddit.com/r/programming/comments/1sx032b/message_brokers_are_modern_grids/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://yusufaytas.com/message-brokers-are-modern-grids) [comments] (https://www.reddit.com/r/programming/comments/1sx032b/message_brokers_are_modern_grids/)
The fastest Linux timestamps
https://www.reddit.com/r/programming/comments/1sx074x/the_fastest_linux_timestamps/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://www.hmpcabral.com/2026/04/26/the-fastest-linux-timestamps/) [comments] (https://www.reddit.com/r/programming/comments/1sx074x/the_fastest_linux_timestamps/)
https://www.reddit.com/r/programming/comments/1sx074x/the_fastest_linux_timestamps/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://www.hmpcabral.com/2026/04/26/the-fastest-linux-timestamps/) [comments] (https://www.reddit.com/r/programming/comments/1sx074x/the_fastest_linux_timestamps/)
The Friendly Rewrite · thehardparts.dev
https://www.reddit.com/r/programming/comments/1sx7da9/the_friendly_rewrite_thehardpartsdev/
submitted by /u/ludovicianul (https://www.reddit.com/user/ludovicianul)
[link] (https://thehardparts.dev/failure-modes/friendly-rewrite) [comments] (https://www.reddit.com/r/programming/comments/1sx7da9/the_friendly_rewrite_thehardpartsdev/)
https://www.reddit.com/r/programming/comments/1sx7da9/the_friendly_rewrite_thehardpartsdev/
submitted by /u/ludovicianul (https://www.reddit.com/user/ludovicianul)
[link] (https://thehardparts.dev/failure-modes/friendly-rewrite) [comments] (https://www.reddit.com/r/programming/comments/1sx7da9/the_friendly_rewrite_thehardpartsdev/)
Using Rust to Build a $1 Handheld Gaming Console
https://www.reddit.com/r/programming/comments/1sxsrrf/using_rust_to_build_a_1_handheld_gaming_console/
submitted by /u/BlondieCoder (https://www.reddit.com/user/BlondieCoder)
[link] (https://chrisdell.info/using-rust-to-build-a-1-dollar-handheld-gaming-console/) [comments] (https://www.reddit.com/r/programming/comments/1sxsrrf/using_rust_to_build_a_1_handheld_gaming_console/)
https://www.reddit.com/r/programming/comments/1sxsrrf/using_rust_to_build_a_1_handheld_gaming_console/
submitted by /u/BlondieCoder (https://www.reddit.com/user/BlondieCoder)
[link] (https://chrisdell.info/using-rust-to-build-a-1-dollar-handheld-gaming-console/) [comments] (https://www.reddit.com/r/programming/comments/1sxsrrf/using_rust_to_build_a_1_handheld_gaming_console/)
High Performance Git
https://www.reddit.com/r/programming/comments/1sxt6si/high_performance_git/
submitted by /u/BlondieCoder (https://www.reddit.com/user/BlondieCoder)
[link] (https://gitperf.com/) [comments] (https://www.reddit.com/r/programming/comments/1sxt6si/high_performance_git/)
https://www.reddit.com/r/programming/comments/1sxt6si/high_performance_git/
submitted by /u/BlondieCoder (https://www.reddit.com/user/BlondieCoder)
[link] (https://gitperf.com/) [comments] (https://www.reddit.com/r/programming/comments/1sxt6si/high_performance_git/)
Wasm is not quite a stack machine
https://www.reddit.com/r/programming/comments/1sxvxmq/wasm_is_not_quite_a_stack_machine/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://purplesyringa.moe/blog/wasm-is-not-quite-a-stack-machine/) [comments] (https://www.reddit.com/r/programming/comments/1sxvxmq/wasm_is_not_quite_a_stack_machine/)
https://www.reddit.com/r/programming/comments/1sxvxmq/wasm_is_not_quite_a_stack_machine/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://purplesyringa.moe/blog/wasm-is-not-quite-a-stack-machine/) [comments] (https://www.reddit.com/r/programming/comments/1sxvxmq/wasm_is_not_quite_a_stack_machine/)
Quickly restoring 1M+ files from backup
https://www.reddit.com/r/programming/comments/1sxy05v/quickly_restoring_1m_files_from_backup/
<!-- SC_OFF -->Back in 2016, we faced a technical challenge implementing a restore for a large number of files (million or more) from a backup. We had to restore them both quickly and durably, meaning the restored files had to survive a power loss. Neither of the standard approaches worked, so for the solution we had to rely on a couple of undocumented NT internals. <!-- SC_ON --> submitted by /u/axkotti (https://www.reddit.com/user/axkotti)
[link] (https://blog.axiorema.com/engineering/quickly-restoring-1m-files-from-backup/) [comments] (https://www.reddit.com/r/programming/comments/1sxy05v/quickly_restoring_1m_files_from_backup/)
https://www.reddit.com/r/programming/comments/1sxy05v/quickly_restoring_1m_files_from_backup/
<!-- SC_OFF -->Back in 2016, we faced a technical challenge implementing a restore for a large number of files (million or more) from a backup. We had to restore them both quickly and durably, meaning the restored files had to survive a power loss. Neither of the standard approaches worked, so for the solution we had to rely on a couple of undocumented NT internals. <!-- SC_ON --> submitted by /u/axkotti (https://www.reddit.com/user/axkotti)
[link] (https://blog.axiorema.com/engineering/quickly-restoring-1m-files-from-backup/) [comments] (https://www.reddit.com/r/programming/comments/1sxy05v/quickly_restoring_1m_files_from_backup/)
An update on GitHub availability
https://www.reddit.com/r/programming/comments/1sy00b7/an_update_on_github_availability/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://github.blog/news-insights/company-news/an-update-on-github-availability/) [comments] (https://www.reddit.com/r/programming/comments/1sy00b7/an_update_on_github_availability/)
https://www.reddit.com/r/programming/comments/1sy00b7/an_update_on_github_availability/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://github.blog/news-insights/company-news/an-update-on-github-availability/) [comments] (https://www.reddit.com/r/programming/comments/1sy00b7/an_update_on_github_availability/)
Improvements to errors and warnings in GCC 16
https://www.reddit.com/r/programming/comments/1sy0ci7/improvements_to_errors_and_warnings_in_gcc_16/
submitted by /u/dmalcolm (https://www.reddit.com/user/dmalcolm)
[link] (https://developers.redhat.com/articles/2026/04/28/gcc-16-improved-error-messages-sarif-output) [comments] (https://www.reddit.com/r/programming/comments/1sy0ci7/improvements_to_errors_and_warnings_in_gcc_16/)
https://www.reddit.com/r/programming/comments/1sy0ci7/improvements_to_errors_and_warnings_in_gcc_16/
submitted by /u/dmalcolm (https://www.reddit.com/user/dmalcolm)
[link] (https://developers.redhat.com/articles/2026/04/28/gcc-16-improved-error-messages-sarif-output) [comments] (https://www.reddit.com/r/programming/comments/1sy0ci7/improvements_to_errors_and_warnings_in_gcc_16/)