reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

212

I will send you newest post from subreddit /r/programming

Subscribe to a channel

Reddit Programming

A tale about fixing eBPF spinlock issues in the Linux kernel
https://www.reddit.com/r/programming/comments/1tw9pl9/a_tale_about_fixing_ebpf_spinlock_issues_in_the/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://rovarma.com/articles/a-tale-about-fixing-ebpf-spinlock-issues-in-the-linux-kernel/) [comments] (https://www.reddit.com/r/programming/comments/1tw9pl9/a_tale_about_fixing_ebpf_spinlock_issues_in_the/)

Читать полностью…

Reddit Programming

Every byte matters
https://www.reddit.com/r/programming/comments/1tvrvv4/every_byte_matters/

submitted by /u/lelanthran (https://www.reddit.com/user/lelanthran)
[link] (https://fzakaria.com/2026/06/01/every-byte-matters) [comments] (https://www.reddit.com/r/programming/comments/1tvrvv4/every_byte_matters/)

Читать полностью…

Reddit Programming

How Fast Can You Parse 1 Billion Rows in Java? – Insane Speed Test • Roy van Rijn
https://www.reddit.com/r/programming/comments/1tvo6ij/how_fast_can_you_parse_1_billion_rows_in_java/

<!-- SC_OFF -->Join me in this deep dive where I'll explain all the code changes and tricks that took me from the reference implementation which processes the billion records in 4+ minutes, to processing everything in under 2 seconds. Who knew Java could be this fast? <!-- SC_ON --> submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/pHZF-zJ3Bpg?list=PLEx5khR4g7PINwOsYrkwz3lTTJUYoXC53) [comments] (https://www.reddit.com/r/programming/comments/1tvo6ij/how_fast_can_you_parse_1_billion_rows_in_java/)

Читать полностью…

Reddit Programming

How Rockstar fit an entire city into PlayStation 2 memory
https://www.reddit.com/r/programming/comments/1tvmk4y/how_rockstar_fit_an_entire_city_into_playstation/

submitted by /u/r_retrohacking_mod2 (https://www.reddit.com/user/r_retrohacking_mod2)
[link] (https://m.youtube.com/watch?v=cIbCxbrBCys) [comments] (https://www.reddit.com/r/programming/comments/1tvmk4y/how_rockstar_fit_an_entire_city_into_playstation/)

Читать полностью…

Reddit Programming

Branchless Quicksort faster than std::sort and pdqsort with C and C++ API
https://www.reddit.com/r/programming/comments/1tupr5n/branchless_quicksort_faster_than_stdsort_and/

submitted by /u/chkas (https://www.reddit.com/user/chkas)
[link] (https://tiki.li/blog/blqsort) [comments] (https://www.reddit.com/r/programming/comments/1tupr5n/branchless_quicksort_faster_than_stdsort_and/)

Читать полностью…

Reddit Programming

Sanglard analyzes the video compression techniques of Silpheed (Sega CD, 1993)
https://www.reddit.com/r/programming/comments/1tujc4v/sanglard_analyzes_the_video_compression/

submitted by /u/r_retrohacking_mod2 (https://www.reddit.com/user/r_retrohacking_mod2)
[link] (https://fabiensanglard.net/silpheed/index.html) [comments] (https://www.reddit.com/r/programming/comments/1tujc4v/sanglard_analyzes_the_video_compression/)

Читать полностью…

Reddit Programming

strace-ui, Bonsai_term, and the TUI renaissance
https://www.reddit.com/r/programming/comments/1tufrrb/straceui_bonsai_term_and_the_tui_renaissance/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/) [comments] (https://www.reddit.com/r/programming/comments/1tufrrb/straceui_bonsai_term_and_the_tui_renaissance/)

Читать полностью…

Reddit Programming

Training + inference of a transformer inside an email
https://www.reddit.com/r/programming/comments/1ttuxmh/training_inference_of_a_transformer_inside_an/

submitted by /u/kjndfsfdsjnksdf (https://www.reddit.com/user/kjndfsfdsjnksdf)
[link] (https://www.adamoshadjivasiliou.com/blog/transformer-in-email.html) [comments] (https://www.reddit.com/r/programming/comments/1ttuxmh/training_inference_of_a_transformer_inside_an/)

Читать полностью…

Reddit Programming

Email from 10,000 feet.
https://www.reddit.com/r/programming/comments/1ttt9bm/email_from_10000_feet/

submitted by /u/loosedolphin (https://www.reddit.com/user/loosedolphin)
[link] (https://maneeshaxyz.substack.com/p/email-from-10000-feet) [comments] (https://www.reddit.com/r/programming/comments/1ttt9bm/email_from_10000_feet/)

Читать полностью…

Reddit Programming

Why I used vsock instead of TCP in a Firecracker serverless platform
https://www.reddit.com/r/programming/comments/1ttrc88/why_i_used_vsock_instead_of_tcp_in_a_firecracker/

submitted by /u/viks98 (https://www.reddit.com/user/viks98)
[link] (vivek1502/tcp-was-overkill-how-i-built-ipc-for-a-firecracker-serverless-runtime-2048c2758513" rel="nofollow">https://medium.com/@vivek1502/tcp-was-overkill-how-i-built-ipc-for-a-firecracker-serverless-runtime-2048c2758513) [comments] (https://www.reddit.com/r/programming/comments/1ttrc88/why_i_used_vsock_instead_of_tcp_in_a_firecracker/)

Читать полностью…

Reddit Programming

Your process' memory is a file: The underappreciated gem that is /proc//mem
https://www.reddit.com/r/programming/comments/1ttjtwv/your_process_memory_is_a_file_the/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://lcamtuf.substack.com/p/weekend-trivia-your-process-memory) [comments] (https://www.reddit.com/r/programming/comments/1ttjtwv/your_process_memory_is_a_file_the/)

Читать полностью…

Reddit Programming

Debunking zswap and zram myths
https://www.reddit.com/r/programming/comments/1tsrxh8/debunking_zswap_and_zram_myths/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html) [comments] (https://www.reddit.com/r/programming/comments/1tsrxh8/debunking_zswap_and_zram_myths/)

Читать полностью…

Reddit Programming

Redis Locks: Working, Failure Modes and Real-World Examples
https://www.reddit.com/r/programming/comments/1tslj02/redis_locks_working_failure_modes_and_realworld/

submitted by /u/Local_Ad_6109 (https://www.reddit.com/user/Local_Ad_6109)
[link] (https://open.substack.com/pub/engineeringatscale/p/redis-distributed-locks-explained?r=8sprj&amp;utm_campaign=post&amp;utm_medium=web&amp;showWelcomeOnShare=true) [comments] (https://www.reddit.com/r/programming/comments/1tslj02/redis_locks_working_failure_modes_and_realworld/)

Читать полностью…

Reddit Programming

Looking at code behind File Pilot
https://www.reddit.com/r/programming/comments/1ts7u6m/looking_at_code_behind_file_pilot/

<!-- SC_OFF -->I go over some basics and implement a simple feature live on the Wookash Podcast. It might be interesting to those who have tried File Pilot and wondered why its UI is so fast and responsive. I do some actual UI programming. Not much, since we were short on time, but enough to give you a glimpse into how it works. <!-- SC_ON --> submitted by /u/vkrajacic89 (https://www.reddit.com/user/vkrajacic89)
[link] (https://youtu.be/Ww26eO1WeGQ) [comments] (https://www.reddit.com/r/programming/comments/1ts7u6m/looking_at_code_behind_file_pilot/)

Читать полностью…

Reddit Programming

Practical uses of monads in Haskell
https://www.reddit.com/r/programming/comments/1ts1x2l/practical_uses_of_monads_in_haskell/

<!-- SC_OFF -->Inspired by a question on r/haskellquestions (https://www.reddit.com/r/haskellquestions), i wrote about the practical aspect of monads for people at a beginner / intermediate level, about how to go beyond mere understanding the monad class. I try to highlight how we use monads to structure our code, what benefits they bring, and how to reason about them. it comes with exercises! <!-- SC_ON --> submitted by /u/nicuveo (https://www.reddit.com/user/nicuveo)
[link] (https://nauths.fr/en/2026/05/28/practical-use-of-monads.html) [comments] (https://www.reddit.com/r/programming/comments/1ts1x2l/practical_uses_of_monads_in_haskell/)

Читать полностью…

Reddit Programming

Streaming Logs to RSigma for Real-Time Detection
https://www.reddit.com/r/programming/comments/1tw5biz/streaming_logs_to_rsigma_for_realtime_detection/

submitted by /u/Happycodeine (https://www.reddit.com/user/Happycodeine)
[link] (https://mostafa.dev/streaming-logs-to-rsigma-for-real-time-detection-72084b8041ad?source=friends_link&amp;sk=c99935781cd299a1af68f683acca1238) [comments] (https://www.reddit.com/r/programming/comments/1tw5biz/streaming_logs_to_rsigma_for_realtime_detection/)

Читать полностью…

Reddit Programming

[Sebastian Lague] - I Tried Optimizing my Rubik's Cube Solver
https://www.reddit.com/r/programming/comments/1tvrg4k/sebastian_lague_i_tried_optimizing_my_rubiks_cube/

submitted by /u/Pink401k (https://www.reddit.com/user/Pink401k)
[link] (https://www.youtube.com/watch?v=Eysf6-E3ino) [comments] (https://www.reddit.com/r/programming/comments/1tvrg4k/sebastian_lague_i_tried_optimizing_my_rubiks_cube/)

Читать полностью…

Reddit Programming

NULLs in ClickHouse can hurt performance
https://www.reddit.com/r/programming/comments/1tvnhbz/nulls_in_clickhouse_can_hurt_performance/

submitted by /u/f311a (https://www.reddit.com/user/f311a)
[link] (https://rushter.com/blog/clickhouse-nulls/) [comments] (https://www.reddit.com/r/programming/comments/1tvnhbz/nulls_in_clickhouse_can_hurt_performance/)

Читать полностью…

Reddit Programming

1-Click GitHub Token Stealing via a VSCode Bug
https://www.reddit.com/r/programming/comments/1tvftne/1click_github_token_stealing_via_a_vscode_bug/

submitted by /u/nicovank13 (https://www.reddit.com/user/nicovank13)
[link] (https://blog.ammaraskar.com/github-token-stealing/) [comments] (https://www.reddit.com/r/programming/comments/1tvftne/1click_github_token_stealing_via_a_vscode_bug/)

Читать полностью…

Reddit Programming

Bug hunt: Why you only need Paris to beat Pizza Tycoon (1994)
https://www.reddit.com/r/programming/comments/1tumfhb/bug_hunt_why_you_only_need_paris_to_beat_pizza/

submitted by /u/Optdev (https://www.reddit.com/user/Optdev)
[link] (https://pizzalegacy.nl/blog/bug-hunt-why-you-only-need-paris-to-beat-pizza-tycoon.html) [comments] (https://www.reddit.com/r/programming/comments/1tumfhb/bug_hunt_why_you_only_need_paris_to_beat_pizza/)

Читать полностью…

Reddit Programming

Programming as Theory Building, Naur (1985). PDF-link
https://www.reddit.com/r/programming/comments/1tuha5f/programming_as_theory_building_naur_1985_pdflink/

submitted by /u/patrixxxx (https://www.reddit.com/user/patrixxxx)
[link] (https://pages.cs.wisc.edu/~remzi/Naur.pdf) [comments] (https://www.reddit.com/r/programming/comments/1tuha5f/programming_as_theory_building_naur_1985_pdflink/)

Читать полностью…

Reddit Programming

Adding Microformat tags to my website - enabling an open, decentralised web
https://www.reddit.com/r/programming/comments/1tu463t/adding_microformat_tags_to_my_website_enabling_an/

submitted by /u/SwoopsFromAbove (https://www.reddit.com/user/SwoopsFromAbove)
[link] (https://tomrenner.com/posts/joining-the-indieweb-1/) [comments] (https://www.reddit.com/r/programming/comments/1tu463t/adding_microformat_tags_to_my_website_enabling_an/)

Читать полностью…

Reddit Programming

Social Programming Language Constructs
https://www.reddit.com/r/programming/comments/1ttuhop/social_programming_language_constructs/

submitted by /u/jhartikainen (https://www.reddit.com/user/jhartikainen)
[link] (https://jimmyhmiller.com/social-language-constructs) [comments] (https://www.reddit.com/r/programming/comments/1ttuhop/social_programming_language_constructs/)

Читать полностью…

Reddit Programming

@redhat-cloud-services publish pipeline is compromised today and shipped a signed, trusted, malicious npm package
https://www.reddit.com/r/programming/comments/1ttt4p4/redhatcloudservices_publish_pipeline_is/

<!-- SC_OFF -->patch-client@4.0.4 (mailto:patch-client@4.0.4) went out through the project's own github action OIDC trusted publisher today and not any stolen token or a typosquat anything, we saw that the actual release pipeline produced it. this runs on npm install, steals cloud creds and self propagates by injecting fake CodeQL workflows into repository the stolen tokens can reach. 32 packages is currently sharing the same publisher so the window of exposure isn not only just a single package.
if you have anything from related to /redhat-cloud-services in your tree, 4.0.3 is the last clean version. <!-- SC_ON --> submitted by /u/BattleRemote3157 (https://www.reddit.com/user/BattleRemote3157)
[link] (https://safedep.io/redhat-cloud-services-hit-by-mini-shai-hulud-npm-worm/) [comments] (https://www.reddit.com/r/programming/comments/1ttt4p4/redhatcloudservices_publish_pipeline_is/)

Читать полностью…

Reddit Programming

Breaking what a program is
https://www.reddit.com/r/programming/comments/1ttqimx/breaking_what_a_program_is/

submitted by /u/andreiross (https://www.reddit.com/user/andreiross)
[link] (https://frn.sh/program/) [comments] (https://www.reddit.com/r/programming/comments/1ttqimx/breaking_what_a_program_is/)

Читать полностью…

Reddit Programming

A Double Shot of DuckDB: Vector Similarity Search and Quack
https://www.reddit.com/r/programming/comments/1tti97b/a_double_shot_of_duckdb_vector_similarity_search/

submitted by /u/pdoherty926 (https://www.reddit.com/user/pdoherty926)
[link] (https://peterdohertys.website/blog-posts/double-shot-of-duck.html) [comments] (https://www.reddit.com/r/programming/comments/1tti97b/a_double_shot_of_duckdb_vector_similarity_search/)

Читать полностью…

Reddit Programming

On Scenarios That Will Not Happen
https://www.reddit.com/r/programming/comments/1tsoqjf/on_scenarios_that_will_not_happen/

submitted by /u/radekmie (https://www.reddit.com/user/radekmie)
[link] (https://radekmie.dev/blog/on-scenarios-that-will-not-happen/) [comments] (https://www.reddit.com/r/programming/comments/1tsoqjf/on_scenarios_that_will_not_happen/)

Читать полностью…

Reddit Programming

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon
https://www.reddit.com/r/programming/comments/1ts97an/the_gold_standard_of_optimization_a_look_under/

submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rollercoaster-tycoon/) [comments] (https://www.reddit.com/r/programming/comments/1ts97an/the_gold_standard_of_optimization_a_look_under/)

Читать полностью…

Reddit Programming

When Architecture Diagrams Stop Scaling
https://www.reddit.com/r/programming/comments/1ts7ahi/when_architecture_diagrams_stop_scaling/

<!-- SC_OFF -->Interesting engineering write-up from Netflix on maintaining a real-time service topology in a large microservices ecosystem. The takeaway for me: observability isn't just about metrics, traces, and logs—understanding service relationships is equally critical as systems scale. Curious how others approach dependency mapping in production environments. https://netflixtechblog.com/from-silos-to-service-topology-why-netflix-built-a-real-time-service-map-0165ba13a7bc <!-- SC_ON --> submitted by /u/mukeshsri369 (https://www.reddit.com/user/mukeshsri369)
[link] (https://netflixtechblog.com/from-silos-to-service-topology-why-netflix-built-a-real-time-service-map-0165ba13a7bc) [comments] (https://www.reddit.com/r/programming/comments/1ts7ahi/when_architecture_diagrams_stop_scaling/)

Читать полностью…

Reddit Programming

The case for Direct I/O - why it matters for high performance storage
https://www.reddit.com/r/programming/comments/1tr09pj/the_case_for_direct_io_why_it_matters_for_high/

<!-- SC_OFF -->Hello everyone, Recently I published on GitHub HedgeDB (https://github.com/fede-vaccaro/HedgeDB), my high-perf and persisted Key-Value store. Internally, it uses Direct I/O (O_DIRECT) almost everywhere. In this article I explain the reasons behind this choice, also motivated from some fun experiments I had with fio that you can find in the article. and some consideration about the page cache. <!-- SC_ON --> submitted by /u/IlPresidente995 (https://www.reddit.com/user/IlPresidente995)
[link] (https://fede-vaccaro.github.io/hedgedb.github.io/direct-io.html) [comments] (https://www.reddit.com/r/programming/comments/1tr09pj/the_case_for_direct_io_why_it_matters_for_high/)

Читать полностью…
Subscribe to a channel