reddit_programming | Technologies

Telegram-канал reddit_programming - Reddit Programming

212

I will send you newest post from subreddit /r/programming

Subscribe to a channel

Reddit Programming

The fastest double-to-string algorithm you’ve never heard of
https://www.reddit.com/r/programming/comments/1vm65dm/the_fastest_doubletostring_algorithm_youve_never/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://vitaut.net/posts/2026/yy-dtoa/) [comments] (https://www.reddit.com/r/programming/comments/1vm65dm/the_fastest_doubletostring_algorithm_youve_never/)

Читать полностью…

Reddit Programming

Squeak 6.1 (a modern Smalltalk programming environment implemented in itself) was released!
https://www.reddit.com/r/programming/comments/1vlqtmx/squeak_61_a_modern_smalltalk_programming/

<!-- SC_OFF --> After more than 4 years of work, our community has put together a big bouquet of new capabilities and improvements: A new tree browser for navigating and organizing classes Objectland, bringing back and extending the colorful world of examples from Squeak 3 Plenty of new features, bugfixes, and speed-ups for programming tools, the Morphic UI framework, and the rest of the system Original announcement on Fosstodon: squeak/117071273007117118" rel="nofollow">https://fosstodon.org/@squeak/117071273007117118 <!-- SC_ON --> submitted by /u/LinqLover (https://www.reddit.com/user/LinqLover)
[link] (https://squeak.org/release_notes/6.1/) [comments] (https://www.reddit.com/r/programming/comments/1vlqtmx/squeak_61_a_modern_smalltalk_programming/)

Читать полностью…

Reddit Programming

Change Your Root: Chroot Basics
https://www.reddit.com/r/programming/comments/1vllv5l/change_your_root_chroot_basics/

submitted by /u/iximiuz (https://www.reddit.com/user/iximiuz)
[link] (https://labs.iximiuz.com/tutorials/change-your-root-chroot-basics-1cef74c2) [comments] (https://www.reddit.com/r/programming/comments/1vllv5l/change_your_root_chroot_basics/)

Читать полностью…

Reddit Programming

The Sentinel Object Pattern in Python
https://www.reddit.com/r/programming/comments/1vjpp19/the_sentinel_object_pattern_in_python/

<!-- SC_OFF -->Officially added in Python 3.15 https://peps.python.org/pep-0661/ <!-- SC_ON --> submitted by /u/Grouchy-Trade-7250 (https://www.reddit.com/user/Grouchy-Trade-7250)
[link] (https://python-patterns.guide/python/sentinel-object/) [comments] (https://www.reddit.com/r/programming/comments/1vjpp19/the_sentinel_object_pattern_in_python/)

Читать полностью…

Reddit Programming

Assembly Hall of Shame: Racing to the bottom of CPU performance
https://www.reddit.com/r/programming/comments/1vjketg/assembly_hall_of_shame_racing_to_the_bottom_of/

submitted by /u/f311a (https://www.reddit.com/user/f311a)
[link] (https://github.com/xoreaxeaxeax/asm-hall-of-shame) [comments] (https://www.reddit.com/r/programming/comments/1vjketg/assembly_hall_of_shame_racing_to_the_bottom_of/)

Читать полностью…

Reddit Programming

A shell exclamation mark is not for yelling. Be lazy. | Filip Roséen
https://www.reddit.com/r/programming/comments/1vilqxz/a_shell_exclamation_mark_is_not_for_yelling_be/

submitted by /u/refp (https://www.reddit.com/user/refp)
[link] (https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark) [comments] (https://www.reddit.com/r/programming/comments/1vilqxz/a_shell_exclamation_mark_is_not_for_yelling_be/)

Читать полностью…

Reddit Programming

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/)

Читать полностью…

Reddit Programming

From constraint models to playable puzzle games
https://www.reddit.com/r/programming/comments/1vhxjpv/from_constraint_models_to_playable_puzzle_games/

submitted by /u/mzl (https://www.reddit.com/user/mzl)
[link] (https://zayenz.se/blog/post/constraint-generated-puzzle-games/) [comments] (https://www.reddit.com/r/programming/comments/1vhxjpv/from_constraint_models_to_playable_puzzle_games/)

Читать полностью…

Reddit Programming

Build a Local Kubernetes Platform with kubara, kind, and Argo CD
https://www.reddit.com/r/programming/comments/1vh7kf7/build_a_local_kubernetes_platform_with_kubara/

submitted by /u/Happycodeine (https://www.reddit.com/user/Happycodeine)
[link] (artem_lajko/build-a-local-kubernetes-platform-with-kubara-kind-and-argo-cd-b83aaa36b65b?source=friends_link&amp;sk=a5c060e5998876f9ddf626207499ebf8" rel="nofollow">https://medium.com/@artem_lajko/build-a-local-kubernetes-platform-with-kubara-kind-and-argo-cd-b83aaa36b65b?source=friends_link&amp;sk=a5c060e5998876f9ddf626207499ebf8) [comments] (https://www.reddit.com/r/programming/comments/1vh7kf7/build_a_local_kubernetes_platform_with_kubara/)

Читать полностью…

Reddit Programming

A Long Spring: 19 Years of Living with Your Past Mistakes • Arjen Poutsma
https://www.reddit.com/r/programming/comments/1vh30bd/a_long_spring_19_years_of_living_with_your_past/

submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/1o2E2n0KDZ4?list=PLEx5khR4g7PINwOsYrkwz3lTTJUYoXC53) [comments] (https://www.reddit.com/r/programming/comments/1vh30bd/a_long_spring_19_years_of_living_with_your_past/)

Читать полностью…

Reddit Programming

How to Make a Nintendo 64 Game in 2026
https://www.reddit.com/r/programming/comments/1vgzrrt/how_to_make_a_nintendo_64_game_in_2026/

submitted by /u/r_retrohacking_mod2 (https://www.reddit.com/user/r_retrohacking_mod2)
[link] (https://phoboslab.org/log/2026/08/xibalba64-making-of) [comments] (https://www.reddit.com/r/programming/comments/1vgzrrt/how_to_make_a_nintendo_64_game_in_2026/)

Читать полностью…

Reddit Programming

Shrinking Ruby Hashes
https://www.reddit.com/r/programming/comments/1vgznmp/shrinking_ruby_hashes/

submitted by /u/mariuz (https://www.reddit.com/user/mariuz)
[link] (https://byroot.github.io/ruby/performance/2026/08/05/shrinking-ruby-hashes.html) [comments] (https://www.reddit.com/r/programming/comments/1vgznmp/shrinking_ruby_hashes/)

Читать полностью…

Reddit Programming

How fuzzy search works in a search engine: Levenshtein automata and n-gram similarity
https://www.reddit.com/r/programming/comments/1vg8iyl/how_fuzzy_search_works_in_a_search_engine/

submitted by /u/mr_gnusi (https://www.reddit.com/user/mr_gnusi)
[link] (https://blog.serenedb.com/fuzzy-search-deep-dive) [comments] (https://www.reddit.com/r/programming/comments/1vg8iyl/how_fuzzy_search_works_in_a_search_engine/)

Читать полностью…

Reddit Programming

Painting with Gaussians
https://www.reddit.com/r/programming/comments/1vg7jad/painting_with_gaussians/

submitted by /u/yogthos (https://www.reddit.com/user/yogthos)
[link] (https://yogthos.net/posts/2026-08-03-splat-painter.html) [comments] (https://www.reddit.com/r/programming/comments/1vg7jad/painting_with_gaussians/)

Читать полностью…

Reddit Programming

Your SQS consumer can hang forever by default
https://www.reddit.com/r/programming/comments/1vg4nwf/your_sqs_consumer_can_hang_forever_by_default/

submitted by /u/TheSwedeheart (https://www.reddit.com/user/TheSwedeheart)
[link] (https://encore.dev/blog/message-queue-hangs) [comments] (https://www.reddit.com/r/programming/comments/1vg4nwf/your_sqs_consumer_can_hang_forever_by_default/)

Читать полностью…

Reddit Programming

Don't Stall Me Now: Hiding Memory Latency in eBPF
https://www.reddit.com/r/programming/comments/1vlwzdy/dont_stall_me_now_hiding_memory_latency_in_ebpf/

submitted by /u/mttd (https://www.reddit.com/user/mttd)
[link] (https://dl.acm.org/doi/10.1145/3789240.3829175) [comments] (https://www.reddit.com/r/programming/comments/1vlwzdy/dont_stall_me_now_hiding_memory_latency_in_ebpf/)

Читать полностью…

Reddit Programming

The dangers of Postgres subtransactions
https://www.reddit.com/r/programming/comments/1vlm2vs/the_dangers_of_postgres_subtransactions/

<!-- SC_OFF -->Really good article explaining the implementation detail within Postgres regarding subtransactions. Very cool benchmark that I was unaware of <!-- SC_ON --> submitted by /u/Wooden-News-962 (https://www.reddit.com/user/Wooden-News-962)
[link] (https://planetscale.com/blog/the-dangers-of-postgres-subtransactions) [comments] (https://www.reddit.com/r/programming/comments/1vlm2vs/the_dangers_of_postgres_subtransactions/)

Читать полностью…

Reddit Programming

Beyond Senior - Creating Hope
https://www.reddit.com/r/programming/comments/1vkdq8p/beyond_senior_creating_hope/

<!-- SC_OFF -->Every time I leave a role I try and write up where my philosophy landed and what I want to take into my next role. Having seen this play out at enough companies over the years to where people progressively lose motivation and stop believing change is possible I've come to the opinion that one of the most valuable things we can do as engineering leaders is to provide hope. The post goes more into it, but I do not mean any vapid rah-rah motivational speeches, I mean earning back that hope every day by snowballing small wins into larger ones and making people believe that their effort matters. <!-- SC_ON --> submitted by /u/keyslemur (https://www.reddit.com/user/keyslemur)
[link] (https://baweaver.com/writing/2026/08/09/beyond-senior-creating-hope/) [comments] (https://www.reddit.com/r/programming/comments/1vkdq8p/beyond_senior_creating_hope/)

Читать полностью…

Reddit Programming

Hungarian Assignment Algorithm: Applied Optimal Transport for Programmers
https://www.reddit.com/r/programming/comments/1vjndxo/hungarian_assignment_algorithm_applied_optimal/

submitted by /u/DataBaeBee (https://www.reddit.com/user/DataBaeBee)
[link] (https://leetarxiv.substack.com/p/hungarian-assignment-algorithm) [comments] (https://www.reddit.com/r/programming/comments/1vjndxo/hungarian_assignment_algorithm_applied_optimal/)

Читать полностью…

Reddit Programming

DRY vs. SRP
https://www.reddit.com/r/programming/comments/1virrlk/dry_vs_srp/

<!-- SC_OFF -->After re-reading "Clean Architecture" I ended up with some confusion regarding Bob's take on repetition and single responsibility. Ge defines the SRP as a function only serving one actor. Dies that mean, that repetitve code is justified according to him, as long as it serves seperate actors/user groups? I am aware that such decisions depend on the specific situation. I was just wondering if others found the same contradiction, or if i misunderstood it. Thanks <!-- SC_ON --> submitted by /u/TalesGameStudio (https://www.reddit.com/user/TalesGameStudio)
[link] (http://uncle-bob.com/) [comments] (https://www.reddit.com/r/programming/comments/1virrlk/dry_vs_srp/)

Читать полностью…

Reddit Programming

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/)

Читать полностью…

Reddit Programming

JDK 28 EA Build10 is now available for download and includes JEP 401: Value Objects (Preview) from Project Valhalla
https://www.reddit.com/r/programming/comments/1vii2vi/jdk_28_ea_build10_is_now_available_for_download/

submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://jdk.java.net/28/) [comments] (https://www.reddit.com/r/programming/comments/1vii2vi/jdk_28_ea_build10_is_now_available_for_download/)

Читать полностью…

Reddit Programming

Neoclassical C++ (2): Exploring input-output segmented algorithms
https://www.reddit.com/r/programming/comments/1vh8wl5/neoclassical_c_2_exploring_inputoutput_segmented/

submitted by /u/igaztanaga (https://www.reddit.com/user/igaztanaga)
[link] (https://boostedcpp.net/2026/08/06/neoclassical-c-2-exploring-input-output-segmented-algorithms/) [comments] (https://www.reddit.com/r/programming/comments/1vh8wl5/neoclassical_c_2_exploring_inputoutput_segmented/)

Читать полностью…

Reddit Programming

Building a RISC-V emulator that boots in a browser via Wasm
https://www.reddit.com/r/programming/comments/1vh6t0z/building_a_riscv_emulator_that_boots_in_a_browser/

submitted by /u/swdevtest (https://www.reddit.com/user/swdevtest)
[link] (https://writethat.blog/rave.html) [comments] (https://www.reddit.com/r/programming/comments/1vh6t0z/building_a_riscv_emulator_that_boots_in_a_browser/)

Читать полностью…

Reddit Programming

Bringing Post-Quantum Cryptography to Java LTS Releases
https://www.reddit.com/r/programming/comments/1vh24uw/bringing_postquantum_cryptography_to_java_lts/

submitted by /u/donutloop (https://www.reddit.com/user/donutloop)
[link] (https://blogs.oracle.com/java/post-quantum-cryptography-in-long-term-support-jdk-releases) [comments] (https://www.reddit.com/r/programming/comments/1vh24uw/bringing_postquantum_cryptography_to_java_lts/)

Читать полностью…

Reddit Programming

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/)

Читать полностью…

Reddit Programming

Linux Processes: Threads & Concurrency
https://www.reddit.com/r/programming/comments/1vgc4xz/linux_processes_threads_concurrency/

submitted by /u/iximiuz (https://www.reddit.com/user/iximiuz)
[link] (https://labs.iximiuz.com/tutorials/linux-processes-threads-concurrency-3302b677) [comments] (https://www.reddit.com/r/programming/comments/1vgc4xz/linux_processes_threads_concurrency/)

Читать полностью…

Reddit Programming

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/)

Читать полностью…

Reddit Programming

The rust programming language is adopting a new contributing policy
https://www.reddit.com/r/programming/comments/1vg555b/the_rust_programming_language_is_adopting_a_new/

submitted by /u/mareek (https://www.reddit.com/user/mareek)
[link] (https://blog.rust-lang.org/inside-rust/2026/08/05/rust-langrust-is-adopting-an-llm-policy/) [comments] (https://www.reddit.com/r/programming/comments/1vg555b/the_rust_programming_language_is_adopting_a_new/)

Читать полностью…

Reddit Programming

Reverse Engineering Google Slides
https://www.reddit.com/r/programming/comments/1vfrjfk/reverse_engineering_google_slides/

submitted by /u/IamMichaelSalim (https://www.reddit.com/user/IamMichaelSalim)
[link] (https://theopenpresenter.com/blog/reverse-engineering-google-slides/) [comments] (https://www.reddit.com/r/programming/comments/1vfrjfk/reverse_engineering_google_slides/)

Читать полностью…
Subscribe to a channel