Show HN: I wrote a flight simulator in my own programming language

· coding · Source ↗

TLDR

  • navid-m/flightsim is a flight simulator built in a custom programming language, published on GitHub.

Key Takeaways

  • Project lives at github.com/navid-m/flightsim; minimal source metadata available beyond the repo name and description.
  • Building a non-trivial application like a flight simulator serves as a real-world stress test for a custom language.
  • The project is self-contained and open source, making it inspectable as both a language demo and a sim prototype.

Hacker News Comment Review

  • The custom language compiles to QBE IR and optionally C99; optimization of generated QBE has not been a focus yet, so performance is an open question.
  • Commenters flagged missing roll control and suggested using static lift/drag coefficients as a low-cost path toward more realistic flight dynamics.

Notable Comments

  • @amelius: “using your own programming language is the best proof that you didn’t vibe-code it”
  • @stackghost: notes conventional aircraft need direct roll control, and static lift/drag coefficients would improve fidelity without much complexity.

Original | Discuss on HN