AI learns to play flappy bird (code in comments)

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rust-flappy-bird-ai

    AI learns to play flappy bird using neuro-evolution, implemented in Rust using macroquad

  • Repository: https://github.com/bones-ai/rust-flappy-bird-ai

  • rayon

    Rayon: A data parallelism library for Rust

  • Maybe rayon could make some loops there and there faster if needed.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • samply

    Command-line sampling profiler for macOS and Linux

  • I grabbed a quick profile using samply and noticed two things: Even in fast mode, the simulation only updates when the screen is redrawn, so its update frequency is limited by the refresh rate. And the simulation seems to mostly be bottle-necked by Vec reallocation, so re-using Vecs might help.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts