Shop OBEX P1 Docs P2 Docs Learn Events
Getting Catalina set up on Linux (ubuntu) question — Parallax Forums

Getting Catalina set up on Linux (ubuntu) question

yingsteryingster Posts: 17
edited 2012-03-16 02:36 in Propeller 1
I'm still relatively new to the propeller and looking at different avenues to program it with.
In the past I has done some programming in basic on the atmel chips, that's about it.

Spin has been easy to learn so far and there is lots of support for it.
The Propeller Zone Spin Tool has been nice because it runs on both Windows and Linux.

So my issues with it is simple, spin is proprietary to the propeller and I keep hearing that
spin is processed about 40% slower than assembly or compiled languages at the cost
of about 40% in code size.

So this leads me to at least be interested in other options, Catalina being one of them.
C is a popular language, and as I understand it, once complied it runs faster. Also
by learning a common language I can switch to other chips much easier.

I got it installed and running under windows but my main programming machine runs
Ubuntu. I have tried installing it but I can't tell if it was done right. Even if it was done
right I have no propeller C coding experience to know where to begin.

So if I knew where to find some documentation on this I can get started and see if it
is even worth trying to learn it. All my searches turn up the files to download and
that's about it.

Any help or advice is appreciated, thank you.

Comments

  • Heater.Heater. Posts: 21,230
    edited 2012-03-15 12:28
    I suspect that Spin is more like 50 to 100 times slower than PASM running in a COG but the code size is a lot smaller.
    C on the Prop is perhaps 4 times slower than COG PASM as it has to fetch instructions fromHUB RAM. The larger code size for C is a bit of a problem.
    Don't forget there is now the GCC compiler for the Prop which can also be used to generate PASM running in COG. See the propgcc threads. There are many good demos included and an IDE for Windows and Linux at least.
  • yingsteryingster Posts: 17
    edited 2012-03-15 12:39
    I been looking in to GCC, hopefully I will have time to dive in to it more tonight.
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-03-16 02:36
    Catalina comes with a lot of documents in the download. Just look in the main Catalina directory. And there are lots of program samples too.
Sign In or Register to comment.