2

As of now, I do not own a Raspberry Pi, but I really want to buy one. I really want to know what programming languages it supports. What programming lanaguages does it support, and does it support HTML 5 in its browser? I only know that it can run Python scripts and that there's a Minecraft Pi, so it must also support Java - but does it support anything else like C/C++ or C#?

2
  • 4
    This question shows no evidence of any research
    – Milliways
    Commented Apr 26, 2014 at 7:43
  • The Pi supports almost anything that a regular Linux PC does.
    – Fred
    Commented Apr 26, 2014 at 19:57

3 Answers 3

4

Being a linux computer, it supports basically tens if not hundreds of programming languages, you just have to install the support you need if it's not installed.

Besides Python, Java, C/C++ you may use PHP, bash scripting, AWK, assembly language, LUA, JS scripting, HTML/CSS (is it a programming language?), Clojure, Haskell, Erlang, Forth, Pascal, TeX, SQL, Ruby, Smalltalk and so on... it's by no means a complete list.

2
  • 1
    The question also specifically asks about C# - I believe this is possible using mono but it may not support the latest version of the specs. I've never tried this.
    – francis
    Commented Apr 26, 2014 at 8:25
  • Haskell is pretty useless on RPi. Very hard to setup (manual fiddling with flags is required), takes hours to compile libraries and no crosscompilation means it is rather impractical.
    – menfon
    Commented Nov 29, 2021 at 14:23
2

And importantly, Mathematica (Wolfram Language). Already installed and free.

5
  • Thanks, I never knew that was a langauge, time for me to start learning it!
    – user14442
    Commented Apr 26, 2014 at 21:10
  • It will change your life forever.
    – Mark Adler
    Commented Apr 27, 2014 at 2:33
  • Not as much as Java ;)
    – user14442
    Commented Apr 27, 2014 at 15:39
  • Ah, yes. Java in a bad way. :-)
    – Mark Adler
    Commented Apr 27, 2014 at 16:44
  • :O no please don't say that, Java cover your ears while I cry
    – user14442
    Commented Apr 27, 2014 at 17:27
0

The Raspberry Pi has a large suite of programming languages at your disposal. Pre-installed is the GCC compilation software. This allows you to program in languages such as C, C++, C# and (possibly) FORTRAN.

Also installed is the Java Development Kit. This allows you to compile and run Java programs.

The main programming language is Python with both version 2.7 and 3.2 installed already.

For shell scripting, Bash is available.

The Pi also allows for Ruby, Perl and Lisp.

If that isn't enough, you can always download other compilers and interpreters using apt-get or binaries off the web.

1
  • 1
    Wow, this is amazing, it has the compiler included as well! Cant wait to buy my, to start coding. Not like windows and you have to install all of the compilers, SDK, and interpreters
    – user14442
    Commented Apr 26, 2014 at 21:10