Hello everyone, i was wondering what would be the best programming language for the raspberry pi.
I am a software developer which works with C#, so I got that going for me.
I also already finished quite a big project with C# and Windows IOT on the Raspberry Pi but I wondered if there are better languages / possibilities out there.
My question, what is the favourite language on the Raspberry Pi?
What is the most beneficial language on the Pi because it can do the most (Fast, UI)?
I would like to do a little "homeautomation project" where I get myself a Pi with a 7" Touch Display.
So I would definetly need a possibility to create a nice UI (like UWP).
This is something I would like to programm on my own, even if there are some solutions out there.
Also I am thinking about doing this as a web service which then is displayed on the Raspberry Pi.
What would you recommend me to use as the programming language?
Thanks for your feedback and answers.
-
- Posts: 1
- Joined: Thu Jul 23, 2020 5:05 pm
Questions about programming on the Raspberry Pi [spam]
Last edited by relindwto6 on Sat Jul 25, 2020 11:31 pm, edited 1 time in total.
- hitsware
- Posts: 268
- Joined: Sat Mar 26, 2016 10:12 pm
- Location: sacramento , california , usa
- Contact: Website
Re: Questions about programming on the Raspberry Pi
Call me old fashioned .
I like this one :
https://basic256.org/ ( available in repository )
BUT
The de rigueur seems to be Python
( which comes already installed )
I like this one :
https://basic256.org/ ( available in repository )
BUT
The de rigueur seems to be Python
( which comes already installed )
http://www.hitswares.com/
- FTrevorGowen
- Forum Moderator
- Posts: 6066
- Joined: Mon Mar 04, 2013 6:12 pm
- Location: Bristol, U.K.
- Contact: Website
Re: Questions about programming on the Raspberry Pi
Historically, "Python" is the "root" of Pi in "Raspberry Pi" and, AIUI, the "main" language used "educationally". Old (Ancient?) scientific programmer's like myself may prefer 'C' but Linux supports quite a few others. TBH, I suggest use the language(s) you're most comfortable with and which support any specific GPIO-related tasks you need. IDE's exist too (I'm not a "big fan" as I don't like "hidden" build/compilation/linkage actions and prefer the GNU autotools etc. - partially because, prior to my retirement, I contributed to and maintained a complex combined Fortran/'C' suite of programs)hitsware wrote: ↑Thu Jul 23, 2020 6:09 pmCall me old fashioned .
I like this one :
https://basic256.org/ ( available in repository )
BUT
The de rigueur seems to be Python
( which comes already installed )
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm
Re: Questions about programming on the Raspberry Pi
Yes. Look at the number of posts in the "programming" part of this forum and you will see that Python is by far the most popular (or at least the most discussed) followed by C/C++.FTrevorGowen wrote: ↑Thu Jul 23, 2020 6:43 pmHistorically, "Python" is the "root" of Pi in "Raspberry Pi" and, AIUI, the "main" language used "educationally".
The Raspberry Pi OS is Linux which is written in C, as are most of the surrounding tools. So C is the language that can best be described as "native" to the Pi, and C is also the fastest. If you need help on a C library function for example, the system manual pages will cover them all.
Python and C (and C++) are both pre-installed (that is, included within the OS) so they work out of the box.
Python and C have great access to the GPIO (much of the code that directly accesses the GPIO is written in C of course).
See this superb (included) library which has C and Python interfaces:-
http://abyz.me.uk/rpi/pigpio/
Having said that, there are many many languages available, so choose whichever you like most!
My personal choice is Python for interpreted and C for compiled.
Last edited by jahboater on Thu Jul 23, 2020 7:03 pm, edited 1 time in total.
Pi4 8GB (Raspberry Pi OS 64-bit), Pi4 4GB, Pi4 2GB, Pi1 Rev 1 256MB, Pi Zero
Re: Questions about programming on the Raspberry Pi
relindwto6 wrote: ↑Thu Jul 23, 2020 5:26 pmHello everyone, i was wondering what would be the best programming language for the raspberry pi.
I am a software developer which works with C#, so I got that going for me.
I also already finished quite a big project with C# and Windows IOT on the Raspberry Pi but I wondered if there are better languages / possibilities out there.
My question, what is the favourite language on the Raspberry Pi?
What is the most beneficial language on the Pi because it can do the most (Fast, UI)?
I would like to do a little "homeautomation project" where I get myself a Pi with a 7" Touch Display.
So I would definetly need a possibility to create a nice UI (like UWP).
This is something I would like to programm on my own, even if there are some solutions out there.
Also I am thinking about doing this as a web service which then is displayed on the Raspberry Pi.
What would you recommend me to use as the programming language?
Thanks for your feedback and answers.
It's just a computer. A physically small, low power requirement, cheap to buy, computer.
It can be programmed using just about any computer programming language you have heard of. And probably also quite a few you haven't. The fact that you have managed to use c# is itself evidence of that.
A lot of people gravitate towards Python for ease of prototyping/development and range of pre-existing libraries. Including UIs. And web services..
But no recommendation from me. Use what works for you.
There have been many such discussions in the past. They are usually inconclusive.
Re: Questions about programming on the Raspberry Pi
It also runs Linux (the "official" OS called Raspberry Pi OS is based on Debian Linux).
Which means a wide range of high quality, and free, compilers and interpreters are either pre-installed or are mostly a simple "apt install" away.
Pi4 8GB (Raspberry Pi OS 64-bit), Pi4 4GB, Pi4 2GB, Pi1 Rev 1 256MB, Pi Zero
Re: Questions about programming on the Raspberry Pi
I would go with Perl
Re: Questions about programming on the Raspberry Pi
for RPi programming I use python via IDLE (seems to take fewer resources than Mu)
for programming arduinos (and arduino compatible microcontrollers) using RPi, I use Arduino IDE....
for programming arduinos (and arduino compatible microcontrollers) using RPi, I use Arduino IDE....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Re: Questions about programming on the Raspberry Pi
I believe that Thonny is the "official" RPT supported Python IDE.
(Included in Raspberry Pi OS)
(Included in Raspberry Pi OS)
Pi4 8GB (Raspberry Pi OS 64-bit), Pi4 4GB, Pi4 2GB, Pi1 Rev 1 256MB, Pi Zero
Re: Questions about programming on the Raspberry Pi
If you are used to C# I would just use Java. But then I would use Java anyway
.

- mahjongg
- Forum Moderator
- Posts: 13695
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: Questions about programming on the Raspberry Pi
OP was a spammer, deleted several post edited in hidden spamlinks and retired the spammer
on request I will not delete this thread
on request I will not delete this thread