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

Benchmarking Claude C Compiler
https://www.reddit.com/r/programming/comments/1r0umpp/benchmarking_claude_c_compiler/

<!-- SC_OFF -->I conducted a benchmark comparing GCC against Claude’s C Compiler (CCC), an AI-generated compiler created by Claude Opus 4.6. Using a non-trivial Turing machine simulator as our test program, I evaluated correctness, execution performance, microarchitectural efficiency, and assembly code quality. Key Findings: 100% Correctness: CCC produces functionally identical output across all test cases 2.76x Performance Gap: CCC-compiled binaries run slower than GCC -O2 but 12% faster than GCC -O0 3.3x Instruction Overhead: CCC generates significantly more instructions due to limited optimization Surprisingly High IPC: Despite verbosity, CCC achieves 4.89 instructions per cycle vs GCC’s 4.13 <!-- SC_ON --> submitted by /u/no1_2021 (https://www.reddit.com/user/no1_2021)
[link] (https://dineshgdk.substack.com/p/benchmarking-claude-c-compiler) [comments] (https://www.reddit.com/r/programming/comments/1r0umpp/benchmarking_claude_c_compiler/)

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

Reddit Programming

What Functional Programmers Get Wrong About Systems
https://www.reddit.com/r/programming/comments/1r0rs0d/what_functional_programmers_get_wrong_about/

submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://www.iankduncan.com/engineering/2026-02-09-what-functional-programmers-get-wrong-about-systems/) [comments] (https://www.reddit.com/r/programming/comments/1r0rs0d/what_functional_programmers_get_wrong_about/)

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

Reddit Programming

Building a CDN from Scratch
https://www.reddit.com/r/programming/comments/1r0at22/building_a_cdn_from_scratch/

submitted by /u/GuavaZealousideal135 (https://www.reddit.com/user/GuavaZealousideal135)
[link] (https://medium.com/gitconnected/building-a-cdn-from-scratch-ddd246cfab8b) [comments] (https://www.reddit.com/r/programming/comments/1r0at22/building_a_cdn_from_scratch/)

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

Reddit Programming

Three Cache Layers Between SELECT and disk
https://www.reddit.com/r/programming/comments/1r04ocl/three_cache_layers_between_select_and_disk/

submitted by /u/Best_Negotiation_801 (https://www.reddit.com/user/Best_Negotiation_801)
[link] (https://frn.sh/iops/) [comments] (https://www.reddit.com/r/programming/comments/1r04ocl/three_cache_layers_between_select_and_disk/)

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

Reddit Programming

Hamming Distance for Hybrid Search in SQLite
https://www.reddit.com/r/programming/comments/1qzy3a2/hamming_distance_for_hybrid_search_in_sqlite/

submitted by /u/Opposite-Gur9623 (https://www.reddit.com/user/Opposite-Gur9623)
[link] (https://notnotp.com/notes/hamming-distance-for-hybrid-search-in-sqlite/) [comments] (https://www.reddit.com/r/programming/comments/1qzy3a2/hamming_distance_for_hybrid_search_in_sqlite/)

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

Reddit Programming

Technical writeup: Implementing Discord’s rate limiting, gateway management, and “clarity over magic”
https://www.reddit.com/r/programming/comments/1qzajdj/technical_writeup_implementing_discords_rate/

<!-- SC_OFF -->I wrote a deep technical breakdown of implementing Discord's rate limiting and gateway management in a minimal Python client. Discord's rate limiting is tricky: endpoints share limits via opaque "buckets" whose IDs are only revealed after a request. Instead of reacting to 429s, the design uses per-endpoint queues and workers that proactively sleep when limits are exhausted, keeping behavior explicit and predictable. The writeup also covers gateway connection management, automatic sharding, and data model design, with diagrams for each subsystem. The examples come from a small Discord API client I wrote (ScurryPy), but the focus is on the underlying problems and solutions rather than the library itself. "Clarity over magic" here means that all behavior: rate limiting, state changes, retries, is explicit, with no hidden background work or inferred intent. Happy to answer questions about the implementation or design tradeoffs <!-- SC_ON --> submitted by /u/Furmissle5567 (https://www.reddit.com/user/Furmissle5567)
[link] (https://scurry-works.github.io/scurrypy/internals/technical_writeup/) [comments] (https://www.reddit.com/r/programming/comments/1qzajdj/technical_writeup_implementing_discords_rate/)

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

Reddit Programming

AI Makes the Easy Part Easier and the Hard Part Harder
https://www.reddit.com/r/programming/comments/1qz5g7g/ai_makes_the_easy_part_easier_and_the_hard_part/

submitted by /u/BlunderGOAT (https://www.reddit.com/user/BlunderGOAT)
[link] (https://www.blundergoat.com/articles/ai-makes-the-easy-part-easier-and-the-hard-part-harder) [comments] (https://www.reddit.com/r/programming/comments/1qz5g7g/ai_makes_the_easy_part_easier_and_the_hard_part/)

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

Reddit Programming

SectorC: The world’s smallest functional C compiler
https://www.reddit.com/r/programming/comments/1qz3kav/sectorc_the_worlds_smallest_functional_c_compiler/

submitted by /u/peterv50 (https://www.reddit.com/user/peterv50)
[link] (https://xorvoid.com/sectorc.html) [comments] (https://www.reddit.com/r/programming/comments/1qz3kav/sectorc_the_worlds_smallest_functional_c_compiler/)

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

Reddit Programming

Deep dive into Hierarchical Navigable Small Worlds
https://www.reddit.com/r/programming/comments/1qz1mu2/deep_dive_into_hierarchical_navigable_small_worlds/

submitted by /u/amandeepspdhr (https://www.reddit.com/user/amandeepspdhr)
[link] (https://amandeepsp.github.io/blog/hnsw/) [comments] (https://www.reddit.com/r/programming/comments/1qz1mu2/deep_dive_into_hierarchical_navigable_small_worlds/)

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

Reddit Programming

How Google Finds Websites (It’s Not Magic)
https://www.reddit.com/r/programming/comments/1qyztns/how_google_finds_websites_its_not_magic/

submitted by /u/Sushant098123 (https://www.reddit.com/user/Sushant098123)
[link] (https://sushantdhiman.dev/how-search-engines-explore-the-entire/) [comments] (https://www.reddit.com/r/programming/comments/1qyztns/how_google_finds_websites_its_not_magic/)

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

Reddit Programming

The silent death of Good Code
https://www.reddit.com/r/programming/comments/1qyytvj/the_silent_death_of_good_code/

submitted by /u/10ForwardShift (https://www.reddit.com/user/10ForwardShift)
[link] (https://amit.prasad.me/blog/rip-good-code) [comments] (https://www.reddit.com/r/programming/comments/1qyytvj/the_silent_death_of_good_code/)

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

Reddit Programming

Agentic Coding and the Problem of Oracles
https://www.reddit.com/r/programming/comments/1qylmkz/agentic_coding_and_the_problem_of_oracles/

submitted by /u/qingsworkshop (https://www.reddit.com/user/qingsworkshop)
[link] (https://open.substack.com/pub/epkconsulting/p/agentic-coding-and-the-problem-of?utm_source=share&amp;utm_medium=android&amp;r=65s0d) [comments] (https://www.reddit.com/r/programming/comments/1qylmkz/agentic_coding_and_the_problem_of_oracles/)

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

Reddit Programming

Implementing Token-to-Credit Conversion for AI Services: An Integer Arithmetic Approach
https://www.reddit.com/r/programming/comments/1qyjaam/implementing_tokentocredit_conversion_for_ai/

<!-- SC_OFF -->I recently implemented a billing system that converts AI token usage (like from AWS Nova or similar services) into a credit-based system. The biggest challenge was avoiding floating-point precision errors that compound over millions of API calls. The solution uses three layers of integer scaling: Price scaling (multiply fractional dollars by 1,000,000) Credit conversion ($1.00 = 1,000 credits) Per million token base denominator The article includes worked examples showing exactly how 5,000 input tokens + 2,000 output tokens get converted to credits, plus the rounding logic for edge cases. This approach gives you deterministic results across platforms and makes audit trails trivial since every intermediate value is an exact integer. <!-- SC_ON --> submitted by /u/lasan0432G (https://www.reddit.com/user/lasan0432G)
[link] (https://app.writtte.com/read/xLYQnGS) [comments] (https://www.reddit.com/r/programming/comments/1qyjaam/implementing_tokentocredit_conversion_for_ai/)

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

Reddit Programming

Python Only Has One Real Competitor
https://www.reddit.com/r/programming/comments/1qyhci6/python_only_has_one_real_competitor/

submitted by /u/bowbahdoe (https://www.reddit.com/user/bowbahdoe)
[link] (https://mccue.dev/pages/2-6-26-python-competitor) [comments] (https://www.reddit.com/r/programming/comments/1qyhci6/python_only_has_one_real_competitor/)

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

Reddit Programming

How to Make Package Managers Scream (FOSDEM'26)
https://www.reddit.com/r/programming/comments/1qycgst/how_to_make_package_managers_scream_fosdem26/

submitted by /u/boegel (https://www.reddit.com/user/boegel)
[link] (https://youtu.be/PBlDHlFnzGo) [comments] (https://www.reddit.com/r/programming/comments/1qycgst/how_to_make_package_managers_scream_fosdem26/)

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

Reddit Programming

AI Coding Is a Framework—Use It Like a Library
https://www.reddit.com/r/programming/comments/1r0tgxe/ai_coding_is_a_frameworkuse_it_like_a_library/

submitted by /u/piglei (https://www.reddit.com/user/piglei)
[link] (https://www.piglei.com/articles/en-ai-coding-is-a-framework/) [comments] (https://www.reddit.com/r/programming/comments/1r0tgxe/ai_coding_is_a_frameworkuse_it_like_a_library/)

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

Reddit Programming

Atari 2600 Raiders of the Lost Ark source code completely disassembled and reverse engineered. Every line fully commented.
https://www.reddit.com/r/programming/comments/1r0foef/atari_2600_raiders_of_the_lost_ark_source_code/

<!-- SC_OFF -->This project started out to see what was the maximum points you needed to "touch" the Ark at the end of the game. (Note: you can't) and it kind of spiraled out from there. Now I'm contemplating porting this game to another 6502 machine or even PC with better graphics... (I'm leaning into a PC port) I'll probably call it "Colorado Smith and the legally distinct Looters of the missing Holy Box" or something... Anyways Enjoy a romp into the internals of the Atari 2600 and how a "big" game of the time (8K!) was put together with bank switching. Please comment! I need the self-validation as this project took an embarrassing amount of time to complete! <!-- SC_ON --> submitted by /u/halkun (https://www.reddit.com/user/halkun)
[link] (https://github.com/joshuanwalker/Raiders2600/) [comments] (https://www.reddit.com/r/programming/comments/1r0foef/atari_2600_raiders_of_the_lost_ark_source_code/)

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

Reddit Programming

Creating Momentum with The Value Flywheel Effect • David Anderson
https://www.reddit.com/r/programming/comments/1r054e8/creating_momentum_with_the_value_flywheel_effect/

submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/i93i6XVcrvU?list=PLEx5khR4g7PJy5LslEV6EbSEhmw-88ezL) [comments] (https://www.reddit.com/r/programming/comments/1r054e8/creating_momentum_with_the_value_flywheel_effect/)

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

Reddit Programming

Fabrice Bellard: Big Name With Groundbreaking Achievements.
https://www.reddit.com/r/programming/comments/1qzy52n/fabrice_bellard_big_name_with_groundbreaking/

submitted by /u/schmul112 (https://www.reddit.com/user/schmul112)
[link] (https://www.ipaidia.gr/wp-content/uploads/2020/12/117-2020-fabrice-bellard.pdf) [comments] (https://www.reddit.com/r/programming/comments/1qzy52n/fabrice_bellard_big_name_with_groundbreaking/)

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

Reddit Programming

C and Undefined Behavior
https://www.reddit.com/r/programming/comments/1qzi4t2/c_and_undefined_behavior/

submitted by /u/lelanthran (https://www.reddit.com/user/lelanthran)
[link] (https://www.lelanthran.com/chap14/content.html) [comments] (https://www.reddit.com/r/programming/comments/1qzi4t2/c_and_undefined_behavior/)

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

Reddit Programming

Lance table format explained simply, stupid
https://www.reddit.com/r/programming/comments/1qz81cn/lance_table_format_explained_simply_stupid/

submitted by /u/TonTinTon (https://www.reddit.com/user/TonTinTon)
[link] (https://tontinton.com/posts/lance/) [comments] (https://www.reddit.com/r/programming/comments/1qz81cn/lance_table_format_explained_simply_stupid/)

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

Reddit Programming

How to Reduce Telemetry Volume by 40% Smartly
https://www.reddit.com/r/programming/comments/1qz4s6j/how_to_reduce_telemetry_volume_by_40_smartly/

<!-- SC_OFF -->Hi! I recently wrote this article to document different ways applications, when instrumented with OpenTelemetry, tend to produce telemetry surplus/ excess and ways to mitigate this. Some ways mentioned in the blog include the following, - URL Path and target attributes
- Controller spans
- Thread name in run-time telemetry
- Duplicate Library Instrumentation
- JDBC and Kafka Internal Signals
- Scheduler and Periodic Jobs as well as touched upon ways to mitigate this, both upstream and downstream. If this article interests you, subscribe for more OTel optimisation content :) <!-- SC_ON --> submitted by /u/elizObserves (https://www.reddit.com/user/elizObserves)
[link] (https://newsletter.signoz.io/p/is-your-opentelemetry-auto-instrumented) [comments] (https://www.reddit.com/r/programming/comments/1qz4s6j/how_to_reduce_telemetry_volume_by_40_smartly/)

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

Reddit Programming

Golang over Python discussion
https://www.reddit.com/r/programming/comments/1qz2mh8/golang_over_python_discussion/

<!-- SC_OFF -->Why python over golang? Current on my first year of mechatronics looking to expand and get ahead. I just bought a Jetson Orin nano I would like to start tinkering with. I understand python is the right now for almost every industry but from research I done I feel like golang really got more potential overall/scalability. Would love to hear from people in this space. <!-- SC_ON --> submitted by /u/Ok-Satisfaction945 (https://www.reddit.com/user/Ok-Satisfaction945)
[link] (https://go.dev/) [comments] (https://www.reddit.com/r/programming/comments/1qz2mh8/golang_over_python_discussion/)

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

Reddit Programming

Signal Tracker: open source Python framework for tracking predictions and scoring accuracy
https://www.reddit.com/r/programming/comments/1qz03tz/signal_tracker_open_source_python_framework_for/

<!-- SC_OFF -->I open sourced the prediction tracking framework behind my platform that uses multi model AI consensus to verify claims from 420+ public figures and media outlets. The core problem: everyone makes predictions, nobody tracks them systematically. This library gives you the infrastructure to do it. Features: prediction tracking with time bounds, accuracy scoring (simple, windowed, recency weighted), text extraction of claims using regex or LLMs, multi model consensus verification, leaderboards, SQLite persistence, and claim quality scoring. Design decisions: Zero dependencies (stdlib only, LLM integrations are optional) Plain dataclasses everywhere (no ORM) SHA-256 hashing for tamper detection on claims Pluggable storage (JSON, SQLite, or implement the abstract base) Model agnostic LLM integration via simple function signature pip install signal-tracker GitHub: https://github.com/Creneinc/signal-tracker <!-- SC_ON --> submitted by /u/Fragrant-Shine7024 (https://www.reddit.com/user/Fragrant-Shine7024)
[link] (https://github.com/Creneinc/signal-tracker) [comments] (https://www.reddit.com/r/programming/comments/1qz03tz/signal_tracker_open_source_python_framework_for/)

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

Reddit Programming

How Odin perfected simplicity
https://www.reddit.com/r/programming/comments/1qyyxj0/how_odin_perfected_simplicity/

submitted by /u/BlueGoliath (https://www.reddit.com/user/BlueGoliath)
[link] (https://www.youtube.com/watch?v=OxLkEMAhF3g) [comments] (https://www.reddit.com/r/programming/comments/1qyyxj0/how_odin_perfected_simplicity/)

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

Reddit Programming

Let's compile Quake like it's 1997!
https://www.reddit.com/r/programming/comments/1qyo5o2/lets_compile_quake_like_its_1997/

submitted by /u/NXGZ (https://www.reddit.com/user/NXGZ)
[link] (https://fabiensanglard.net/compile_like_1997/index.html) [comments] (https://www.reddit.com/r/programming/comments/1qyo5o2/lets_compile_quake_like_its_1997/)

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

Reddit Programming

Beyond agentic coding
https://www.reddit.com/r/programming/comments/1qyjria/beyond_agentic_coding/

submitted by /u/Tekmo (https://www.reddit.com/user/Tekmo)
[link] (https://haskellforall.com/2026/02/beyond-agentic-coding) [comments] (https://www.reddit.com/r/programming/comments/1qyjria/beyond_agentic_coding/)

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

Reddit Programming

Running Clojure inside SwiftUI
https://www.reddit.com/r/programming/comments/1qyim9d/running_clojure_inside_swiftui/

submitted by /u/Safe_Owl_6123 (https://www.reddit.com/user/Safe_Owl_6123)
[link] (https://youtube.com/watch?v=vOH_OlqHpXA&amp;si=UAVYG3DSdGGwU0F5) [comments] (https://www.reddit.com/r/programming/comments/1qyim9d/running_clojure_inside_swiftui/)

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

Reddit Programming

The Impatient Programmer's Guide to Bevy and Rust: Chapter 2 - Let There Be a World [Procedural Generation]
https://www.reddit.com/r/programming/comments/1qydckx/the_impatient_programmers_guide_to_bevy_and_rust/

<!-- SC_OFF -->Tutorial Link (https://aibodh.com/posts/bevy-rust-game-development-chapter-2/) Chapter 2 - Let There Be a World [Procedural Generation] This chapter teaches you procedural world generation using Wave Function Collapse and Bevy. A layered terrain system where tiles snap together based on simple rules. You'll create landscapes with dirt, grass, water, and decorative props. By the end, you'll understand how simple constraint rules generate natural-looking game worlds and how tweaking few parameters lead to a lot of variety. It also gently touches on rust concepts like references, lifetimes, closures, generic and trait bound. <!-- SC_ON --> submitted by /u/febinjohnjames (https://www.reddit.com/user/febinjohnjames)
[link] (https://aibodh.com/posts/bevy-rust-game-development-chapter-2/) [comments] (https://www.reddit.com/r/programming/comments/1qydckx/the_impatient_programmers_guide_to_bevy_and_rust/)

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

Reddit Programming

LLMs as natural language compilers: What the history of FORTRAN tells us about the future of coding.
https://www.reddit.com/r/programming/comments/1qybp5l/llms_as_natural_language_compilers_what_the/

submitted by /u/benrules2 (https://www.reddit.com/user/benrules2)
[link] (https://cyber-omelette.com/posts/the-abstraction-rises.html) [comments] (https://www.reddit.com/r/programming/comments/1qybp5l/llms_as_natural_language_compilers_what_the/)

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