{"by":"ellenhp","descendants":24,"id":42413464,"kids":[42414879,42415824,42417162,42414655,42423259,42414118,42416675,42420093,42415316,42415275,42415401],"score":167,"text":"I made a public transport route planning program that&#x27;s capable of planning journeys across Europe or North America! There&#x27;s only one other FOSS project I know of (MOTIS&#x2F;Transitous) that can do transit routing at this scale, and in the testing I&#x27;ve performed mine is about 50x faster. I&#x27;ve spent a few weeks on this project now and it&#x27;s getting to the point where I can show it off, but the API responses need a lot of work before they&#x27;re usable for any downstream application.<p>Example query (Berlin to Barcelona): <a href=\"https:&#x2F;&#x2F;farebox.airmail.rs&#x2F;plan&#x2F;52.5176122,13.4180261&#x2F;41.380458,2.1455451\" rel=\"nofollow\">https:&#x2F;&#x2F;farebox.airmail.rs&#x2F;plan&#x2F;52.5176122,13.4180261&#x2F;41.380...</a><p>There are some bugs still. Notably, it&#x27;s not capable of planning the return trip for this route, nor the reverse of the trip from Seattle to NYC that I gave in the blog post.<p>Blog post: <a href=\"https:&#x2F;&#x2F;blog.ellenhp.me&#x2F;performant-intracontinental-transit-routing-in-rust\" rel=\"nofollow\">https:&#x2F;&#x2F;blog.ellenhp.me&#x2F;performant-intracontinental-transit-...</a><p>Repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;ellenhp&#x2F;farebox\">https:&#x2F;&#x2F;github.com&#x2F;ellenhp&#x2F;farebox</a><p>Side-note but in the past some have criticized my writing style and it&#x27;s been a bit hurtful at times but if you have <i>constructive</i> feedback on the blog post I&#x27;d appreciate it. I&#x27;m trying to get better at writing. :)","time":1734134428,"title":"Show HN: Performant intracontinental public transport routing in Rust","type":"story","url":"https://github.com/ellenhp/farebox"}