Reddit Programming
190 subscribers
1.22K photos
127K links
I will send you newest post from subreddit /r/programming
Download Telegram
How Zanzlanz released a game that has no assets
https://www.reddit.com/r/programming/comments/1vfqtn6/how_zanzlanz_released_a_game_that_has_no_assets/

<!-- SC_OFF -->Specifically, the video is about developing a game where all the textures and sounds are generated at runtime using Sine waves. I thought it was high-quality and explained complex math concepts well. <!-- SC_ON --> submitted by /u/TheBrokenRail-Dev (https://www.reddit.com/user/TheBrokenRail-Dev)
[link] (https://youtu.be/Qr3VsZYQy4s) [comments] (https://www.reddit.com/r/programming/comments/1vfqtn6/how_zanzlanz_released_a_game_that_has_no_assets/)
Gödel, Escher, Elisp: The Beauty of Macros
https://www.reddit.com/r/programming/comments/1vg8bi5/g%C3%B6del_escher_elisp_the_beauty_of_macros/

<!-- SC_OFF -->This post is a lover letter to Emacs Lisp macros. I've been a long time user as a lisp hacker, and my recent obsessions with Douglas Hofstadter's strange loop concepts and M.C. Escher's mind bending artwork have enhanced my appreciation of this language's most beautiful and thought provoking feature. This post can teach you about macros and what makes them useful, but I also hope it can instill a fascination with their concept. https://www.chiply.dev/post-elisp-macros-are-beautiful <!-- SC_ON --> submitted by /u/misterchiply (https://www.reddit.com/user/misterchiply)
[link] (https://www.chiply.dev/post-elisp-macros-are-beautiful) [comments] (https://www.reddit.com/r/programming/comments/1vg8bi5/g%C3%B6del_escher_elisp_the_beauty_of_macros/)
The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop
https://www.reddit.com/r/programming/comments/1vgzqd3/the_luajit_nyi_that_silently_poisoned_an/

<!-- SC_OFF -->I was optimizing the Lua transpiler for my modding language grug and ran into a really weird LuaJIT performance bug. The same benchmark could randomly run 20× slower, and it turned out a LuaJIT NYI (Not Yet Implemented) could silently blacklist an unrelated hot loop. I wrote up the investigation here. It goes from the benchmark mystery through LuaJIT's trace recorder internals, and ends with a PR to get unpack off LuaJIT's NYI list. Feedback is very welcome! :) <!-- SC_ON --> submitted by /u/MyNameIsTrez (https://www.reddit.com/user/MyNameIsTrez)
[link] (https://streamhpc.com/blog/2026-08-05/the-luajit-nyi-that-silently-poisoned-an-unrelated-hot-loop/) [comments] (https://www.reddit.com/r/programming/comments/1vgzqd3/the_luajit_nyi_that_silently_poisoned_an/)
Solving and benchmarking QUBO problems with Gurobi in Python
https://www.reddit.com/r/programming/comments/1vija3m/solving_and_benchmarking_qubo_problems_with/

<!-- SC_OFF -->State-of-the-art classical optimizer Gurobi for Quadratic Unconstrained Binary Optimization (QUBO) problems. The core gurobipy implementation for QUBO is relatively compact: ```python model = gp.Model() x = model.addMVar(n, vtype=GRB.BINARY) model.setObjective(x @ Q @ x, GRB.MINIMIZE) model.optimize() solution = x.X.astype(int) objective = model.ObjVal ``` Complete workflow in Python. First formulate a graph problem (weighted Max-Cut) as QUBO, solve it with Gurobi, benchmark increasingly large instances, and understand what the solver is doing beyond the optimize() call. Interested in feedback on the modeling, benchmarking methodology, and which additional Gurobi metrics would make the comparison more rigorous. <!-- SC_ON --> submitted by /u/Future_Ad7567 (https://www.reddit.com/user/Future_Ad7567)
[link] (https://youtu.be/TB1ny8o4ImQ) [comments] (https://www.reddit.com/r/programming/comments/1vija3m/solving_and_benchmarking_qubo_problems_with/)
Here's why OOP makes a lot of sense to me.
https://www.reddit.com/r/programming/comments/1vikuz4/heres_why_oop_makes_a_lot_of_sense_to_me/

<!-- SC_OFF -->I kind of feel like OOP has a bad rep in the programming community. Personally, after having programmed Java for over 20 years, its object-oriented programming model feels very natural to me. So, I wanted to share how I think about programming, how I translate my ideas and thoughts to code, and why OOP is actually a really nice programming style for me. Perhaps it could help you out too. <!-- SC_ON --> submitted by /u/OSBY_Glabay (https://www.reddit.com/user/OSBY_Glabay)
[link] (https://youtu.be/MAnXlpXpFRQ) [comments] (https://www.reddit.com/r/programming/comments/1vikuz4/heres_why_oop_makes_a_lot_of_sense_to_me/)