Reddit Programming
199 subscribers
1.22K photos
127K links
I will send you newest post from subreddit /r/programming
Download Telegram
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/)
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/)
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/)
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/)