Did I miss it? (Part 2) Propeller C
Oldbitcollector (Jeff)
Posts: 8,091
Isn't today rumored to be the official unveiling of C (and Propeller Activity Board)?
This is an exciting launch that hopefully will also bring attention to folks who have labored feverishly on this project.
Jeff
This is an exciting launch that hopefully will also bring attention to folks who have labored feverishly on this project.
Jeff
Comments
Not sure when the big release/promotion is right now.
Looking for hardware? Only 4 boards left in stock until the next build.
http://www.parallax.com/Store/Microcontrollers/PropellerDevelopmentBoards/tabid/514/ProductID/902/List/0/Default.aspx?SortField=ProductName,ProductName
Jeff
If Parallax is going to the trouble to wrap it up in a nice package and supported it for $49... I am willing to fail again... or possibly Parallax knows how
to put it all together so that it actually fosters learning.
order number 114514
Don't give up. 300 thousand or so Arduino users are using C++. Many of them are beginners to programming and not tech gurus.
From what I have seen of the Parallax tutorials and educational materials, as shown at the expo, they are going to make it as easy as Spin.
All tutorials use CMM. Stick with it and do whatever Andy says. You'll be fine.
I join Heater in trying to encourage you to learn C. Both PBasic and C/C++ are in the Algol language family and have more in common than not. With regards to language basics the differences are less conceptual and more syntactic. The conceptional differences are the presence of things like structures, classes, pointers and dynamic allocation in the heap. You can actually get quite far with the language without using that stuff.
Indeed on the Arduino they tend to use static allocation of objects and never call new.
Programming in C isn't hard especially if you limit yourself to a subset which is done with Arduino/Wiring, which was to make C accessible to non-technicals. Mbed development system for the ARM does the same.
CMM will take you quite far and when you are ready to try new things, you should have a good foundation to build on. If you are new the the Propeller too, you'll learn about it along the way. If you already know the Propeller, then you'll be able to pick out the subtle differences and the ways to leverage C on the Propeller.
There will always be the big Parallax safety net underneath in case you fall.
.. and doing more than one at a time, is not a bad idea for learning.
Write it in Spin, use Spin2GCC, and then modify the C created and try to improve it....
I think Prop GCC also had a mode for C -> PASM ? (for small enough programs) Is that operational yet ?
That is another good way to learn C, and even learn PASM...
But I WANT to write multi-cog killer apps that exploit the complete capabilities of the propeller from the get go!!!! :-)
I have a real hard time with that :-/
I look forward to this as I have been fighting learning C for about 25 years!
Jim
Go for it!!!
Your desire is the greatest part. Parallax has great books and good folks.
"But I WANT to write multi-cog killer apps that exploit the complete capabilities of the propeller from the get go!!!! :-) "
Well I was hoping that propbasic was going to do that, but it seems to have fizzeled out and simpleide doesn't support it.
I've done lots of arduino programming, but every time I start a new project I copy and paste the last one in - comment it all out - and then use that as a reference for the syntax for the bits I need, because no matter what I do I just can't get to grips with [] {} () ; != | || & && and ALL the rest of it!!!
By the way I still cant type straight into the message box as the enter key has no effect - this was created in notepad - and I can only hope when I paste it into the message box it formats ok because I will not be able to edit it - am I missing something??
Dave