1
jestdotty
14d

it's like someone invented government bureaucracy for no reason at all https://github.com/Rabbival/...

what am I even reading

Comments
  • 0
    That's just bevy

    Definitely a little all over the place but it allows you to write game logic which safely and concurrently can mutate your game state / entities

    Entity Component Systems in other languages don't look much different
  • 1
    @12bitfloat yeah i know I've used bevy and also entity component systems in other languages

    ok well
  • 1
    it's just so redundant and roundabout

    I got tired of playing sudokus and started browsing random codebases. people say you should read others' code but I am in pain, though I guess it gives perspective on what exists
  • 0
    @jestdotty Not all Rust code looks this bad :P

    Yes, bevy is kinda horrible. But for a good reason! The problem it solves just sucks, whether in Rust or C++ or Java

    If you want to read codebases, check out cli tools written in Rust, I think they are generally a lot nicer

    For example just: https://github.com/casey/just/...
  • 0
    @jestdotty (actually scratch that, the just codebase seems *very* small file-ish lol)
  • 1
    Every time I see "fn" in Rust I think "f'n'"

    Check out my f'n' code!
Add Comment