This is mostly a conceptual question. Is it possible to have two scripts running on an Arduino, where one is a Julia script, and one is a Python script or something like that?
Asked
Active
Viewed 108 times
1
-
julialang.org refers to “Julia’s LLVM-based just-in-time compiler”. If you get LLVM bitcode from the compiler, it might be possible to put that through the AVR Backend To LLVM to get an assembly language or ELF file to download to an AVR. – James Waldby - jwpat7 Mar 03 '17 at 20:34
1 Answers
0
Basically no, because you can't run either Julia or Python, let alone both together.
Bear in mind also what an Arduino is (what most of them are, anyway): a low (computational) power microprocessor with a tiny amount of RAM. No operating system, no multi-tasking. Not in the same league as, for example, a Raspberry Pi.
Mark Smith
- 2,181
- 1
- 10
- 14
-
Thats a pretty straight forward answer lol! Thanks. I'm not surprised by Python because it's interpretted, but Julia compiles into machine code, so I thought that would at least work. – Graham Chapman Mar 03 '17 at 17:54
-
And basically correct one. There is ofcourse possibility to run interpreted langs on Arduino, even python ( http://stackoverflow.com/questions/8114916/is-there-a-way-to-compile-python-code-onto-an-arduino-uno ), there are some OS for it too and it can use external memory somehow, but Arduino is better used for other tasks, where you need small platform for some small things, which should be lightweigth and fast and usually solve just one or two tasks. Cars, motocycles, bycicles and walks are also best fit for different tasks :) – gilhad Mar 04 '17 at 23:33
-