今日已更新 76 条资讯 | 累计 21295 条内容
关于我们

标签:#programming

找到 1411 篇相关文章

开发者

How I made my Zig gameplay code hot reloadable

A couple of months ago I made the zig parts of my game’s codebase hot reloadable. A few people have asked me about challenges and issues with doing that, so I wrote a blog post about it. Not a how-to tutorial, but rather “this is what I did”. Hoping it will be useful to someone trying to do the same thing :) submitted by /u/unvestigate [link] [留言]

2026-05-25 原文 →
开发者

Highest random weight in Elixir

I've had 3 weeks off work and I've used the time to rekindle my passion for coding (the old way, by hand). Stumbled upon this alternative to consistent hashing called rendezvous hashing (or highest random weight) and did a little deep dive. It ended up turning into a basic library, including the basic algorithm, a couple of variations, and the skeleton pattern for O(log n) access. It performs similar to ExHashRing for node counts <20, and with the skeleton optimization is competitive even in the tens of thousands of nodes, but it uses no NIFs or stateful processes, and the basic algorithm is essentially a one-liner. Anyway, it was fun to learn about, hope you enjoy it too! https://jola.dev/posts/highest-random-weight-in-elixir submitted by /u/joladev [link] [留言]

2026-05-25 原文 →
AI 资讯

Announcement: We've Updated The Rules, and April Is Finally Over

After temporarily banning LLM-related content over April , and asking you for feedback on that ban , we've decided to bring about an end of the temporary, I-can't-believe-it's-still-April ban on AI-related posts. Replacing the trial rule is a new shiny rule that refers to our new shiny AI policy . In short: Content about AI and LLMs are considered off-topic with the sole exclusion of deeply technical content about implementation. And if you want more detail than that, go read the policy, that's what it's there for. In addition, when writing that rule, I realized the rules weren't listed on the old.reddit.com sidebar, so that's been updated. For those of you who are seeing those rules for the first time, everything there is not new. We've been enforcing those rules as best we can for ages. You can click the link above those to get to the old.reddit rules page, with plenty of info that doesn't exactly read well when crammed into a sidebar. submitted by /u/ChemicalRascal [link] [留言]

2026-05-23 原文 →