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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
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/)
State of Serverless DevEx & Observability • Jones Zachariah Noel N
https://www.reddit.com/r/programming/comments/1tb03pq/state_of_serverless_devex_observability_jones/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/oItac1VPsso?list=PLEx5khR4g7PINwOsYrkwz3lTTJUYoXC53) [comments] (https://www.reddit.com/r/programming/comments/1tb03pq/state_of_serverless_devex_observability_jones/)
https://www.reddit.com/r/programming/comments/1tb03pq/state_of_serverless_devex_observability_jones/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/oItac1VPsso?list=PLEx5khR4g7PINwOsYrkwz3lTTJUYoXC53) [comments] (https://www.reddit.com/r/programming/comments/1tb03pq/state_of_serverless_devex_observability_jones/)