Shop OBEX P1 Docs P2 Docs Learn Events
whatever happened to the ide? — Parallax Forums

whatever happened to the ide?

ThePenguinMasterThePenguinMaster Posts: 89
edited 2007-10-30 17:31 in Propeller 1
so whatever happened to the company making the c language for the propeller? are they still working on it? i thnk that has to be the only thing i dont like abu tthe propeller is the programming language. such an awesome chip held back by somehting like that.. its suchg a tease. for advanced programming, spin language really throws a wrench into the devolipment of a project.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-03 14:25
    The company is ImageCraft. The original plan was to have it available around the end of the year. That's still about 3 months from now.

    Don't expect it to work miracles. The stated plan is for it to compile into what's been called the Large Memory Model instruction set which is a partially interpreted instruction set that's slower than directly executed instructions, but much faster than Spin. It's very expensive in terms of its memory requirement since these are still individual instructions and occupy 4 bytes. For "advanced programming" you may still do better with a combination of Spin and assembly language with Spin allowing much larger programs and the assembly language providing for speed and exact timing control. There are a couple of Forth implementations in process. These too will have their own advantages.
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2007-10-03 14:33
    Beta release is only days 28 days away... From Imagecraft : "We are still planning for a beta release by the end of October "

    Ref:
    http://forums.parallax.com/forums/default.aspx?f=25&m=206849&g=207156#m207156
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2007-10-03 16:03
    ThePenguinMaster said...
    . for advanced programming, spin language really throws a wrench into the devolipment of a project.

    Don't see why.

    Graham
  • BergamotBergamot Posts: 185
    edited 2007-10-03 20:01
    Graham Stabler said...
    ThePenguinMaster said...
    . for advanced programming, spin language really throws a wrench into the devolipment of a project.

    Don't see why.

    Graham
    Yeah, I'd really like to see an explanation for where SPIN falls short in 'advanced programming'.
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-03 21:51
    (a) There are no data structures
    (b) There are no function pointers
    (c) ..
    (d) ..
    (e) ..
    (f) ..
    (g) ..
    smile.gif
  • Mark BramwellMark Bramwell Posts: 56
    edited 2007-10-03 22:05
    I am still learning spin but I have not noticed DEFINES yet.

    #define VGA 1
    // #define TV 1


    #ifdef VGA
    do something
    #endif VGA

    #ifdef TV
    do something
    #endif TV

    Or #include for non-functions such as a config file but perhaps I missed that one.

    The above would not change the SPIN language but would make programming a wee bit easier.
  • ImageCraftImageCraft Posts: 348
    edited 2007-10-03 23:44
    We are still here!! smile.gif

    No beta yet, but we do have a preliminary code generator in house already. There are boatload of stuff to do, lest of which is the decision on the runtime architecture and the Large Memory Model! We are committed to the project though, so no worry.
  • hippyhippy Posts: 1,981
    edited 2007-10-04 09:19
    @ ImageCraft : One thing noted in recent discussion was that any Assembly only generating compiler would be limited to 8K instructions using Propeller Hub memory. That could be limiting for some applications but holding code in additional Eeprom and swapping pages / sections in as needed could be a solution.

    This isn't a request for ImageCraft to implement external memory handling ( it'd be nice if you did ) but something to bear in mind while designing if you haven't considered it already.

    Being able to generate larger than hub memory sized code, and a mechanism to bootload that additional code into additional Eeprom would probably be a great help, even if memory management and any paging were left for end users to code for.
  • ThePenguinMasterThePenguinMaster Posts: 89
    edited 2007-10-04 18:44
    well my only problems with the spin language and compiler are:

    1) the looping structure is controlled by tabbing
    2) no real good way to do sdata types/ structures ect
    3) no namespaces for your classes.

    well i guess the thing that im thinking is how c is an object oriented programming language. i know mpLab is based off of C, and it is much easyier to make large programs without having to worry about flipping back to your modules because you forgot all the parameters for it. i do a lot of flipping back and forthe through screens and it gets distracting. im talking aobut big programs on multiple chips sort of thing. the spin compiler seems to be great for starting, and it really is! but there should be an alternative for more industrial things.

    again, its a awesome chip! i love it! and i think its a great thing that imagecraft is doing. Yah i bet you guys have a lot to do! making a compiuler dosnt seem like an easy task!
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2007-10-29 15:19
    It should be ready in a few days . hop.gif


    Richard.............. No pressure though. [noparse]:)[/noparse]
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-29 16:04
    ThePenguinMaster,
    Please keep in mind that C is not the same thing as C++. C is not an object-oriented programming language. There are no objects in C, no name spaces except through separate compilation. There are structures which is something Spin doesn't have (although you can make them, there's no support in the language) and C does have function pointers which is a very dangerous, but useful construct.
  • grasshoppergrasshopper Posts: 438
    edited 2007-10-29 17:27
    I am confused on the topic. Is there going to be a C compiler? This would be sweet i can not seem to fully grasp the spin language. I hope my interpretation on this thread is correct.
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-10-29 19:06
    gack! does this mean we will get threads about c too? (hawk spit turn thrice and burn hairs)
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-29 19:37
    grasshopper,
    Unless some disaster befalls ImageCraft, there will be a C compiler for the Propeller available in the next couple of weeks. They had discussed having it by year's end at the latest and seem to be on track from their comments. It is almost November already.

    Fred,
    You might as well get used to the idea.
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-10-29 20:03
    Time to look for my k&r again. Was new when last seen.
  • Beanie2kBeanie2k Posts: 83
    edited 2007-10-30 06:18
    Fred Hawkins said...
    Time to look for my k&r again. Was new when last seen.
    This brings up a question.· Will the compiler be designed for ANSI C or the older K & R C?
  • deSilvadeSilva Posts: 2,967
    edited 2007-10-30 06:32
    To all experience, the front end of the (cross-) compiler will do what all their (ImageCrafts's) compilers do. Have a look at them for other processors.
    In addition (or should I say: subtraction?) It might miss some features which are hard to generate code for, or the run time system is not yet ready for , or a suitable run time system will not fit into the memory smile.gif

    Threads and other Unix-like features fall most likely into that category. As I understood there will also be many limitations to the linker...
    But we will habe fun, doubtlessly..
  • hinvhinv Posts: 1,255
    edited 2007-10-30 08:59
    I for one would really like a C for the propeller. There is scads of C code out there that I would like to get running even if I did have to page it in from a HX512 cart. In particular, VI, or uEMACS (go ahead Fred, hack and cough) would be handy for me since my fingers know them after over a decade of use.
    Of course, as I keep on saying, (and prodding) Prop2 will solve the codespace problem.
  • HarleyHarley Posts: 997
    edited 2007-10-30 16:54
    Ah, YES, 'Prop2'. It will be many of our 'saviours'.

    The 'beauty' of 'Prop2' is appreciated many moons in advance. Thank you again Chip, for what we now know as 'Prop2'. jumpin.gif (Drooooooling, with many designs, in anticipation of it 'in hand') yeah.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Harley Shanko
  • grasshoppergrasshopper Posts: 438
    edited 2007-10-30 17:28
    My next question is a stupid but important one:

    How much will the compiler cost? I hope it will be free but suspect it will cost a fortune.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-30 17:31
    Have you looked at ImageCraft's website? There are already a variety of other compilers available. That should give you some idea of of their prices, features, etc. I can't imagine that the Propeller compiler would be very different from their other compilers.
Sign In or Register to comment.