Reddit Programming
206 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Nuke-KV : We made a Key-Value Store that's like Redis, but... faster. Way faster
https://www.reddit.com/r/programming/comments/1lc19pc/nukekv_we_made_a_keyvalue_store_thats_like_redis/

<!-- SC_OFF -->We've built Nuke-KV , a high-performance key-value store that achieves 200K-800K operations per second using Node.js . The performance gains come from several key optimizations : command pipelining to reduce network overhead, LRU cache with efficient memory management, worker thread parallelization, and batched persistence with dirty tracking. This represents a 18,000x improvement over baseline Node.js performance and demonstrates competitive throughput with Redis while maintaining a lightweight, customizable architecture. Current release ( v1.0 ) prioritizes performance over feature completeness, with rapid feature development planned for subsequent versions . Stay Tuned and support guys ☢️ . Here is the Direct Github Link : https://github.com/Akshat-Diwedi/nuke-kv . <!-- SC_ON --> submitted by /u/Firm_Mission_7143 (https://www.reddit.com/user/Firm_Mission_7143)
[link] (https://github.com/Akshat-Diwedi/nuke-kv) [comments] (https://www.reddit.com/r/programming/comments/1lc19pc/nukekv_we_made_a_keyvalue_store_thats_like_redis/)
gRPC vs REST | Performance, Benchmarks & Real-World Guide
https://www.reddit.com/r/programming/comments/1lc1mcn/grpc_vs_rest_performance_benchmarks_realworld/

<!-- SC_OFF -->🔥 In this video, we dive deep into gRPC vs REST — two of the most popular API architectures. If you're a backend engineer, system architect, or developer wondering which one to use, this video is for you. We explore real benchmark results, architecture breakdowns, and when to use REST vs gRPC in production. Learn about performance differences
🚀 See real-world gRPC vs REST benchmarks
🛠 Understand use cases, tooling, streaming, developer experience
🔧 Make smarter API design decisions in 2025 and beyond <!-- SC_ON --> submitted by /u/integrationninjas (https://www.reddit.com/user/integrationninjas)
[link] (https://www.youtube.com/watch?v=w6H3uRTcKDg) [comments] (https://www.reddit.com/r/programming/comments/1lc1mcn/grpc_vs_rest_performance_benchmarks_realworld/)
I built a FastAPI reverse-proxy that adds runtime guardrails to any LLM API—here’s how it works
https://www.reddit.com/r/programming/comments/1lc5qzx/i_built_a_fastapi_reverseproxy_that_adds_runtime/

<!-- SC_OFF -->I kept gluing large-language models into apps, then scrambling after the fact to stop prompt injections, secret leaks, or the odd “spicy” completion. So I wrote a tiny network layer to do that up front. Pure Python stack – FastAPI + Uvicorn, no C extensions. Hot-reloaded policies – a YAML file describes each rule (PII detection with Presidio, profanity classifier, fuzzy match for internal keys, etc.). Actions – block, redact, observe, or retry; the proxy tags every response with a safety header so callers can decide what to do. Extensibility – drop a Validator subclass anywhere on the import path and the gateway picks it up at startup. A minimal benchmark (PII + profanity policies, local HF models, M2 laptop) shows ≈35 ms median overhead per request. If you’d like to skim code, poke holes in the security model, or suggest better perf tricks, I’d appreciate it. <!-- SC_ON --> submitted by /u/Consistent_Equal5327 (https://www.reddit.com/user/Consistent_Equal5327)
[link] (https://github.com/trylonai/gateway) [comments] (https://www.reddit.com/r/programming/comments/1lc5qzx/i_built_a_fastapi_reverseproxy_that_adds_runtime/)
Just found this: Visual multi-agent AI platform in closed beta
https://www.reddit.com/r/programming/comments/1lck2vi/just_found_this_visual_multiagent_ai_platform_in/

<!-- SC_OFF -->Came across something called Neura Agent — a visual platform where you build workflows with multiple autonomous AI agents.
Each agent does a different task and they interact to complete more complex goals. It’s currently in closed beta. Looks like a mix between AI agents + no-code tools like Zapier.
Here's the beta announcement I found: <!-- SC_ON --> submitted by /u/Happy-Reputation-525 (https://www.reddit.com/user/Happy-Reputation-525)
[link] (https://www.linkedin.com/posts/neuraparse_closedbeta-neuraagent-aiinprogress-activity-7339524347868393472-cs0A/) [comments] (https://www.reddit.com/r/programming/comments/1lck2vi/just_found_this_visual_multiagent_ai_platform_in/)
Learning Programming, the wrong way Edition
https://www.reddit.com/r/programming/comments/1lcltky/learning_programming_the_wrong_way_edition/

<!-- SC_OFF -->In your experience and opinion, whats the worst amd most inefficient way someone could start Learning to program (or any programming language ) nowadays? <!-- SC_ON --> submitted by /u/merotatox (https://www.reddit.com/user/merotatox)
[link] (https://www.wikihow.com/Start-Learning-to-Program) [comments] (https://www.reddit.com/r/programming/comments/1lcltky/learning_programming_the_wrong_way_edition/)
I built a language that solves 400+ LeetCode problems and compiles to Python, Go, and TypeScript
https://www.reddit.com/r/programming/comments/1lcpd0r/i_built_a_language_that_solves_400_leetcode/

<!-- SC_OFF -->Hi all — I’ve been building Mochi (https://github.com/mochilang/mochi), a small statically typed language that compiles to Python, Go, and TypeScript. This week I hit a fun milestone: over 400 LeetCode problems solved in Mochi — and compiled to all three languages — in about 4 days. Mochi is designed to let you write a clean solution once, and run it anywhere. Here's what it looks like in practice: Compiled 232/implement-queue-using-stacks.mochi → go/py/ts in 2032 ms Compiled 233/number-of-digit-one.mochi → go/py/ts in 1975 ms Compiled 234/palindrome-linked-list.mochi → go/py/ts in 1975 ms Compiled 235/lowest-common-ancestor-bst.mochi → go/py/ts in 1914 ms Compiled 236/lowest-common-ancestor.mochi → go/py/ts in 2057 ms Compiled 237/delete-node-in-linked-list.mochi → go/py/ts in 1852 ms Each .mochi file contains the solution, inline tests, and can be compiled to idiomatic code in any of the targets. Example test output: 23/merge-k-sorted-lists.mochi test example 1 ... ok (264.0µs) test example 2 ... ok (11.0µs) test example 3 ... ok (19.0µs) 141/linked-list-cycle.mochi test example 1 ... ok (92.0µs) test example 2 ... ok (43.0µs) test example 3 ... ok (7.0µs) What’s cool (to me at least) is that Mochi isn’t just syntax sugar or a toy compiler — it actually typechecks, supports inline testing, and lets you call functions from Go, Python, or TypeScript directly. The goal is to solve the problem once, test it once, and let the compiler deal with the rest. You can check out all the LeetCode problems here:
👉 https://github.com/mochilang/mochi/tree/main/examples/leetcode Would love feedback if you’re into language design, compilers, or even just curious how a multi-target language like this works under the hood. Happy to answer anything if you're curious! <!-- SC_ON --> submitted by /u/Adept-Country4317 (https://www.reddit.com/user/Adept-Country4317)
[link] (https://github.com/mochilang/mochi/pull/1088) [comments] (https://www.reddit.com/r/programming/comments/1lcpd0r/i_built_a_language_that_solves_400_leetcode/)
Programming's Greatest Mistakes • Mark Rendle
https://www.reddit.com/r/programming/comments/1lcwfql/programmings_greatest_mistakes_mark_rendle/

<!-- SC_OFF -->Most of the time when we make mistakes in our code, a message gets displayed wrong or an invoice doesn’t get sent. But sometimes when people make mistakes in code, things literally explode, or bankrupt companies, or make web development a living hell for millions of programmers for years to come. Join Mark on a tour through some of the worst mistakes in the history of programming. Learn what went wrong, why it went wrong, how much it cost, and how things are really funny when they’re not happening to you. <!-- SC_ON --> submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/Y9clBHENy4Q) [comments] (https://www.reddit.com/r/programming/comments/1lcwfql/programmings_greatest_mistakes_mark_rendle/)
GitHub Summer of Making has started
https://www.reddit.com/r/programming/comments/1lcyst7/github_summer_of_making_has_started/

<!-- SC_OFF -->If you’re in high school and want a free raspberry pi, laptop, or bunch of other cool stuff for spending time programming, join up. This is basically a summer reading program run by GitHub and HackClub to get highschoolers coding which is awesome You have to be 18 or younger to join <!-- SC_ON --> submitted by /u/ntindle (https://www.reddit.com/user/ntindle)
[link] (https://summer.hack.club/m0) [comments] (https://www.reddit.com/r/programming/comments/1lcyst7/github_summer_of_making_has_started/)
raylib vs SDL - A libraries comparison
https://www.reddit.com/r/programming/comments/1ld1nty/raylib_vs_sdl_a_libraries_comparison/

<!-- SC_OFF -->Hot Take: the comparison (written by the author of Raylib), succinctly explain the main reasons why raylib won't be considered by large games or can't scale in the internal-conventions (https://gist.github.com/raysan5/17392498d40e2cb281f5d09c0a4bf798#internal-conventions). Naming Prefixes(lack of), Pointers(raylib passes only by value), Error Codes(raylib doesn't, can create default objects instead), Backward-compatibility(raylib isn't) <!-- SC_ON --> submitted by /u/Professional-Ad3724 (https://www.reddit.com/user/Professional-Ad3724)
[link] (https://gist.github.com/raysan5/17392498d40e2cb281f5d09c0a4bf798) [comments] (https://www.reddit.com/r/programming/comments/1ld1nty/raylib_vs_sdl_a_libraries_comparison/)