Untitled

>youtu.be/WeA7edXsU40
>1:18
>Using C and Python to shoot rockets to the Moon

BASED NASA

Attached: Screenshot_20181117-190623~2.png (1312x1443, 1.08M)

Other urls found in this thread:

flownet.com/gat/jpl-lisp.html
twitter.com/NSFWRedditGif

>forget I'm sshed into mars rover
>sudo apt update
>all the python libraries are fucked
>rover starts laser beaming the shit out of martian cities

The rover has backup computers

As opposed to Node and TypeScript?
Fuck off, webdev faggot. This is the most reasonable set of languages to use.
C for the heavy lifting/backend/low-level stuff, and Python for the quick prototyping and debugging.
Only a nigger would disagree with this.

replace c with go and you're correct.

>cmake

GNU make shitters BTFO'd

If they used Rust and Lua we would have already left the solar system

This isn't sci-fi we're talking about, keep the suggestions reasonable please.

Assembly and Smalltalk?

WE

assembly for sure, can't speak for smalltalk though, never used it

I work on guidance, navigation and control for a rocket company and we use MATLAB and C++. We’re about to switch to Python from MATLAB because upper management wants to save money on licenses.

Ada and elixir

Switch to Julia

None of the boomers in the aerospace industry trust it. It’s going to take decades of people using it at universities. They still barely trust LQG algorithms.

You should take a weekend project to look into Smalltalk it's really neat, not just as a language but the ecosystem and all, can recommend I enjoy it

Switch to GNU Octave :^)

>go
are you literally retarded?

Shame, if a big organization like NASA would put its weight behind Julia, it would gain a lot of traction and hopefully deprecate python

>C and Python
That's how I know moon landing didn't happen.

>matlab code with gnu interfaces

But that's using the CMake generator for GNU Make
I wonder if they're using CMake properly though

no need to be racist dude

*Rust and Haskell

>Jow Forums unironically thinks that C, python or ASM are appropriate languages to program spacecraft
flownet.com/gat/jpl-lisp.html
For the record, NASA is still trying to develop the equivalent of Remote Agent.

You just don't understand.
How exactly do you suppose you're going to 'rapid prototype' once your satellite is flying past Saturn, or debug C code with Python?
What sort of 'heavy lifting' is a spacecraft going to do that requires speed above safety?

Your spacecraft should have a REPL. It should have an inspector and a debugger both included in the programming language you're debugging, and it should have a self-hosted compiler. The language should be memory safe and minimize side effects. It should have interactive condition handling, so that if it does crash it can be recovered rather than being restarted by some retard shit like cron.

you guys know the concept of an RTOS

You literally don't need any other languages.

Underrated post.

Fuck you

Attached: C gang.png (388x162, 13K)

Is that sublime text?

Attached: 34434.png (1366x768, 858K)

> Python
> Sublime
> LabVIEW
based af

And Windows 10.

> that on_rio_status function

Looks like beginner code.

26th post best post

they use Ubuntu

spacecraft are realtime, lisp gc is not

Ubuntu dumb ass
Before they used Vista and 7

>not checking size of temps
>not using a loop over tuple of named elements
>not taking advantage of Python's object model to get those attributes
def on_rio_status( self, temps ):
if len( temps ) != some_number:
raise RuntimeError(
"need {} values".format( some_number )
)
for i in range( some_number ):
getattr(
self.ui,
"tc{}".format( i )
).setValue( temps[ i ] )

>Pyruby
Lol. Maybe if your learning and need the modern equivalent of BASIC.

they are old they probably don't know anything after C

Based

look at the start button. clearly NOT unbuntu

should be using lisp

shit thread
but here's an insightful question.

Just how different is the tech they send up into space considering all the things that they have to look out for?

As in, does the RAM they use out in space satellites and space stations error-correcting? Is cosmic radiation a bigger issue where a ray of some kind of radiation can just come in and cause a bit to be flipped? Do they use x86 processors or ARM?