3 comments

  • klodolph 1 hour ago
    Everything being static inline makes it hostile to these older systems which have limited RAM. Use of float makes it unlikely that you’d run it on the PlayStation, which has no FPU.
    • aaaronic 6 minutes ago
      Most of the older consoles don't have an FPU. Fixed point is king on those older systems.
  • iamcoder18 2 hours ago
    It's hand written and should also work on microcontrollers like ESP32s or Pi Pico 2. Have you tried anything like that yet?

    The Pico in particular has enough RAM and supports floating point math.

  • Attummm 1 hour ago
    Sounds interesting, but there isn't any description or readme to go by.
    • bouchard 1 hour ago
      The README is in the header file (picophysics.h)
      • monkpit 48 minutes ago
        why not in a readme
        • Retr0id 27 minutes ago
          It's common enough to just copy single-file headers into a project. Now the docs come with it.