Reddit Programming
209 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Rustroid - The Rust IDE that runs locally on your Android phone.
https://www.reddit.com/r/programming/comments/1mmjt5i/rustroid_the_rust_ide_that_runs_locally_on_your/

<!-- SC_OFF -->Hello there. I'm Mohammed Khaled, and I'll just get straight to the point. I have just completed one of the biggest projects of my life. For about a year, I've been working on an IDE for Android (that runs on Android locally). By IDE, I truly mean an integrated development environment, one that offers features like syntax highlighting, auto-completion, diagnostics, signature help, go-to definition, declaration, implementation, show documentation, and more. Currently, it's for the Rust programming language. I chose Rust because it's consistently one of the most admired languages in the annual Stack Overflow surveys. A lot of the code in the IDE is shared, so it wouldn't be too difficult to adapt it for other languages in the future. The IDE does even allow the user to export APKs for graphical applications and games and also lets them run the app quickly without having to install it. The app actually uses a strange dynamic loading technique to load itself from the shared library it generates from your code. I've created a website for the app where I detail its features: https://rustroid.is-a.dev (https://rustroid.is-a.dev/) And I wrote about why and how I created the app in this article: https://rustroid.is-a.dev/story The application is available on Google Play.
https://play.google.com/store/apps/details?id=com.mohammedkhc.ide.rust And yeah that's it. Disclaimer: The application is not open source and/or free, but it's super cheap. It's also on sale for three days for only $4.50. I explained why is that in detail in https://rustroid.is-a.dev/story#publishing-the-app For screenshots, check out the app on Google Play:
https://play.google.com/store/apps/details?id=com.mohammedkhc.ide.rust <!-- SC_ON --> submitted by /u/MohammedKHC (https://www.reddit.com/user/MohammedKHC)
[link] (https://rustroid.is-a.dev/story) [comments] (https://www.reddit.com/r/programming/comments/1mmjt5i/rustroid_the_rust_ide_that_runs_locally_on_your/)
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/)