Page 1 of 2
Can PureBASIC run on a Raspberry Pi? Looked everywhere and
Posted: Wed Dec 05, 2012 11:14 pm
by Duffer123
cant get a straight answer...
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Wed Dec 05, 2012 11:43 pm
by idle
No PB can't run on Raspberry Pi!
As there is no arm support
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Thu Dec 06, 2012 8:50 am
by Duffer123
@ Idle,
Darn. That's a shame. Looks like I may have to learn how to program in python and pgame....

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Fri Dec 07, 2012 2:14 am
by fsw
Have you tried
go?
It runs on
raspberrypi.
Go is the easiest cross-compilable C-style language around (x86/x64/ARM-Win/Lin/OSX/BSD/Plan9) with real BASIC attributes like good strings, fast compile times, etc.
The only thing that is lacking is on the GUI front...
But if you want to do games there is a SDL package for go.
BTW: I have a raspberrypi but didn't have time yet to play with it. Have to wait until years-end for that...
If you install go it would be nice if you would let me know how it went.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Fri Dec 07, 2012 8:26 am
by Duffer123
@ fsw,
Thanks v much for the tip.
I have really only been programming with variants of basic, but I have just started in to c# (and XNA, sorry).
So maybe Go is a good option.
Although, I'm like you. I'm stuck in to 'real' work now til xmas break. Maybe after that I'll get going with Go, so to speak.
Thanks again.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Fri Dec 07, 2012 10:26 am
by moogle
Duffer123 wrote:@ Idle,
Darn. That's a shame. Looks like I may have to learn how to program in python and pgame....

Python is quite a nice language to learn, you'll like it. It might seem quite different to basic but you can see the uses for the differences after a while.
I especially like the ability to reference the characters in a string as an array.
Code: Select all
tmp$="star"
tmp$[0] //s
tmp$[1] //t
tmp$[2] //a
tmp$[3] //r
tmp$[1:3] //tar
tmp$[1:] //tar
Gets rid of having to use Mid() all the time.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Fri Dec 07, 2012 9:36 pm
by fsw
moogle wrote:Duffer123 wrote:@ Idle,
Darn. That's a shame. Looks like I may have to learn how to program in python and pgame....

Python is quite a nice language to learn, you'll like it. It might seem quite different to basic but you can see the uses for the differences after a while.
I especially like the ability to reference the characters in a string as an array.
Code: Select all
tmp$="star"
tmp$[0] //s
tmp$[1] //t
tmp$[2] //a
tmp$[3] //r
tmp$[1:3] //tar
tmp$[1:] //tar
Gets rid of having to use Mid() all the time.
This is the go equivalent:
Code: Select all
tmp := "star" // := gets the type out of the value
tmp[0] //s
tmp[1] //t
tmp[2] //a
tmp[3] //r
tmp[1:3] //tar
tmp[1:] //tar
Some people like Python, but I can't stand the dangling code...

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Sat Dec 08, 2012 1:09 am
by the.weavster
I think
Gambas versions > 3.2 work on the Raspberry Pi.
Do take a look at Python though, it's a great language.
Don't be put off by the angle of the dangle, its breadth is hugely impressive

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Sat Dec 08, 2012 9:00 am
by Duffer123
@ the.weavster,
Many thanks for pointing out Gambas. I will also get around to trying python. Embroiled in c# at the mo....
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Thu Apr 04, 2013 5:30 pm
by link0101
yea, as I posted elsewhere, be a good move on Fred's part to make a small version of Purebasic that could run on the Raspberry Pi,
call it Pure_Pi Whipped Cream edition, or Pure-Pi WC.
Doesnt need to be fully compatible with PB, just be as easy to use is all,.
and Charge 50 bucks or so for it, we'd all pitch in, right people?
I hate Python, god awful looking syntax, and takes crap loads of coded to do what PB can do in about 8 lines.
Peace Out Programmers!
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Mon Apr 08, 2013 6:19 pm
by the.weavster
link0101 wrote:I hate Python, god awful looking syntax, and takes crap loads of coded to do what PB can do in about 8 lines.
You're doing it wrong, try writing code instead of crapping it. Python code is just great so long as you're not relying on an arsehole to produce it.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Mon Apr 08, 2013 6:52 pm
by moogle
the.weavster wrote:link0101 wrote:I hate Python, god awful looking syntax, and takes crap loads of coded to do what PB can do in about 8 lines.
You're doing it wrong, try writing code instead of crapping it. Python code is just great so long as you're not relying on an arsehole to produce it.
Python is really nice, and the features it has are awesome. If anything it would be great if PB had some of python's string operators.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Tue Apr 09, 2013 12:54 am
by Tenaja
moogle wrote:... it would be great if PB had some of python's string operators.
ditto.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Tue Apr 09, 2013 1:27 am
by IdeasVacuum
it would be great if PB had some of python's string operators.
actually, it would be great if PB had C's sprintf_s().
and C can do this too, making it easy to test/change individual characters:
Code: Select all
char tmp[4] = "star"; // a 'char array' as a string
tmp[0]; //s
tmp[1]; //t
tmp[2]; //a
tmp[3]; //r
It would be nice if there was a PB for Arm, but there is no doubt that supporting Win+OSx+Linux is already a mighty big task.
Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere
Posted: Sat Apr 13, 2013 12:23 pm
by charvista
supporting Win+OSx+Linux is already a mighty big task
I believe that it is a huge task, and last week, I was wondering why PB is not concentrating to Windows only, as it is the most important OS, and then use VMWare or equivalent to run it on the other Operating Systems?
This could make development of PureBasic go much faster.
"Just my 2 cents" as some are saying
