Can PureBASIC run on a Raspberry Pi? Looked everywhere and

Everything else that doesn't fall into one of the other PB categories.
Duffer123
User
User
Posts: 42
Joined: Fri Nov 30, 2012 11:40 pm

Can PureBASIC run on a Raspberry Pi? Looked everywhere and

Post by Duffer123 »

cant get a straight answer...
User avatar
idle
Always Here
Always Here
Posts: 5834
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post by idle »

No PB can't run on Raspberry Pi!

As there is no arm support
Windows 11, Manjaro, Raspberry Pi OS
Image
Duffer123
User
User
Posts: 42
Joined: Fri Nov 30, 2012 11:40 pm

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post by Duffer123 »

@ Idle,

Darn. That's a shame. Looks like I may have to learn how to program in python and pgame.... :(
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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.

I am to provide the public with beneficial shocks.
Alfred Hitshock
Duffer123
User
User
Posts: 42
Joined: Fri Nov 30, 2012 11:40 pm

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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.
moogle
Enthusiast
Enthusiast
Posts: 372
Joined: Tue Feb 14, 2006 9:27 pm
Location: London, UK

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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.
Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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
:mrgreen:

Some people like Python, but I can't stand the dangling code...
:P

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
the.weavster
Addict
Addict
Posts: 1576
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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 :wink:
Duffer123
User
User
Posts: 42
Joined: Fri Nov 30, 2012 11:40 pm

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post by Duffer123 »

@ the.weavster,

Many thanks for pointing out Gambas. I will also get around to trying python. Embroiled in c# at the mo....
link0101
User
User
Posts: 34
Joined: Mon Jul 14, 2008 5:03 pm

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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!
User avatar
the.weavster
Addict
Addict
Posts: 1576
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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.
moogle
Enthusiast
Enthusiast
Posts: 372
Joined: Tue Feb 14, 2006 9:27 pm
Location: London, UK

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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.
:lol:

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.
Image
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post by Tenaja »

moogle wrote:... it would be great if PB had some of python's string operators.
ditto.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
charvista
Addict
Addict
Posts: 949
Joined: Tue Sep 23, 2008 11:38 pm
Location: Belgium

Re: Can PureBASIC run on a Raspberry Pi? Looked everywhere

Post 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. :o

"Just my 2 cents" as some are saying :mrgreen:
- Windows 11 Home 64-bit
- PureBasic 6.10 LTS (x64)
- 64 Gb RAM
- 13th Gen Intel(R) Core(TM) i9-13900K 3.00 GHz
- 5K monitor with DPI @ 200%
Post Reply