212
I will send you newest post from subreddit /r/programming
URLSession to Electrons: how networking works under the hood
https://www.reddit.com/r/programming/comments/1tavw25/urlsession_to_electrons_how_networking_works/
submitted by /u/jacobs-tech-tavern (https://www.reddit.com/user/jacobs-tech-tavern)
[link] (https://blog.jacobstechtavern.com/p/urlsession-to-electrons) [comments] (https://www.reddit.com/r/programming/comments/1tavw25/urlsession_to_electrons_how_networking_works/)
Recursion and the STP Macro Processor
https://www.reddit.com/r/programming/comments/1tau199/recursion_and_the_stp_macro_processor/
submitted by /u/ADavison2560 (https://www.reddit.com/user/ADavison2560)
[link] (https://coe.psu.ac.th/ad/macros/) [comments] (https://www.reddit.com/r/programming/comments/1tau199/recursion_and_the_stp_macro_processor/)
Roc & Zig: A Compiler Rewrite Story • Anjana Vakil & Richard Feldman
https://www.reddit.com/r/programming/comments/1ta3gf1/roc_zig_a_compiler_rewrite_story_anjana_vakil/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/XSXGf3oN2yU?list=PLEx5khR4g7PJozVmHNpQTVrk1QRC7YaJu) [comments] (https://www.reddit.com/r/programming/comments/1ta3gf1/roc_zig_a_compiler_rewrite_story_anjana_vakil/)
CUDA Proves Nvidia Is a Software Company
https://www.reddit.com/r/programming/comments/1ta0z1j/cuda_proves_nvidia_is_a_software_company/
submitted by /u/Interesting_Pack_483 (https://www.reddit.com/user/Interesting_Pack_483)
[link] (https://www.wired.com/story/cuda-proves-nvidia-is-a-software-company/) [comments] (https://www.reddit.com/r/programming/comments/1ta0z1j/cuda_proves_nvidia_is_a_software_company/)
The FreeBSD vulnerability "discovered" by Mythos was already in its training data.
https://www.reddit.com/r/programming/comments/1t9rl27/the_freebsd_vulnerability_discovered_by_mythos/
submitted by /u/Gil_berth (https://www.reddit.com/user/Gil_berth)
[link] (https://rival.security/posts/mythos-discovered-a-cve-already-in-its-training-data---and-thats-still-worrying) [comments] (https://www.reddit.com/r/programming/comments/1t9rl27/the_freebsd_vulnerability_discovered_by_mythos/)
Replacing a 3 GB SQLite database with a 10 MB FST
https://www.reddit.com/r/programming/comments/1t98wxr/replacing_a_3_gb_sqlite_database_with_a_10_mb_fst/
submitted by /u/Either_Collection349 (https://www.reddit.com/user/Either_Collection349)
[link] (https://til.andrew-quinn.me/posts/replacing-a-3-gb-sqlite-database-with-a-7-mb-fst-finite-state-trandsucer-binary/) [comments] (https://www.reddit.com/r/programming/comments/1t98wxr/replacing_a_3_gb_sqlite_database_with_a_10_mb_fst/)
Making your own programming language is easier than you think (but also harder)
https://www.reddit.com/r/programming/comments/1t98rno/making_your_own_programming_language_is_easier/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://lisyarus.github.io/blog/posts/making-your-own-programming-language.html) [comments] (https://www.reddit.com/r/programming/comments/1t98rno/making_your_own_programming_language_is_easier/)
How Go turns your source code into a binary: a practical deep dive into the compiler pipeline
https://www.reddit.com/r/programming/comments/1t98gpa/how_go_turns_your_source_code_into_a_binary_a/
<!-- SC_OFF -->Ever wondered why some allocations happen on the heap and others stay on the stack? Why certain calls get inlined but others don't? Why loop structure changes assembly output? This is a full walkthrough of Go's compiler pipeline: lexing, parsing, type checking, IR lowering, SSA construction, optimization passes (inlining, escape analysis, bounds-check elimination), and code generation. Includes concrete tools and experiments you can run today (GOSSAFUNC, -m, -S) to observe each phase yourself. <!-- SC_ON --> submitted by /u/OtherwisePush6424 (https://www.reddit.com/user/OtherwisePush6424)
[link] (https://blog.gaborkoos.com/posts/2026-05-08-The-Go-Compiler-a-Deep-Dive-Into-How-Your-Code-Becomes-a-Binary/?utm_source=reddit&utm_medium=social&utm_campaign=the-go-compiler-a-deep-dive-into-how-your-code-becomes-a-binary&utm_content=r_programming) [comments] (https://www.reddit.com/r/programming/comments/1t98gpa/how_go_turns_your_source_code_into_a_binary_a/)
What if the browser was the server? Go compiled to WASM and SQLite, running entirely in the browser's tab. No server, no account
https://www.reddit.com/r/programming/comments/1t94l80/what_if_the_browser_was_the_server_go_compiled_to/
<!-- SC_OFF -->I've been thinking about how most personal productivity tools are SaaS for business reasons, not technical ones. A time tracker, journaling app or habit tracker has no reason to store your data on a remote server. WASM changes this. You can compile a backend in any language and ship it directly to the user's browser. SQLite can run there too, storing data persistently via OPFS, a filesystem API the browser now ships with. The whole thing is delivered via a URL and runs entirely on the user's machine. No server, no account, no subscription. <!-- SC_ON --> submitted by /u/quirissum (https://www.reddit.com/user/quirissum)
[link] (https://arthurcornil.com/blog/ship-it-to-the-user/) [comments] (https://www.reddit.com/r/programming/comments/1t94l80/what_if_the_browser_was_the_server_go_compiled_to/)
Pell Equation Over a Finite Field in C
https://www.reddit.com/r/programming/comments/1t934m0/pell_equation_over_a_finite_field_in_c/
submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/pell-equation-over-a-finite-field) [comments] (https://www.reddit.com/r/programming/comments/1t934m0/pell_equation_over_a_finite_field_in_c/)
Against Query Based Compilers
https://www.reddit.com/r/programming/comments/1t8oq9k/against_query_based_compilers/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://matklad.github.io/2026/02/25/against-query-based-compilers.html) [comments] (https://www.reddit.com/r/programming/comments/1t8oq9k/against_query_based_compilers/)
How events can help in making the state-based approach efficient
https://www.reddit.com/r/programming/comments/1t7zdyt/how_events_can_help_in_making_the_statebased/
submitted by /u/Adventurous-Salt8514 (https://www.reddit.com/user/Adventurous-Salt8514)
[link] (https://event-driven.io/en/how_events_can_help_on_making_state_based_approach_efficient/) [comments] (https://www.reddit.com/r/programming/comments/1t7zdyt/how_events_can_help_in_making_the_statebased/)
Bjarne Stroustrup: How do I deal with memory leaks? By writing code that doesn't have any.
https://www.reddit.com/r/programming/comments/1t7ax31/bjarne_stroustrup_how_do_i_deal_with_memory_leaks/
submitted by /u/someone-very-cool (https://www.reddit.com/user/someone-very-cool)
[link] (https://www.stroustrup.com/bs_faq2.html#memory-leaks) [comments] (https://www.reddit.com/r/programming/comments/1t7ax31/bjarne_stroustrup_how_do_i_deal_with_memory_leaks/)
Google Cloud Fraud Defence is just WEI repackaged
https://www.reddit.com/r/programming/comments/1t78cgt/google_cloud_fraud_defence_is_just_wei_repackaged/
submitted by /u/ribtoks (https://www.reddit.com/user/ribtoks)
[link] (https://privatecaptcha.com/blog/google-cloud-fraud-defence-wei/) [comments] (https://www.reddit.com/r/programming/comments/1t78cgt/google_cloud_fraud_defence_is_just_wei_repackaged/)
How we made Notion available offline
https://www.reddit.com/r/programming/comments/1t6y6o1/how_we_made_notion_available_offline/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://www.notion.com/blog/how-we-made-notion-available-offline) [comments] (https://www.reddit.com/r/programming/comments/1t6y6o1/how_we_made_notion_available_offline/)
Abstract machines for logic programs
https://www.reddit.com/r/programming/comments/1tauw5t/abstract_machines_for_logic_programs/
submitted by /u/Dear-Economics-315 (https://www.reddit.com/user/Dear-Economics-315)
[link] (https://chrisistyping.bearblog.dev/abstract-machines-for-logic-programs/) [comments] (https://www.reddit.com/r/programming/comments/1tauw5t/abstract_machines_for_logic_programs/)
Mass npm Supply Chain Attack Hits TanStack, Mistral AI, and 170+ Packages
https://www.reddit.com/r/programming/comments/1tapmvi/mass_npm_supply_chain_attack_hits_tanstack/
<!-- SC_OFF -->massive campaign for 170+ packages and 400+ malicious versions published. what we saw that not a single maintainer account compromised. tanStack and Mistral AI these are the names that stand out. <!-- SC_ON --> submitted by /u/BattleRemote3157 (https://www.reddit.com/user/BattleRemote3157)
[link] (https://safedep.io/mass-npm-supply-chain-attack-tanstack-mistral/) [comments] (https://www.reddit.com/r/programming/comments/1tapmvi/mass_npm_supply_chain_attack_hits_tanstack/)
Branch-Avoidant Quicksort in C - faster than std::sort and pdqsort
https://www.reddit.com/r/programming/comments/1ta25is/branchavoidant_quicksort_in_c_faster_than_stdsort/
submitted by /u/chkas (https://www.reddit.com/user/chkas)
[link] (https://easylang.online/blog/qsort) [comments] (https://www.reddit.com/r/programming/comments/1ta25is/branchavoidant_quicksort_in_c_faster_than_stdsort/)
Package Manager CWEs
https://www.reddit.com/r/programming/comments/1t9wmeq/package_manager_cwes/
submitted by /u/lelanthran (https://www.reddit.com/user/lelanthran)
[link] (https://nesbitt.io/2026/05/04/package-manager-cwes.html) [comments] (https://www.reddit.com/r/programming/comments/1t9wmeq/package_manager_cwes/)
The Bottom-up Building of a Language for Subleq with Text Macros
https://www.reddit.com/r/programming/comments/1t9qp57/the_bottomup_building_of_a_language_for_subleq/
submitted by /u/ADavison2560 (https://www.reddit.com/user/ADavison2560)
[link] (https://coe.psu.ac.th/ad/subleq/) [comments] (https://www.reddit.com/r/programming/comments/1t9qp57/the_bottomup_building_of_a_language_for_subleq/)
Idempotency Is Easy Until the Second Request Is Different
https://www.reddit.com/r/programming/comments/1t98whm/idempotency_is_easy_until_the_second_request_is/
submitted by /u/Either_Collection349 (https://www.reddit.com/user/Either_Collection349)
[link] (https://blog.dochia.dev/blog/idempotency/) [comments] (https://www.reddit.com/r/programming/comments/1t98whm/idempotency_is_easy_until_the_second_request_is/)
COBOL is the Asbestos of Programming Languages
https://www.reddit.com/r/programming/comments/1t98jcn/cobol_is_the_asbestos_of_programming_languages/
submitted by /u/Interesting_Pack_483 (https://www.reddit.com/user/Interesting_Pack_483)
[link] (https://www.wired.com/story/cobol-is-the-asbestos-of-programming-languages/) [comments] (https://www.reddit.com/r/programming/comments/1t98jcn/cobol_is_the_asbestos_of_programming_languages/)
Construct with Collaborators, Call with Work
https://www.reddit.com/r/programming/comments/1t97ffr/construct_with_collaborators_call_with_work/
submitted by /u/ghled (https://www.reddit.com/user/ghled)
[link] (https://testing.googleblog.com/2026/05/construct-with-collaborators-call-with.html) [comments] (https://www.reddit.com/r/programming/comments/1t97ffr/construct_with_collaborators_call_with_work/)
snakes.run: rendering 100M pixels a second over ssh · eieio.games
https://www.reddit.com/r/programming/comments/1t93crv/snakesrun_rendering_100m_pixels_a_second_over_ssh/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://eieio.games/blog/secure-massively-multiplayer-snake/) [comments] (https://www.reddit.com/r/programming/comments/1t93crv/snakesrun_rendering_100m_pixels_a_second_over_ssh/)
wgsl.run - a WGSL sandbox with live WebGPU preview
https://www.reddit.com/r/programming/comments/1t8zlr8/wgslrun_a_wgsl_sandbox_with_live_webgpu_preview/
<!-- SC_OFF -->Live editor for WGSL with a WebGPU canvas underneath: type a shader, hit run, see it draw. Multi-file projects, share-via-URL, host JS override, OPFS-persisted. Underneath: libwgsl — a from-scratch C99 WGSL frontend (lex / parse / resolve / const-eval / typecheck / validate). ~0.37 ms / Kloc warm parse, no dependencies, MIT. Sandbox: https://wgsl.run (https://wgsl.run/) Source: https://github.com/toprakdeviren/libwgsl VS Code: https://marketplace.visualstudio.com/items?itemName=toprakdeviren.wgsl-run <!-- SC_ON --> submitted by /u/BigAd4703 (https://www.reddit.com/user/BigAd4703)
[link] (https://wgsl.run/) [comments] (https://www.reddit.com/r/programming/comments/1t8zlr8/wgslrun_a_wgsl_sandbox_with_live_webgpu_preview/)
Bun’s rewrite from Zig to Rust passes 99.8% of testsuite
https://www.reddit.com/r/programming/comments/1t8n0vl/buns_rewrite_from_zig_to_rust_passes_998_of/
<!-- SC_OFF -->per @jarredsumner: 99.8% of bun’s pre-existing test suite passes on Linux x64 glibc in the rust rewrite it’s basically the same codebase except now we can have the compiler enforce the lifetimes of types and we get destructors when we want them. and the ugly parts look uglier (unsafe) which encourages refactoring. why: I am so tired of worrying about & spending lots of time fixing memory leaks and crashes and stability issues. it would be so nice if the language provided more powerful tools for preventing these things. But how long does it take to compile? It’s basically the same as in zig using our faster zig compiler. If we were using the upstream zig compiler, rust port would compile faster <!-- SC_ON --> submitted by /u/read_volatile (https://www.reddit.com/user/read_volatile)
[link] (https://xcancel.com/jarredsumner/status/2053047748191232310) [comments] (https://www.reddit.com/r/programming/comments/1t8n0vl/buns_rewrite_from_zig_to_rust_passes_998_of/)
The two kinds of error
https://www.reddit.com/r/programming/comments/1t7vicb/the_two_kinds_of_error/
submitted by /u/fagnerbrack (https://www.reddit.com/user/fagnerbrack)
[link] (https://evanhahn.com/the-two-kinds-of-error/) [comments] (https://www.reddit.com/r/programming/comments/1t7vicb/the_two_kinds_of_error/)
NVIDIA releases CUDA-Oxide 0.1 for experimental Rust-to-CUDA compiler
https://www.reddit.com/r/programming/comments/1t7a8f0/nvidia_releases_cudaoxide_01_for_experimental/
submitted by /u/Fcking_Chuck (https://www.reddit.com/user/Fcking_Chuck)
[link] (https://www.phoronix.com/news/NVIDIA-CUDA-Oxide-0.1) [comments] (https://www.reddit.com/r/programming/comments/1t7a8f0/nvidia_releases_cudaoxide_01_for_experimental/)
Implementing a type-safe, compile-time Builder in D
https://www.reddit.com/r/programming/comments/1t6y9iw/implementing_a_typesafe_compiletime_builder_in_d/
<!-- SC_OFF -->This blog post shows how to use D's compile-time features to put together to implement the Builder pattern with minimal run-time overhead. <!-- SC_ON --> submitted by /u/aldacron (https://www.reddit.com/user/aldacron)
[link] (https://blog.dlang.org/2026/05/05/the-amazing-compile-time-state-machine/) [comments] (https://www.reddit.com/r/programming/comments/1t6y9iw/implementing_a_typesafe_compiletime_builder_in_d/)
Spring Boot Json Logging With User And Session
https://www.reddit.com/r/programming/comments/1t6hela/spring_boot_json_logging_with_user_and_session/
submitted by /u/Efficient-Public-551 (https://www.reddit.com/user/Efficient-Public-551)
[link] (https://youtu.be/zqM6Y_g5UKo) [comments] (https://www.reddit.com/r/programming/comments/1t6hela/spring_boot_json_logging_with_user_and_session/)