News for hackers. Stuff that matters.

GenericCanadian

Re:Bevy 0.20 on Thursday October 08, 2026 @08:53PM (#50014617)
https://taintedcoders.com/ has been updated to 0.20
Re:Animation in Bevy: The Big Picture on Tuesday September 08, 2026 @05:39PM (#49617477)
Bevy resources for those interested in learning:

- https://bevy.org/learn/book/intro

- https://taintedcoders.com

Re:Bevy 0.19 Released on Friday June 19, 2026 @04:48PM (#48603089)
Tainted coders has been fully updated to 0.19: https://taintedcoders.com/

Check out the new Bevy Scene Notation: https://taintedcoders.com/bevy/bsn

Re:Bevy game development tutorials and in-depth resources on Saturday April 11, 2026 @07:45PM (#47734957)
I think ECS is a new enough architecture that the patterns are still very much folk lore.

I think a lot of the way I try and structure my Bevy apps comes down to trying to separate the rendering from my game logic. Its very easy to confuse the two responsibilities.

Coming from the web and Ruby I find the lack of automated testing and TDD to be foreign to me. So I've been trying to figure out patterns that make my games easier to test. Hoping to write about it soon.

Re:Bevy game development tutorials and in-depth resources on Saturday April 11, 2026 @07:41PM (#47734935)
I think Chris Biscardi has some paid resources that involve Bevy at https://www.rustadventure.dev/pricing they might be referring to.

He's also got plenty of free resources which I love to watch: https://www.youtube.com/@chrisbiscardi

Re:Bevy game development tutorials and in-depth resources on Saturday April 11, 2026 @07:38PM (#47734922)
Very much agreed and appreciated. I've added an explanation to the top of the homepage.
Re:Bevy 0.18 on Tuesday January 13, 2026 @05:04PM (#46608937)
Good learning resources for those curious:

- https://taintedcoders.com/ (I'm the author)

- https://bevy.org/learn/book/intro/

- https://www.youtube.com/@chrisbiscardi

- https://www.youtube.com/@PhaestusFox

Lots of good stuff on the official Bevy discord too

Re:Bevy 0.17: ECS-driven game engine built in Rust on Tuesday September 30, 2025 @04:11PM (#45430619)
All guides on https://taintedcoders.com/ have been updated to 0.17. Congrats to everyone on the release
Re:RubyUI (Former PhlexUI): Ruby Gem for RubyUI Components on Tuesday April 01, 2025 @06:52PM (#43552112)
I found using partials between projects to be a headache. I wanted a way to standardize my UI for accessibility across all projects and not have to re-implement the same standards over and over. It's nice to be able to package the UI up into a gem and keep it maintained everywhere.

It's got a nice path for incremental adoption, so there is no need to go all-in unless you want to. Personally my Rails projects are all 95%+ ruby now.

Another nice knock off effect is that the LSP and integration with my IDE (neovim) is much nicer with Phlex components than it is with ERB.

I also think personally I don't like "magic" spaces like ERB where its hard for me to follow the code path. How does ERB manage multiline blocks with html in them? Hard to understand, harder to explain. To me it feels like there is less to worry about in Phlex where I'm thinking more in Ruby, less in the specifics of the view context.

Re:RubyUI (Former PhlexUI): Ruby Gem for RubyUI Components on Tuesday April 01, 2025 @06:43PM (#43552047)
Slots are pretty easy in Phlex. Have a look at the README in the repo I linked for an idea. I just create `with_column` or `with_header` methods that take a block and store it.

To create them declaratively (not needing to call them in a set order) you just create a module that defines `before_template` and calls `vanish`: https://www.phlex.fun/miscellaneous/v2-upgrade.html#removed-...

Re:RubyUI (Former PhlexUI): Ruby Gem for RubyUI Components on Tuesday April 01, 2025 @04:01PM (#43550757)
Phlex is an amazing project. Makes frontend fun again. I've built my own UI library using DaisyUI and Tailwindcss that we use in all our Rails projects: https://github.com/inhouse-work/protos

It cannot be overstated how nice it is to move away from erb and into pure ruby. Private methods as partials is a game changer for refactoring your UI.

Re:Ruby "Thread Contention" Is Simply GVL Queuing on Monday February 03, 2025 @03:36PM (#42922713)
As someone who's worked with Ruby for 12 years here are some insights:

Ruby makes message passing first class. That just changes how you think about programs. In exchange you give up passing functions so our anonymous functions are our blocks (actually just another object that can receive messages). So you don't `list(something)` you `something.list` and that lets you change what `.list` does depending on who `something` is very easily.

Ruby's defining feature is that the line between language author and program author is razer thin. You can completely change the language yourself by extending core classes. This is why we have `1.day` in Rails even though its not supported in the main language. DHH (author of Rails) could add that without consulting Matz (author of Ruby). So lots of stuff gets prioritized to make developers happy because its easy to add.

In Ruby the messages you receive are passed up the chain of ancestors. Your ancestors are a linked list of classes going back to a root class like `Object`. You can modify this linked list at will with mixins and inheritance with complete control (should I go before or after this other receiver).

Ruby's REPL and debugging experience is amazing. I often keep one tab with an `irb` or `rails console` open to sketch things while developing the code for it elsewhere. I'm also always inside a debugger to figure things out. When I'm in Rust or Python I'm met with a very different environment.

Re:Ruby 3.4.0 on Friday December 27, 2024 @02:56AM (#42520618)
I would suggest taking a look at Phlex (https://www.phlex.fun/). This kind of ruby maximalism is very pleasing to the dev process. For the interaction I'm using hotwire and stimulus. Been using pure Phlex views in production for 2 years now. I wrote Protos (https://github.com/inhouse-work/protos) which is built on top of Phlex and adds a bunch of quality of life features I wanted.
Re:Tiny Glade 'built' its way to >600k sold in a month on Tuesday November 19, 2024 @09:30PM (#42190317)
I wrote https://taintedcoders.com/ for anyone looking for an introduction to Rust game development with Bevy.

Bevy is still early, but the sweet spot right now is simulations. It's particularly weak in its UI, but that's the coming focus for getting the editor built.

If anyone needs ideas, making [boids](https://slsdo.github.io/steering-behaviors/) in Bevy is a great weekend project.

Re:What Is Theoretical Computer Science? on Friday October 18, 2024 @06:47AM (#41878144)
Sounds a lot like what Wolfram is working on with categorizing cellular automota. Strikes me that a lot of his work is very biological in its search for axioms from experimentation
Re:The LMAX Architecture (2011) on Friday August 16, 2024 @03:59PM (#41269827)
I wrote this in Crystal lang to learn more about it and the language: https://github.com/nolantait/disruptor.cr

There is a Ruby version that is also very readable: https://github.com/ileitch/disruptor

Author of https://taintedcoders.com/ here. Thanks for the mention. I hope to one day be a "consistently up to date" resource :p.

Bevy is the first game engine that made me feel the way Rails did about web development but for game dev. Most game development is focused on the art and the editor which makes sense. But Bevy is really centered around the coder which I found refreshing.

Love to see writeups like these, especially the gore. Great read.

Re:A lock-free ring-buffer with contiguous reservations (2019) on Thursday February 29, 2024 @10:56AM (#39551045)
I also wrote an LMAX Disruptor in Crystal: https://github.com/nolantait/disruptor.cr

Here is one in Ruby: https://github.com/ileitch/disruptor

Both languages are quite readable and I've used these to teach the concepts to beginners.

I wrote a guide on the Bevy plugin for Rust which you can read here: https://taintedcoders.com/bevy/rapier/

An interesting alternative in the Bevy space is Bevy XPBD which I also wrote about: https://taintedcoders.com/bevy/xpbd/

Re:Making Small Games, Which Is Fun in Itself on Wednesday January 03, 2024 @02:12PM (#38858414)
I learned a lot about Rust by making games with Bevy and writing down everything I learned: https://taintedcoders.com/

The smaller the game the more likely you are to finish. I usually started with making the movement fun and then developed some game like concepts around it.

I also highly recommend starting by making simulations instead of games as when you're alone they are still a blast to see come alive. Building boids is a fantastic exercise I do in any new engine.

Older »