Page 1 of 1

Supported programming languages on RPi

Posted: Fri Feb 14, 2020 12:49 pm
by Benleno2k
I have a limited knowledge of programming, but am interested in buying a Rasberry Pi when it is released.

Can anyone tell me if it's possible to program on the device in C++?

I understand it's an ARM processor, and supports a version of Linux. But aside from that it's a normal Mini PC essentially. So will it simply be dependent on whether or not the IDE is supported. For example Visual Studio will not work on it, but an open-source cross-platform IDE like Code::Blocks may run on it?
tks

Re: Supported programming languages on RPi

Posted: Fri Feb 14, 2020 1:57 pm
by topguy
I have a limited knowledge of programming, but am interested in buying a Rasberry Pi when it is released.
The first Pi model was released 8 years ago, I think you can stop waiting..
Can anyone tell me if it's possible to program on the device in C++?
Yes, and almost any other programming language you can think of.
But aside from that it's a normal Mini PC essentially.
Yes its a good start to think of it that way.
So will it simply be dependent on whether or not the IDE is supported.
An IDE is not a programming language and many programmers on Linux work completely without an IDE.
( their editor/debugger/etc. are separate programs, its a DE without the (I)ntegrated part. )
For example Visual Studio will not work on it, but an open-source cross-platform IDE like Code::Blocks may run on it?
Correct and there are a few IDEs to choose from.
But sooner or later you will need to learn some of the command-line tools needed to build programs or libraries, the details that IDEs try to hide from you.
With VS on Windows you can work for many years without realizing that there are "make" or "cc" beneath it all, on Linux you will get to know these quite early ( and you should too IMNSHO )

Re: Supported programming languages on RPi

Posted: Fri Feb 14, 2020 2:11 pm
by topguy
Dammit.. another copycat message..
viewtopic.php?f=63&t=1923&p=24345

Re: Supported programming languages on RPi

Posted: Fri Feb 14, 2020 2:47 pm
by jamesh
Indeed - a sneaky spammer. Banned. But leaving message here as still useful to people, and you did write a good reply!

Re: Supported programming languages on RPi

Posted: Fri Feb 14, 2020 6:46 pm
by Heater
In a recent post, far away in another thread, I was reprimanded for speculating that we are being inundated with posts by some kind experimental AI/deep learning/machine learning/SPAM bot.

The warnings to me are:

1) A new users fist post.

2) A really weird question. Posed in a weird way. Weird enough that it sort of, kind of sounds like a real newbie question from someone whose native language is not English. But makes no sense whichever way you look at it. Something does not ring true.

But as we see here, this is either a very dumb human or a bot.

There is another case here just now: viewtopic.php?f=91&t=265058#p1611617

Of course one does not want to alienate new users with their first posts and naive questions. Expressed in what is likely not their native language, But really, it is getting harder and harder to tell human from bot.

I would really like to know the true origin of many of these posts.

Re: Supported programming languages on RPi

Posted: Fri Feb 14, 2020 11:50 pm
by mahjongg
Heater wrote:
Fri Feb 14, 2020 6:46 pm
In a recent post, far away in another thread, I was reprimanded for speculating that we are being inundated with posts by some kind experimental AI/deep learning/machine learning/SPAM bot.

The warnings to me are:

1) A new users fist post.

2) A really weird question. Posed in a weird way. Weird enough that it sort of, kind of sounds like a real newbie question from someone whose native language is not English. But makes no sense whichever way you look at it. Something does not ring true.

But as we see here, this is either a very dumb human or a bot.

There is another case here just now: viewtopic.php?f=91&t=265058#p1611617

Of course one does not want to alienate new users with their first posts and naive questions. Expressed in what is likely not their native language, But really, it is getting harder and harder to tell human from bot.

I would really like to know the true origin of many of these posts.
copy/paste spammers are nothing new..... just another spam bot.

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 1:04 am
by Gavinmc42
just another spam bot.
These bots are everywhere.
I'm having fun learning NLP and NEAT-Python, when can we expect Bots answering?

There is a nice tutorial on a Flappy bird Evolving AI game that just ran on the Pi4.
https://www.youtube.com/watch?v=MMxFDaIOHsE
Sure, it's a very simple game but it evolved very fast even written in Python.
An AI version of Frogger?
I was expecting to use a more complex language to start learning AI.
Turns out a Pi4 with Python is fast enough for simple stuff.

Hmm, I wonder how to program my weird answers into a bot?
Would anyone notice?

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 1:10 am
by davidcoton
Gavinmc42 wrote:
Sat Feb 15, 2020 1:04 am
Hmm, I wonder how to program my weird answers into a bot?
Would anyone notice?
I thought you was a bot :?: :?: :!:

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 1:24 am
by plugwash
Heater wrote:
Fri Feb 14, 2020 6:46 pm
Something does not ring true.
These posts seem to be based on copying some of the oldest posts on the forums, often ones written before the raspberry pi was released to the public. The post makes a lot more sense in the context of a not-yet-released product than it does in the current context.

I presume the spammers are doing this to work around the new-poster checks, it's easy for an inattentive mod to let one of these through, and then the spammer can come along and post their actual spam later.

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 5:54 am
by Gavinmc42
I thought you was a bot :?: :?: :!:
Not yet, still having trouble with the Neuralink downloads.

Seems like a lot of effort for a spammer.
Had to do wiki to find out why they would do it.
Monty Python is to blame :o
I learned something new, mission accomplished.
Non stop learning with Pi's even if it is a spammer.

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 7:46 am
by jamesh
plugwash wrote:
Sat Feb 15, 2020 1:24 am
Heater wrote:
Fri Feb 14, 2020 6:46 pm
Something does not ring true.
These posts seem to be based on copying some of the oldest posts on the forums, often ones written before the raspberry pi was released to the public. The post makes a lot more sense in the context of a not-yet-released product than it does in the current context.

I presume the spammers are doing this to work around the new-poster checks, it's easy for an inattentive mod to let one of these through, and then the spammer can come along and post their actual spam later.
Not inattentive. We just don't have enough time to do a search on every post, we do get a lot in every day.

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 8:27 am
by ankith26
Heater wrote:
Fri Feb 14, 2020 6:46 pm
.
But as we see here, this is either a very dumb human or a bot.

There is another case here just now: viewtopic.php?f=91&t=265058#p1611617
That person is not a bot, you can make out by the way in which they ask the question.
Even I have got such ideas in the past, every person who is new to the pi is always curious about what they can do with it/how to make it better.

Re: Supported programming languages on RPi

Posted: Sat Feb 15, 2020 11:14 am
by jamesh
Think we have veered far enough from the subject.