Author Topic: Raspberry Pi IDE / Language  (Read 7317 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Raspberry Pi IDE / Language
« on: May 24, 2012 »
Just wondering what you guys are planning to use to do your development on the Raspberry Pi?
I've done a fair bit of browsing around to find something suitable that I can usefor making intros and demos.
I read a few python tutorials but it doesn't really push my buttons.
Anyway, are any of you planning to use Python?  It seems very easy to get things up and running on the Pi with it.
I think I'll probably be using QT with C++, to me this looks like a perfect way of making stuff on the Pi;
http://qt.nokia.com/products/developer-tools
I'm also interested if anyone is looking into using FASM with the Pi as that's something I'd maybe like to try too.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: Raspberry Pi IDE / Language
« Reply #1 on: May 24, 2012 »
I think I'll probably be using QT with C++, to me this looks like a perfect way of making stuff on the Pi;
http://qt.nokia.com/products/developer-tools
Good choice - once you've got into Qt it's just wonderful to work with it.
Even the accompanying IDE (QtCreator) is by now a serious alternative to Visual Studio.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Raspberry Pi IDE / Language
« Reply #2 on: May 26, 2012 »
I'm about halfway through installing QTCreator.

Really happy that you rate QT Hellfire, I thought it looked good but I wasn't 100% sure.  Thanks :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Raspberry Pi IDE / Language
« Reply #3 on: May 26, 2012 »
I think the Python thing is part of Raspberry Pi's push to get school children to start programming again.

I too will be using C/C++, OpenGL (is it ES or a full spec?), and whatever tools I can get my hands on.  Though it may well turn out that getting a cross-compiler running with a Windows IDE and just using the Pi as a target will be easier - it's got a tiny amount of memory to be running a desktop and an IDE.

Jim
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: Raspberry Pi IDE / Language
« Reply #4 on: May 26, 2012 »
Really happy that you rate QT Hellfire, I thought it looked good but I wasn't 100% sure.
It will certainly take some time to get into it, though.
They extended the language by some extend (signal/slot for example) and quite some magic is happening behind the curtain.

Challenge Trophies Won:

Offline Canopy

  • Atari ST
  • ***
  • Posts: 208
  • Karma: 20
    • View Profile
Re: Raspberry Pi IDE / Language
« Reply #5 on: May 29, 2012 »
i'm using the mali es simulator framework over normal GL on windows to get the bulk of the code going, then i'm planning to do the platform specifics and cross compile on debian running in virtual box (which handily also supports gl acceleration)  or on the real thing (tm) if i have issues..

windows ide = vs2008
debian ide = probably geany

Offline Canopy

  • Atari ST
  • ***
  • Posts: 208
  • Karma: 20
    • View Profile
Re: Raspberry Pi IDE / Language
« Reply #6 on: May 22, 2013 »
can't believe the above post is almost a year old!


did you ever do anything shockwave?


as my other posts show, i've moved from opengl es emulation on windows to full blown GL (but i am ignoring immediate mode which doesn't help my sanity, but helps with ES)..

still planning on virtualbox with either debian as before, or possibly ubuntu but really i have too many things i still think i need to learn/implement in my common code before i think about getting my common code running on other O/Ss and experience is showing winter, especially a shitty one like we just had is best for home coding :)

Offline Chalisque

  • ZX 81
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: Raspberry Pi IDE / Language
« Reply #7 on: June 27, 2013 »
The kind of language stack I'm looking at is, from low to high:

1. Assembly, for those bits that C can't get right.
2. C for those really low level building blocks.
3. C# as a way to glue those C blocks together.  Inner loops should be factored into C, not written in C# so that there aren't real performance issues.
4. Something like IronPython or Boo as a more dynamic higher level glue for the C# bits.
5. A custom language for the problem domain for actually scripting the work.
6. A problem factoring language to automagically decide where things fit in the previous 5 languages.
7. Some kind of graphical diagram language so I can programme with a mouse.

You can get monodevelop, mono and boo for the pi.  C can be done in either clang or gcc.  The problem with Qt is the issue of paradigm lockin: once you're problem domain isn't easily expressed in terms of objects, signals and slots, the Qt paradigm becomes redundant and you have a mass of code in your runtime libraries that doesn't need to be there, and coding structures in your source code that don't properly reflect the problems you are trying to solve.

Ultimately I would like to recraft the language stack so as to reduce the code requirements.  That is a long term objective of mine.

Oh, and a 64k demo that requires 64meg of shared runtime library is kinda ugly compared to a 64k demo that runs baremetal on the processor: the former makes your demo like a magic ignition key for a car that someone else has built, and I'm more interested in actually building the car than how the key is made.