Propeller C, 32 bit floating point options
ImageCraft
Posts: 348
32-bit FP support has been added to the ImageCraft Propeller C compiler. My question is whether to enable the support only for STD compiler users, or extend it to the NC noncommercial users as well. I think I know what forumers' preference is, but may as well ask and see what people say.
Thoughts? Comments?
// richard
Thoughts? Comments?
// richard
Comments
For me the answer's simple; please add it to the NC version too. I suspect most hobbiests will arrive at the Propeller from having played with other micro's or PC languages (incl. C), and whilst we probably shouldn't be relying on FP (as we should learn how to do integer math instead!), having FP will make the cross-over *much* simpler - and simpler will lead to less frustration, which may lead to wanting the full version
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again
BTW: I type as I'm thinking, so please don't take any offence at my writing style
I realize there are applications for it, and people will use it, but I just can't imagine doing it.
One thing I actually would like is the ability to build without float support (which I assume you have in or planned) since I don't want a cog wasted for it. I also hope it doesn't take up too much of the kernal cog space.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out the Propeller Wiki·and contribute if you can.
I would only consider C if it had floating point support. Why? Because for everything else SPIN or assembly is sufficient, so there is no advantage in moving to C.
Good luck!
regards
-doni-
Thank you for all the comments.
It must also be considered that compiled C code has a penalty due to the LMM kernel, when fast it cannot compete with an equally clocked ARM but it has other features most ARMs dream of.
The ICC package packs all the standard goodies a modern C has, even floating point. If you need 1+ MFLOPS, the propeller, an low-end ARM7, any 8 bit uC and most 16 bit uC or similar are the wrong answer. So asking pears to an oak is well asking an impossible, so get yourself a proper FP unit!. Converting a propeller to deliver 100kFLOPS is possible, using all processors... but not much more.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out the Propeller Wiki·and contribute if you can.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Having said that, what most people need is really fixed point , and we have plans to support that with the Dinkumware library port (see our blog).
// richard
For tirekickers and fence sitters, now there is one less reason not to try Propeller C. $99 == 2 (small) tanks of gas. Give it a try.