用于编程Mars Lander的计算机语言 [英] computer language used to program Mars Lander

查看:74
本文介绍了用于编程Mars Lander的计算机语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有趣的文章我遇到了Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml

他们在JPL使用C编程火星着陆器,现在一切都好了!不是阿达。有人得到解释吗?我还想知道,当他们说C时,他们真的是指C ++。在我的经​​验中,这是一个经常使用的b / b $ b $,虽然不愉快的用法。

Interesting article I came across on Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml

They are using C at JPL to program Mars Lander and just about
everything now! Not Ada. Anyone got an explanation? I wonder also, do
they really mean C++ when they say C. In my experience, this is a
frequent, although disagreeable usage.

推荐答案

jh*****@gmail.com 写道:

有趣的文章我遇到了Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml


他们在JPL使用C来编程Mars Lander,现在只需要几美元b $ b!不是阿达。有人得到解释吗?我还想知道,当他们说C时,他们真的是指C ++。根据我的经验,这是一个频繁的,但是不愉快的用法。
Interesting article I came across on Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml

They are using C at JPL to program Mars Lander and just about
everything now! Not Ada. Anyone got an explanation? I wonder also, do
they really mean C++ when they say C. In my experience, this is a
frequent, although disagreeable usage.



它们甚至不使用内存分配。他们使用C的子集
我相信他们不使用C ++!

-

jacob navia
jacob at jacob point remcomp point fr

logiciels / informatique
http://www.cs.virginia.edu/~lcc-win32


7月14日,12日:18,jhc0 ... @ gmail.com < jhc0 ... @ gmail.comwrote:
On 14 Jul, 12:18, "jhc0...@gmail.com" <jhc0...@gmail.comwrote:

有趣的文章我遇到了Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml


他们在JPL使用C来编程Mars Lander,现在只需要几美元b $ b!不是阿达。有人得到解释吗?我还想知道,当他们说C时,他们真的是指C ++。根据我的经验,这是一个频繁的,但是不愉快的用法。
Interesting article I came across on Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml

They are using C at JPL to program Mars Lander and just about
everything now! Not Ada. Anyone got an explanation? I wonder also, do
they really mean C++ when they say C. In my experience, this is a
frequent, although disagreeable usage.



与人们普遍预期相反,太空探测器在使用技术方面非常保守。处理器已经老了

(因而得到证实)记忆很小(不太容易受到辐射)。


如果有一个错误他们不能记住只需升级软件。

他们可以,但它必须主要是为了下载

才能工作。


这些在这个世界里,C是必然的嵌入式系统,C仍然很受欢迎。


我怀疑它比C ++更容易证明C正确。


a = b + c;


可能与C中所说的一致(假设b和c具有良好的价值

和它没有溢出。在C ++中,可能有半打

超载

运营商。


-

Nick Keighley


我不知道我在世界上看到的是什么,但对我自己来说我似乎已经

只有

就像一个男孩在海边玩耍,然后转移到现在



然后找到一个更光滑的鹅卵石或更漂亮的外壳,而伟大的

真相的海洋在我面前都是未被发现的。

(伊萨克牛顿爵士)

contrary to popular expectations space probes are very
conservative in their use of technolgy. Processors are old
(and hence proven) memorys are small (less vulnerable to radiation).

Rememeber if there''s a bug they can''t just upgrade the software.
Well they can but it has to be mostly working for the download
to work.

These are essetially embedded systems and C is still popular
in that world.

I suspect its a damn sight easier to prove C correct than C++.

a = b + c;

probably does what it says in C (assuming b and c have good values
and it doesn''t overflow). In C++ there could be half a dozen
overloaded
operators in there.

--
Nick Keighley

I know not what I appear to the world, but to myself I seem to have
been
only like a boy playing on the sea-shore, and diverting myself in now
and
then finding a smoother pebble or a prettier shell, whilest the great
ocean of truth lay all undiscovered before me.
(Sir Issac Newton)


7月14日上午7:18, ; jhc0 ... @ gmail.com" < jhc0 ... @ gmail.comwrote:
On Jul 14, 7:18 am, "jhc0...@gmail.com" <jhc0...@gmail.comwrote:

有趣的文章我遇到了Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml


他们在JPL使用C来编程Mars Lander,现在只需要几美元b $ b!不是阿达。有人得到解释吗?我还想知道,当他们说C时,他们真的是指C ++。根据我的经验,这是一个频繁的,但是不愉快的用法。
Interesting article I came across on Slashdot:

http://developers.slashdot.org/devel...0/213211.shtml

They are using C at JPL to program Mars Lander and just about
everything now! Not Ada. Anyone got an explanation? I wonder also, do
they really mean C++ when they say C. In my experience, this is a
frequent, although disagreeable usage.



正如所指出的那样它是C的子集,如果它完全适合128M,那么今天的标准软件的大小相对较小(没有VM

AFAIK)。


这个项目的具体细节与地球上的生命安全不同。类型

的应用程序。如果探针软件出现故障,看门狗会将其重新启动到安全模式

。在那里,它将等待来自

home的说明/补丁。因此,关键部分是引导和通信

模块。其余的被允许失败并且可以修复。


乔治

As pointed out it was subset of C and the size of the software is
relatively small by todays standards if it all fits in 128M (no VM
AFAIK).

The specifics of this project differs from earthly "life safety" type
of applications. If probe software fails, watchdog will reboot it into
the safe mode. There it will sit waiting the instructions/patches from
home. Therefore, a critical part is a bootstrap and communication
module. The rest is allowed to fail and can be fixed.

George


这篇关于用于编程Mars Lander的计算机语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆