lisp 支援遠端debug

babyyellow發表於2012-02-16
practical common lisp 裡有一段話:

An even more impressive instance of remote debugging occurred on NASA’s 1998 Deep
Space 1 mission. A half year after the space craft launched, a bit of Lisp code was going to
control the spacecraft for two days while conducting a sequence of experiments. Unfortunately, a
subtle race condition in the code had escaped detection during ground testing and was already
in space. When the bug manifested in the wild—100 million miles away from Earth—the team
was able to diagnose and fix the running code, allowing the experiments to complete.14 One of
the programmers described it as follows:

Debugging a program running on a $100M piece of hardware that is
100 million miles away is an interesting experience. Having a read-eval-print
loop running on the spacecraft proved invaluable in finding and fixing
the problem.

在地球上除錯100w公里以外的外太空中航天器上的lisp 程式碼,並修改bug 這恐怕還是其他程式語言無法做到的。

當然了,erlang 也有這個功能,也可以不停機情況下更新程式碼。 其他開發語言還沒有聽過支援這個功能。
erlang 是否支援遠端debug 不很清楚。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/133735/viewspace-716567/,如需轉載,請註明出處,否則將追究法律責任。

相關文章