All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Developing a Space Flight Simulator: From C to GNU Guile to Clojure

By

todsacerdoti

8mo ago· 10 min readen

Summary

A developer shares their journey of creating a space flight simulator, starting from inspiration by Orbiter 2016 simulator. They detail their technical progression from prototyping rigid body physics in C to using GNU Guile (Scheme) for its native interface and hygienic macros, and finally settling on Clojure for its multi-methods and fast data structures. The article focuses on programming language choices and technical implementation details for game development.

Key quotes

· 4 pulled
In 2017 I discovered the free of charge Orbiter 2016 space flight simulator which was proprietary at the time and it inspired me to develop a space flight simulator myself.
I used GNU Guile (a Scheme implementation) because it has a good native interface and of course it has hygienic macros.
Eventually I got interested in Clojure because unlike GNU Guile it has multi-methods as well as fast hash maps and vectors.
I prototyped some rigid body physics in C and later in GNU Guile and also prototyped loading and rendering of Wavefront OBJ files.
Snippet from the RSS feed
Developing a Space Flight Simulator in Clojure

You might also wanna read