Shop OBEX P1 Docs P2 Docs Learn Events
Man 'o man... — Parallax Forums

Man 'o man...

BradCBradC Posts: 2,601
edited 2007-08-07 06:18 in Propeller 1
This is an odd post I guess..

For many years I got my kicks writing really funky code to wring the absolute maximum out of the processor I was working on.
Always playing with timing, interrupts and delays to get everything I needed out of the processor while managing to do funky things
that co-workers just could not seem to grasp.

The propeller has harpooned all of that. Everything I _need_ to do is just so easy. The timing is rock solid and perfectly deterministic,
I don't need to prioritise interrupts anymore, I don't have to think about cycle counting or synchronisation and the assembler is just
so bloody fantastic that when I *need* to shave cycles off I can re-work things using some of the funky instructions and conditions that
none of the other processors seem to have.

Don't get me wrong, I'm having a ball playing with the propeller, but it's all just so easy it's like the challenge has gone from everything
I used to do. Now I need to sell my clients on more features just to get the challenge level up again!

The first thing I do usually when getting to know a new processor is write a really accurate RTC. With the propeller it's about 40-50 lines
of asm in a cog and a bit of spin to display it on a VGA screen, I mean how easy can it get??!? Not only that, but after 24 hours it's still
accurate to within milliseconds! Give me a break, where's the challenge anymore?

I've never been a fan of the Basic Stamps (I'm an assembler snob) but with the propeller I've even started to use a bit of Spin where
I just don't need the raw performance.. (VGA display of time and temperature for example)

Thanks Parallax, you've come up with silicon that stretches me rather than me stretching the silicon!

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-08-04 19:20
    Think of this as "raising the bar". What used to be a challenge and difficult is now straightforward and often easy. Now you have to come up with new challenges.
  • deSilvadeSilva Posts: 2,967
    edited 2007-08-04 20:08
    BradC said...
    This is an odd post I guess..
    No, it is not! It is that you use the propeller in the way it has it's great strengths. In fact you do not seem to use it wrt another great strength: It is FAST when combining multple COGs working (In most applications the COGs are just WAITING smile.gif )

    The propeller way has immense issues; this forum is full of it wink.gif But I do appreciate your kind of fresh enthusiasm ...
  • SkogsgurraSkogsgurra Posts: 231
    edited 2007-08-04 21:43
    Ditto! I had a similar outbreak after having tried the Prop in a few applications.

    I suddenly find that it is the hardware that takes time instead of software. Never experienced that before. And I don't mind. Not at all!

    I used to be one of them asm snobs, too (OK, used Forth a lot also). Now I am a spinner, mostly. The counters (check them out thoroughly!) do most of my real fast things.

    We will certainly see more of these "Odd posts" smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Tom WyckoffTom Wyckoff Posts: 26
    edited 2007-08-05 01:37
    I never was a real programmer, more of a tinkerer. My real job was fixing stuff other people built, but I've been doing a little bit-twiddling with assorted microcontrollers for a few years now. I finally understand "Object Oriented Programming". Until now it was just a fancy buzzword for having some handy subroutines I could add to a program, after I declared the functions in a header file, declared all the variables as external, added interrupt service routines and banging my head on the wall finding out where the unexpected interactions were coming from. The prop does make it too easy!
  • MightorMightor Posts: 338
    edited 2007-08-05 06:51
    This thread is starting to sound like the customer testimonial blurbs on a Tel-Sell ad, haha.

    Chip: "That's just incredible, Paul! Tell me, what else can the Propeller do?"
    Paul (Baker): "Let me show you. Look, we'll just put it into this bucket of liquid nitrogen at -173C"
    Chip: "Oh my goodness! What are you doing?" <looks at audience> "He doesn't care, it's not his"
    Paul: "Look! It's still going! We can even apply a short across its input pins and it doesn't break!"
    Chip: "Isn't that just amazing?"

    Customer 1: "Before I had the Propeller I was not sleeping very well and my breath smelled funny. Now, thanks to the Propeller I no longer suffer from either of those."
    Customer 2: "I had really big problems with ingrown toenails and small bald patch on the back of my head. Then I started using the Propeller chip in all my PLC products and now even my beard is starting to grow evenly."

    Voice over: "That's right, the Propeller can do all that and more. If you order one of your own within the next ten minutes, we'll even add a Propeller Clip for NOTHING! The Propeller is available in several handy packages for all your design needs. Please call and order yours now, our operators are standing by. Remember, if lines are busy, call back later, but do call!"

    Gr,
    Mightor

    PS: I vote Parallax actually make one of these ads.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    | What the world needs is more geniuses with humility, there are so few of us left.
    | "Wait...if that was a compliment, why is my fist of death tingling?"
    | - Alice from Dilbert
  • deSilvadeSilva Posts: 2,967
    edited 2007-08-05 07:42
    ROFL
    I like this best:
    Mightor said...
    we'll even add a Propeller Clip for NOTHING!
  • potatoheadpotatohead Posts: 10,260
    edited 2007-08-05 07:53
    I'll second that!

    Take some style and production cues from the "Will it Blend?" guy. Would be a UTube instant global hit.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
  • deSilvadeSilva Posts: 2,967
    edited 2007-08-05 07:55
    Tom Wyckoff said...
    ... "Object Oriented Programming". ..... The prop does make it too easy!
    Be careful, Tom! SPIN has nearly none of the features that make OOP useful and powerful! And AFAIK Parallax had never made that claim.

    SPIN has a nice modularization scheme with strict (some say: too constrained) scoping rules, and a funny but useful static instantiation feature. This is FAR away from any of the many flavours of acknowledged OOP concepts.
  • MightorMightor Posts: 338
    edited 2007-08-05 08:19
    I was thinking more along the lines of Amazing Discoveries with Chip in a nice pullover like Mike Levey. Here's a good example: http://youtube.com/watch?v=PnmLuOEDbkQ. Here's one dubbed in Dutch, probably even funnier for those who don't speak Dutch: http://youtube.com/watch?v=Z8UdNPAt8nQ.

    Gr,
    Mightor

    PS: I had a college class mate who was an actual member of the Mike Levey fan club... Oh dear.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    | What the world needs is more geniuses with humility, there are so few of us left.
    | "Wait...if that was a compliment, why is my fist of death tingling?"
    | - Alice from Dilbert
  • BaggersBaggers Posts: 3,019
    edited 2007-08-05 08:45
    BradC: Good post , I was thinking about posting something along the same lines, as to how much the propeller has brought back the enjoyment again. ( I've been coding games for 22 years professionally now, and PS3 is well, erm it's too easy, there's no real thought to it )
    whereas the prop on the other hand, has really caught my imagination again, like the good ol' days, where it was just you and a screen, no fancy hardware to do it all for you, just your raw coding ability, and out of the box thinking. well done Parallax, it really is an outstanding chip. I know I'm also looking forward to Prop2, because the extra speed and memory will will really boost things, but in the mean time, I'm not waiting holding my breathe, I'm really living it up with the prop 1. it rocks.

    Rofl mightor, yeah they should do an advert like that.
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-08-05 21:00
    I desire youthful and attractive babes in this proposed advert, "Nerds stay cooler with Propellers".

    And they shall be brunettes because they are smart, though a curly headed redhead or two might be OK. As long as they are youthful and attractive.
  • potatoheadpotatohead Posts: 10,260
    edited 2007-08-06 06:07
    "I was thinking more along the lines of Amazing Discoveries..."

    Totally. Just was referring to the cool 70's style art and dead pan delivery. The Amazing Discoveries bit is totally appropriate.

    A friend and I were talking the other day about Parallax stuff in general. Short story:

    Geek Crack.

    (It's a serious compliment guys --laugh!)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
  • MightorMightor Posts: 338
    edited 2007-08-06 08:49
    Fred Hawkins said...
    I desire youthful and attractive babes in this proposed advert, "Nerds stay cooler with Propellers".

    And they shall be brunettes because they are smart, though a curly headed redhead or two might be OK. As long as they are youthful and attractive.
    Hear hear. We'll have to cater for the geek-girls too, of course. They are precious and rare and should be treasured. If Chip and some of the engineers could do some weights while we wait for this thing to happen, they could just do a quick chippendale routine at the end of the ad. (Get it? Chip-endale?)

    So now we wait for Chip and his co-hosts to "chip" in on the thread [noparse]:)[/noparse]

    Ooohh, so many puns, so little time!

    Gr,
    Mightor

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    | What the world needs is more geniuses with humility, there are so few of us left.
    | "Wait...if that was a compliment, why is my fist of death tingling?"
    | - Alice from Dilbert
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-08-06 14:09
    My own version of a Propeller commercial would be something aimed straight at nerds...

    Always want to build your own microcomputer?
    <clip from: Pirates of Silicone Valley: Woz's first computer catches fire>
    Looking for a door or window to jump from?
    <clip of: Windows going BSOD, switch to man standing on tall ledge>
    Get Parallax Propeller!
    <80's style clip of geek lifting off with spinning Propeller hat>
    <clip showing features>

    Don't care if the rest of the world understands that 30 seconds of airtime,
    call it equal time for all the Real Estate Informercials [noparse]:)[/noparse]

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
  • Tom WyckoffTom Wyckoff Posts: 26
    edited 2007-08-06 15:58
    deSilva said...
    Tom Wyckoff said...
    ... "Object Oriented Programming". ..... The prop does make it too easy!
    Be careful, Tom! SPIN has nearly none of the features that make OOP useful and powerful! And AFAIK Parallax had never made that claim.

    SPIN has a nice modularization scheme with strict (some say: too constrained) scoping rules, and a funny but useful static instantiation feature. This is FAR away from any of the many flavours of acknowledged OOP concepts.

    Hmmm, I guess it's time to do some more reading. lol.gif
  • SkogsgurraSkogsgurra Posts: 231
    edited 2007-08-06 16:04
    But it is very good for bit-banging, measurement and control. I don't mind what it is called. As long as it does what I need to do. And I am having fun.

    I tried to introduce the Propeller in a more "professional" forum. It didn't work out the way I had hoped. My fellow engineers are not easy to please...

    See http://www.eng-tips.com/threadminder.cfm?pid=233

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-08-06 22:19
    Skogsgurra,
    Maybe the way to their hearts is through their wallets -- ie do what they do with lower chip count and less coding and faster finished.
  • LawsonLawson Posts: 870
    edited 2007-08-06 23:38
    Skogsgurra, you might also try mentioning what it would take currently to reproduce the functionality of the Propeller. How I see it is that it would take a 40 MIPS or faster 32-bit CPU in addition to a small-mid sized FPGA to replicate the functionality the Propeller provides for $8-12. This CPU+FPGA combination would be more expensive, use more power, use many more chips, have loads of dedicated pins, need two or three development environments, would be hard to test, and hard to debug. (feel free to add to this list if I missed anything)

    my 2 cents,
    Marty

    P.S. the Propeller is an awesome chip. It's now my work-horse brains and glue chip. (BS2 is too slow and SX was too frustrating)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lunch cures all problems! have you had lunch?
  • SkogsgurraSkogsgurra Posts: 231
    edited 2007-08-07 06:18
    I guess they don't think it ain't macho enuff to do things in a simple way. Having two or three development environments running on the same project - that is macho. In some persons view.

    I have hinted them. If they don't like it. Well, it is their problem.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sign In or Register to comment.