Benleno2k
Posts: 1
Joined: Fri Feb 14, 2020 12:46 pm

Supported programming languages on RPi

Fri Feb 14, 2020 12:49 pm

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

User avatar
topguy
Posts: 6269
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Supported programming languages on RPi

Fri Feb 14, 2020 1:57 pm

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 )

User avatar
topguy
Posts: 6269
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Supported programming languages on RPi

Fri Feb 14, 2020 2:11 pm

Dammit.. another copycat message..
viewtopic.php?f=63&t=1923&p=24345

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25377
Joined: Sat Jul 30, 2011 7:41 pm

Re: Supported programming languages on RPi

Fri Feb 14, 2020 2:47 pm

Indeed - a sneaky spammer. Banned. But leaving message here as still useful to people, and you did write a good reply!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

Heater
Posts: 14690
Joined: Tue Jul 17, 2012 3:02 pm

Re: Supported programming languages on RPi

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.
Memory in C++ is a leaky abstraction .

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12654
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Supported programming languages on RPi

Fri Feb 14, 2020 11:50 pm

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.

User avatar
Gavinmc42
Posts: 4338
Joined: Wed Aug 28, 2013 3:31 am

Re: Supported programming languages on RPi

Sat Feb 15, 2020 1:04 am

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?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
davidcoton
Posts: 4648
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: Supported programming languages on RPi

Sat Feb 15, 2020 1:10 am

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 :?: :?: :!:
Signature retired

plugwash
Forum Moderator
Forum Moderator
Posts: 3545
Joined: Wed Dec 28, 2011 11:45 pm

Re: Supported programming languages on RPi

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.

User avatar
Gavinmc42
Posts: 4338
Joined: Wed Aug 28, 2013 3:31 am

Re: Supported programming languages on RPi

Sat Feb 15, 2020 5:54 am

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.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25377
Joined: Sat Jul 30, 2011 7:41 pm

Re: Supported programming languages on RPi

Sat Feb 15, 2020 7:46 am

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.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

ankith26
Posts: 234
Joined: Mon Mar 25, 2019 11:08 am
Location: /home/pi/pythonprojects/test.py
Contact: Website

Re: Supported programming languages on RPi

Sat Feb 15, 2020 8:27 am

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.
I sat thinking for 5 minutes on what to put here. Finally I put something like this.
Check out my github page @ https://github.com/ankith26

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25377
Joined: Sat Jul 30, 2011 7:41 pm

Re: Supported programming languages on RPi

Sat Feb 15, 2020 11:14 am

Think we have veered far enough from the subject.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

Return to “General discussion”