Reddit Programming
208 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
ShadowEngine2D v1.2.0: Rust-based 2D game engine with physics, tilemaps, and performance profiling now on crates.io
https://www.reddit.com/r/programming/comments/1mmjudi/shadowengine2d_v120_rustbased_2d_game_engine_with/

<!-- SC_OFF -->I just published ShadowEngine2D v1.2.0, a 2D game engine written in Rust. New features in v1.2.0: - Text rendering system with font management - 2D physics engine built on parry2d with collision detection - Multi-layer tilemap system with CSV import/export - Performance profiler with FPS tracking and memory monitoring - Save/load system with JSON serialization and auto-save Technical stack: - WGPU for cross-platform rendering - Winit for windowing and input handling - Parry2d for physics simulation - Serde for serialization - Glam for math operations Installation: cargo add shadowengine2d The crate includes 4 examples demonstrating basic usage, modern game structure, debug output, and all v1.2.0 features. Licensed under MIT and Apache 2.0. The engine supports Windows, macOS, and Linux with hardware-accelerated graphics rendering. <!-- SC_ON --> submitted by /u/SureMeat5400 (https://www.reddit.com/user/SureMeat5400)
[link] (https://crates.io/crates/shadowengine2d) [comments] (https://www.reddit.com/r/programming/comments/1mmjudi/shadowengine2d_v120_rustbased_2d_game_engine_with/)
Load Balancing at Scale: Hidden Challenges and Lessons Learned
https://www.reddit.com/r/programming/comments/1mmo3d0/load_balancing_at_scale_hidden_challenges_and/

<!-- SC_OFF -->Load balancing seems straightforward, until you run it at scale in dynamic environments. In large systems, whether it’s Kubernetes, container orchestration, or traditional service deployments, upstream servers are constantly changing. Workloads vary in complexity, requests can be uneven, and simple algorithms like round-robin often break down. This post looks at the real-world issues that show up in production: • Traffic imbalance during host rotation • Cold-start spikes when new instances join • How different algorithms (least connections, power-of-two-choices, consistent hashing) behave under stress • The impact of proxy architecture (Envoy vs HAProxy) on load distribution accuracy It’s based on lessons learned from operating reverse proxies in high-traffic environments, and the trade-offs between fairness, efficiency, and resilience. Read here: https://startwithawhy.com/reverseproxy/2025/08/08/ReverseProxy-Deep-Dive-Part4.html?utm_source=reddit&utm_medium=post&utm_campaign=r_programming Curious to hear how others have tackled these challenges in their own systems. <!-- SC_ON --> submitted by /u/MiggyIshu (https://www.reddit.com/user/MiggyIshu)
[link] (https://startwithawhy.com/reverseproxy/2025/08/08/ReverseProxy-Deep-Dive-Part4.html?utm_source=reddit&utm_medium=post&utm_campaign=r_programming) [comments] (https://www.reddit.com/r/programming/comments/1mmo3d0/load_balancing_at_scale_hidden_challenges_and/)
Git Rebase - Explained Like You’re New to Git
https://www.reddit.com/r/programming/comments/1mn85pw/git_rebase_explained_like_youre_new_to_git/

<!-- SC_OFF -->If git merge feels messy and your history looks like spaghetti, git rebase might be what you need. In this post, I explain rebase in plain English with: A simple everyday analogy Step-by-step example When to use it (and when NOT to) Perfect if you’ve been told “just rebase before your PR” but never really understood what’s happening. <!-- SC_ON --> submitted by /u/sshetty03 (https://www.reddit.com/user/sshetty03)
[link] (https://medium.com/stackademic/git-rebase-explained-like-youre-new-to-git-263c19fa86ec?sk=2f9110eff1239c5053f2f8ae3c5fe21e) [comments] (https://www.reddit.com/r/programming/comments/1mn85pw/git_rebase_explained_like_youre_new_to_git/)