返回首页
24小时热榜
<a href="https://x.com/mitchellh/status/2020252149117313349" rel="nofollow">https://x.com/mitchellh/status/2020252149117313349</a><p><a href="https://nitter.net/mitchellh/status/2020252149117313349" rel="nofollow">https://nitter.net/mitchellh/status/2020252149117313349</a><p><a href="https://github.com/ghostty-org/ghostty/pull/10559" rel="nofollow">https://github.com/ghostty-org/ghostty/pull/10559</a>
我们是汤姆和瑞安,我们合作开发了一个使用Rust和SIMD的算法,以全面搜索地球上最长的视线。我们可以确认,之前推测的吉尔吉斯斯坦的皮克·丹科娃和中国的兴都库什之间的视线确实是最长的,达到了530公里。
我们在<a href="https://alltheviews.world" rel="nofollow">https://alltheviews.world</a>上详细介绍了所有细节。
此外,还有一张互动地图,展示了超过10亿条最长视线,覆盖全球,您可以在<a href="https://map.alltheviews.world" rel="nofollow">https://map.alltheviews.world</a>上查看。只需点击任何一个点,它就会加载该点的最长视线。
有些人可能还记得几个月前汤姆的帖子[1],讲述了如何高效地打包可视性瓦片以计算整个星球。现在这一切都完成了。计算过程使用了数百个AMD Turin核心、数百GB的内存、几TB的磁盘空间,并在多台机器上持续运行了2天。
如果您对技术细节感兴趣,瑞安和我已经详细撰写了关于我们所使用的算法和流程的内容:
* 汤姆的博客文章:<a href="https://tombh.co.uk/longest-line-of-sight" rel="nofollow">https://tombh.co.uk/longest-line-of-sight</a>
* 瑞安的技术解析:<a href="https://ryan.berge.rs/posts/total-viewshed-algorithm" rel="nofollow">https://ryan.berge.rs/posts/total-viewshed-algorithm</a>
这是一项充满热情的工作,我们希望它能在技术和自然上激励到您,让您亲自去欣赏这些壮丽的景观!
1. <a href="https://news.ycombinator.com/item?id=45485227">https://news.ycombinator.com/item?id=45485227</a>