212
I will send you newest post from subreddit /r/programming
Claude vs Gemini: Which AI Writes Better Code in 2026?
https://www.reddit.com/r/programming/comments/1r7u6xk/claude_vs_gemini_which_ai_writes_better_code_in/
submitted by /u/RevolutionaryHeart24 (https://www.reddit.com/user/RevolutionaryHeart24)
[link] (https://indiascope.in/claude-vs-gemini-code-2026/) [comments] (https://www.reddit.com/r/programming/comments/1r7u6xk/claude_vs_gemini_which_ai_writes_better_code_in/)
Effortless repository-based session history organization for DeepWiki
https://www.reddit.com/r/programming/comments/1r7ahk7/effortless_repositorybased_session_history/
<!-- SC_OFF -->When using DeepWiki extensively across multiple OSS repositories, search sessions can quickly pile up, making it hard to keep track of context per repo. To help with this workflow issue, this desktop application wraps DeepWiki in a WebView, tracks URL changes, and groups sessions by repository automatically. Features Display of repositories and their sessions By automatic tracking of DeepWiki URL changes Right-click context menu for easy deletion of repositories and sessions from UI Also renames the sessions for clarity Check for updates to notify users when a new version is available <!-- SC_ON --> submitted by /u/aqny (https://www.reddit.com/user/aqny)
[link] (https://github.com/ynqa/dwb) [comments] (https://www.reddit.com/r/programming/comments/1r7ahk7/effortless_repositorybased_session_history/)
The Servo project and its impact on the web platform ecosystem
https://www.reddit.com/r/programming/comments/1r772gl/the_servo_project_and_its_impact_on_the_web/
submitted by /u/fpcoder (https://www.reddit.com/user/fpcoder)
[link] (https://servo.org/slides/2026-02-fosdem-servo-web-platform/) [comments] (https://www.reddit.com/r/programming/comments/1r772gl/the_servo_project_and_its_impact_on_the_web/)
SOLID in FP: Single Responsibility, or How Pure Functions Solved It Already · cekrem.github.io
https://www.reddit.com/r/programming/comments/1r75tvu/solid_in_fp_single_responsibility_or_how_pure/
submitted by /u/cekrem (https://www.reddit.com/user/cekrem)
[link] (https://cekrem.github.io/posts/solid-in-fp-single-responsibility/) [comments] (https://www.reddit.com/r/programming/comments/1r75tvu/solid_in_fp_single_responsibility_or_how_pure/)
Peer-reviewed study: AI-generated changes fail more often in unhealthy code (30%+ higher defect risk)
https://www.reddit.com/r/programming/comments/1r70jbb/peerreviewed_study_aigenerated_changes_fail_more/
<!-- SC_OFF -->We recently published research, “Code for Machines, Not Just Humans: Quantifying AI-Friendliness with Code Health Metrics.” In the study, we analyzed AI-generated refactorings across 5,000 real programs using six different LLMs. We measured whether the changes preserved behavior while keeping tests passing. One result stood out: AI-generated changes failed significantly more often in unhealthy code, with defect risk increasing by at least 30%. Some important nuance: The study only included code with Code Health ≥ 7.0. Truly low-quality legacy modules (scores 4, 3, or 1) were not included. The 30% increase was observed in code that was still relatively maintainable. Based on prior Code Health research, breakage rates in deeply unhealthy legacy systems are likely non-linear and could increase steeply. The paper argues that Code Health is a key factor in whether AI coding assistants accelerate development or amplify defect risk. The traditional maxim says code must be written for humans to read. With AI increasingly modifying code, it may also need to be structured in ways machines can reliably interpret. Our data suggests AI performance is tightly coupled to the structural health of the system it’s applied to: Healthy code → AI behaves more predictably Unhealthy code → defect rates rise sharply This mirrors long-standing findings about human defect rates in complex systems. Are you seeing different AI outcomes depending on which parts of the codebase the model touches? Disclosure: I work at CodeScene (the company behind the study). I’m not one of the authors, but I wanted to share the findings here for discussion. If useful, we’re also hosting a technical session next week to go deeper into the methodology and architectural implications, happy to share details. <!-- SC_ON --> submitted by /u/Summer_Flower_7648 (https://www.reddit.com/user/Summer_Flower_7648)
[link] (https://codescene.com/hubfs/whitepapers/AI-Ready-Code-How-Code-Health-Determines-AI-Performance.pdf) [comments] (https://www.reddit.com/r/programming/comments/1r70jbb/peerreviewed_study_aigenerated_changes_fail_more/)
Writing a native VLC plugin in C#
https://www.reddit.com/r/programming/comments/1r6xv63/writing_a_native_vlc_plugin_in_c/
<!-- SC_OFF -->Any questions feel free to ask! <!-- SC_ON --> submitted by /u/mtz94 (https://www.reddit.com/user/mtz94)
[link] (https://mfkl.github.io/2026/02/11/vlc-plugin-csharp.html) [comments] (https://www.reddit.com/r/programming/comments/1r6xv63/writing_a_native_vlc_plugin_in_c/)
Petri Nets as a Universal Abstraction
https://www.reddit.com/r/programming/comments/1r6qg9l/petri_nets_as_a_universal_abstraction/
submitted by /u/orksliver (https://www.reddit.com/user/orksliver)
[link] (https://blog.stackdump.com/posts/petri-nets-book) [comments] (https://www.reddit.com/r/programming/comments/1r6qg9l/petri_nets_as_a_universal_abstraction/)
Final Fight: Enhanced - Final Edition - Complete breakdown
https://www.reddit.com/r/programming/comments/1r6mwlv/final_fight_enhanced_final_edition_complete/
<!-- SC_OFF -->This was a mostly under-the-hood update which removes the use of AmigaOS and made the game run under a flat 2MB of ChipMem. Other improvements included a wider screen display, more enemy attacks, more player moves, new sound effects, box art, and a plethora of other tweaks. A playthrough of the update. (https://www.youtube.com/watch?v=EhkELekYgbs) <!-- SC_ON --> submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://prototron.weebly.com/blog/final-fight-enhanced-final-edition-complete-breakdown) [comments] (https://www.reddit.com/r/programming/comments/1r6mwlv/final_fight_enhanced_final_edition_complete/)
One of the most annoying programming challenges I've ever faced (port process identification)
https://www.reddit.com/r/programming/comments/1r6iypm/one_of_the_most_annoying_programming_challenges/
submitted by /u/goldensyrupgames (https://www.reddit.com/user/goldensyrupgames)
[link] (https://sniffnet.net/news/process-identification/) [comments] (https://www.reddit.com/r/programming/comments/1r6iypm/one_of_the_most_annoying_programming_challenges/)
One of the most annoying programming challenges I've ever faced
https://www.reddit.com/r/programming/comments/1r6glv3/one_of_the_most_annoying_programming_challenges/
submitted by /u/GyulyVGC (https://www.reddit.com/user/GyulyVGC)
[link] (https://sniffnet.net/news/process-identification/) [comments] (https://www.reddit.com/r/programming/comments/1r6glv3/one_of_the_most_annoying_programming_challenges/)
PostgreSQL Bloat Is a Feature, Not a Bug
https://www.reddit.com/r/programming/comments/1r6cnn6/postgresql_bloat_is_a_feature_not_a_bug/
submitted by /u/mightyroger (https://www.reddit.com/user/mightyroger)
[link] (https://rogerwelin.github.io/2026/02/11/postgresql-bloat-is-a-feature-not-a-bug/) [comments] (https://www.reddit.com/r/programming/comments/1r6cnn6/postgresql_bloat_is_a_feature_not_a_bug/)
How I cheated on transactions. Or how to make tradeoffs based on my Cloudflare D1 support
https://www.reddit.com/r/programming/comments/1r68mwy/how_i_cheated_on_transactions_or_how_to_make/
submitted by /u/Adventurous-Salt8514 (https://www.reddit.com/user/Adventurous-Salt8514)
[link] (https://event-driven.io/en/cloudflare_d1_transactions_and_tradeoffs/) [comments] (https://www.reddit.com/r/programming/comments/1r68mwy/how_i_cheated_on_transactions_or_how_to_make/)
New Architecture Could Cut Quantum Hardware Needed to Break RSA-2048 by Tenfold, Study Finds
https://www.reddit.com/r/programming/comments/1r62p3i/new_architecture_could_cut_quantum_hardware/
submitted by /u/donutloop (https://www.reddit.com/user/donutloop)
[link] (https://thequantuminsider.com/2026/02/13/new-architecture-could-cut-quantum-hardware-needed-to-break-rsa-2048-by-tenfold-study-finds/) [comments] (https://www.reddit.com/r/programming/comments/1r62p3i/new_architecture_could_cut_quantum_hardware/)
How I Secured a .NET Minimal API Using JWT (Step-by-Step Explanation)
https://www.reddit.com/r/programming/comments/1r5xzhh/how_i_secured_a_net_minimal_api_using_jwt/
submitted by /u/digitaltechj (https://www.reddit.com/user/digitaltechj)
[link] (https://youtu.be/3S8wQnquxp8) [comments] (https://www.reddit.com/r/programming/comments/1r5xzhh/how_i_secured_a_net_minimal_api_using_jwt/)
How to Choose Between Hindley-Milner and Bidirectional Typing
https://www.reddit.com/r/programming/comments/1r5lg6n/how_to_choose_between_hindleymilner_and/
submitted by /u/thunderseethe (https://www.reddit.com/user/thunderseethe)
[link] (https://thunderseethe.dev/posts/how-to-choose-between-hm-and-bidir/) [comments] (https://www.reddit.com/r/programming/comments/1r5lg6n/how_to_choose_between_hindleymilner_and/)
The Interest Rate on Your Codebase: A Financial Framework for Technical Debt
https://www.reddit.com/r/programming/comments/1r7cyeg/the_interest_rate_on_your_codebase_a_financial/
submitted by /u/misterchiply (https://www.reddit.com/user/misterchiply)
[link] (https://www.chiply.dev/post-technical-debt) [comments] (https://www.reddit.com/r/programming/comments/1r7cyeg/the_interest_rate_on_your_codebase_a_financial/)
Pytorch Now Uses Pyrefly for Type Checking
https://www.reddit.com/r/programming/comments/1r777dn/pytorch_now_uses_pyrefly_for_type_checking/
<!-- SC_OFF -->From the official Pytorch blog: We’re excited to share that PyTorch now leverages Pyrefly to power type checking across our core repository, along with a number of projects in the PyTorch ecosystem: Helion, TorchTitan and Ignite. For a project the size of PyTorch, leveraging typing and type checking has long been essential for ensuring consistency and preventing common bugs that often go unnoticed in dynamic code. Migrating to Pyrefly brings a much needed upgrade to these development workflows, with lightning-fast, standards-compliant type checking and a modern IDE experience. With Pyrefly, our maintainers and contributors can catch bugs earlier, benefit from consistent results between local and CI runs, and take advantage of advanced typing features. In this blog post, we’ll share why we made this transition and highlight the improvements PyTorch has already experienced since adopting Pyrefly. Full blog post: https://pytorch.org/blog/pyrefly-now-type-checks-pytorch/ <!-- SC_ON --> submitted by /u/BeamMeUpBiscotti (https://www.reddit.com/user/BeamMeUpBiscotti)
[link] (https://pytorch.org/blog/pyrefly-now-type-checks-pytorch/) [comments] (https://www.reddit.com/r/programming/comments/1r777dn/pytorch_now_uses_pyrefly_for_type_checking/)
Webinar on how to build your own programming language in C++ from the developers of a static analyzer
https://www.reddit.com/r/programming/comments/1r76yj2/webinar_on_how_to_build_your_own_programming/
<!-- SC_OFF -->PVS-Studio presents a series of webinars on how to build your own programming language in C++. In the first session, PVS-Studio will go over what's inside the "black box". In clear and plain terms, they'll explain what a lexer, parser, a semantic analyzer, and an evaluator are. Yuri Minaev, C++ architect at PVS-Studio, will talk about what these components are, why they're needed, and how they work. Welcome to join (https://pvs-studio.com/en/webinar/23/?utm_source=reddit) <!-- SC_ON --> submitted by /u/Xadartt (https://www.reddit.com/user/Xadartt)
[link] (https://pvs-studio.com/en/webinar/23/?utm_source=reddit) [comments] (https://www.reddit.com/r/programming/comments/1r76yj2/webinar_on_how_to_build_your_own_programming/)
How would you design a Distributed Cache for a High-Traffic System?
https://www.reddit.com/r/programming/comments/1r72rzk/how_would_you_design_a_distributed_cache_for_a/
submitted by /u/javinpaul (https://www.reddit.com/user/javinpaul)
[link] (https://javarevisited.substack.com/p/how-would-you-design-a-distributed) [comments] (https://www.reddit.com/r/programming/comments/1r72rzk/how_would_you_design_a_distributed_cache_for_a/)
Runtime validation in type annotations
https://www.reddit.com/r/programming/comments/1r6zc2r/runtime_validation_in_type_annotations/
submitted by /u/Xadartt (https://www.reddit.com/user/Xadartt)
[link] (https://blog.natfu.be/validation-in-type-annotations/) [comments] (https://www.reddit.com/r/programming/comments/1r6zc2r/runtime_validation_in_type_annotations/)
State of Databases 2026
https://www.reddit.com/r/programming/comments/1r6x83p/state_of_databases_2026/
submitted by /u/dev_newsletter (https://www.reddit.com/user/dev_newsletter)
[link] (https://devnewsletter.com/p/state-of-databases-2026/) [comments] (https://www.reddit.com/r/programming/comments/1r6x83p/state_of_databases_2026/)
Common Async Coalescing Patterns
https://www.reddit.com/r/programming/comments/1r6pcec/common_async_coalescing_patterns/
submitted by /u/Happycodeine (https://www.reddit.com/user/Happycodeine)
[link] (https://0x1000000.medium.com/5-common-async-coalescing-patterns-db7b1cac1507?source=friends_link&sk=7d181a06c15d308485cbf6c205955907) [comments] (https://www.reddit.com/r/programming/comments/1r6pcec/common_async_coalescing_patterns/)
Synthetic data in 2026: separating the legitimate use cases from the expensive mistakes
https://www.reddit.com/r/programming/comments/1r6j1a8/synthetic_data_in_2026_separating_the_legitimate/
<!-- SC_OFF -->A technical reality check on GANs, diffusion models, and differential privacy - where the technology actually works vs. where it's still struggling. https://cybernews-node.blogspot.com/2026/02/synthetic-data-hype-horror-and.html <!-- SC_ON --> submitted by /u/No_Fisherman1212 (https://www.reddit.com/user/No_Fisherman1212)
[link] (https://cybernews-node.blogspot.com/2026/02/synthetic-data-hype-horror-and.html) [comments] (https://www.reddit.com/r/programming/comments/1r6j1a8/synthetic_data_in_2026_separating_the_legitimate/)
Type-based alias analysis in the Toy Optimizer
https://www.reddit.com/r/programming/comments/1r6is2r/typebased_alias_analysis_in_the_toy_optimizer/
submitted by /u/goldensyrupgames (https://www.reddit.com/user/goldensyrupgames)
[link] (https://bernsteinbear.com/blog/toy-tbaa/) [comments] (https://www.reddit.com/r/programming/comments/1r6is2r/typebased_alias_analysis_in_the_toy_optimizer/)
Read, then write: batching DB queries as a practical middle ground
https://www.reddit.com/r/programming/comments/1r6e3qm/read_then_write_batching_db_queries_as_a/
submitted by /u/Pozzuh (https://www.reddit.com/user/Pozzuh)
[link] (https://fragno.dev/blog/db-batching) [comments] (https://www.reddit.com/r/programming/comments/1r6e3qm/read_then_write_batching_db_queries_as_a/)
StackOverflow Programming Challenge #16: Change is the only constant
https://www.reddit.com/r/programming/comments/1r6b9ck/stackoverflow_programming_challenge_16_change_is/
submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://www.reddit.com/r/stackoverflow/comments/1r6b6kq/stackoverflow_programming_challenge_16_change_is/) [comments] (https://www.reddit.com/r/programming/comments/1r6b9ck/stackoverflow_programming_challenge_16_change_is/)
Why “Skip the Code, Ship the Binary” Is a Category Error
https://www.reddit.com/r/programming/comments/1r65ee0/why_skip_the_code_ship_the_binary_is_a_category/
<!-- SC_OFF -->So recently Elon Musk is floating the idea that by 2026 you “won’t even bother coding” because models will “create the binary directly”. This sounds futuristic until you stare at what compilers actually are. A compiler is already the “idea to binary” machine, except it has a formal language, a spec, deterministic transforms, and a pipeline built around checkability. Same inputs, same output. If it’s wrong, you get an error at a line and a reason. The “skip the code” pitch is basically saying: let’s remove the one layer that humans can read, diff, review, debug, and audit, and jump straight to the most fragile artifact in the whole stack. Cool. Now when something breaks, you don’t inspect logic, you just reroll the slot machine. Crash? regenerate. Memory corruption? regenerate. Security bug? regenerate harder. Software engineering, now with gacha mechanics. 🤡 Also, binary isn’t forgiving. Source code can be slightly wrong and your compiler screams at you. Binary can be one byte wrong and you get a ghost story: undefined behavior, silent corruption, “works on my machine” but in production it’s haunted...you all know that. The real category error here is mixing up two things: compilers are semantics-preserving transformers over formal systems, LLMs are stochastic text generators that need external verification to be trusted. If you add enough verification to make “direct binary generation” safe, congrats, you just reinvented the compiler toolchain, only with extra steps and less visibility. I wrote a longer breakdown on this because the “LLMs replaces coding” headlines miss what actually matters: verification, maintainability, and accountability. I am interested in hearing the steelman from anyone who’s actually shipped systems at scale. <!-- SC_ON --> submitted by /u/tirtha_s (https://www.reddit.com/user/tirtha_s)
[link] (https://open.substack.com/pub/engrlog/p/why-skip-the-code-ship-the-binary?r=779hy&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true) [comments] (https://www.reddit.com/r/programming/comments/1r65ee0/why_skip_the_code_ship_the_binary_is_a_category/)
Regular Expression Matching Can Be Simple And Fast (but is slow in Java, Perl, PHP, Python, Ruby, …)
https://www.reddit.com/r/programming/comments/1r5zkb8/regular_expression_matching_can_be_simple_and/
<!-- SC_OFF -->The article contrasts backtracking implementations (common in many mainstream languages) with Thompson NFA-based engines and shows how certain patterns can lead to catastrophic exponential behavior. It includes benchmarks and a simplified implementation explanation. Even though it’s from 2007, the performance trade-offs and algorithmic discussion are still relevant today. <!-- SC_ON --> submitted by /u/Digitalunicon (https://www.reddit.com/user/Digitalunicon)
[link] (https://swtch.com/~rsc/regexp/regexp1.html) [comments] (https://www.reddit.com/r/programming/comments/1r5zkb8/regular_expression_matching_can_be_simple_and/)
How Michael Abrash doubled Quake framerate
https://www.reddit.com/r/programming/comments/1r5ni65/how_michael_abrash_doubled_quake_framerate/
submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://fabiensanglard.net/quake_asm_optimizations/index.html) [comments] (https://www.reddit.com/r/programming/comments/1r5ni65/how_michael_abrash_doubled_quake_framerate/)
AI to stay in Flow - a personal decision on how I chose to (not) use AI
https://www.reddit.com/r/programming/comments/1r5l0p9/ai_to_stay_in_flow_a_personal_decision_on_how_i/
<!-- SC_OFF -->👋 This is a bit different take on programming with AI, instead of going more in the vibecoding direction, I'll try to use AI to stay get into the "zone", into the flow state. I'd love to hear other ideas how AI can be used in a way to empower us instead taking away. How can AI leave the hard parts to us, but give us better focus on it? <!-- SC_ON --> submitted by /u/shrupixd (https://www.reddit.com/user/shrupixd)
[link] (https://www.dev-log.me/ai_to_stay_in_flow/) [comments] (https://www.reddit.com/r/programming/comments/1r5l0p9/ai_to_stay_in_flow_a_personal_decision_on_how_i/)