Shop OBEX P1 Docs P2 Docs Learn Events
Propeller 3 Spun Up Yet? - Page 2 — Parallax Forums

Propeller 3 Spun Up Yet?

2»

Comments

  • potatoheadpotatohead Posts: 10,261
    edited 2014-08-25 10:40
    I'm using these two tools to play right now:

    http://jsfiddle.net

    https://codeanywhere.com/

    Jsfiddle has some trouble processing that big nut Heater put here, or I'm not good enough to do it right yet. Browser ran it just fine, BTW. And I reply: "greets all"

    And yes, that's precisely what I mean. It's loose like SPIN is. Of course, that is a good and a bad, depending. But it is lean, in the way I've put here many times. Possible for people to jump in and start doing stuff pretty easily.
  • Heater.Heater. Posts: 21,230
    edited 2014-08-25 11:00
    potatohead,
    It's loose like SPIN is.
    Spin is positively tight by comparison. Get that white space wrong and you are lost. It even has some idea of different number types. It's fussy about how many parameters you pass to methods etc etc.

    Having said that, all JS should be passed through jslint. jslint highlights all kinds of JS usage that is potentially confusing or bug prone. jslint is very fussy about how you format the code. That's sounds oppressive but it turns out it's easy to write confusing and buggy prone code by having white space, especially new lines, in the wrong place when combined with javascript's optional semicolons. I have jslint continually highlighting transgressions in my editor (sublime) as a type it. Saves a lot of grief.
    Possible for people to jump in and start doing stuff pretty easily.
    That is one of the most amazing things about JS. It is dead easy for total beginners to programming to get started with. Whilst at the same time offering some very sophisticated language features, first class functions, closures, lambdas, prototypical composition, etc, that keep expert programmers happy as well. It covers a huge range of skill levels. And no you can "compile" C/C++ into JS and have it run at usable speeds!
  • potatoheadpotatohead Posts: 10,261
    edited 2014-08-25 12:09
    I agree with you about SPIN being more tight. It's still quite lean and approachable however.

    Sublime is great, isn't it? I'll make sure I've got Jslint activated when I use it. The online tools I linked have that all setup and ready to go.

    Frankly, JS is something I need to understand better. I've started that. And I've a project or two where I can put it to good use.
  • Heater.Heater. Posts: 21,230
    edited 2014-08-25 14:32
    potatohead,

    Sublime is great. It's the first time I have paid for a piece of closed source software since I bought a couple of C compilers and games for the Atari ST520 !

    The road to JS is not as easy as people think. Those first class functions, that even driven model, self invoking functions, prototype composition and so on can make life quite...interesting... if you are not used to such things. Which most C++/Java programmers are not. It was certainly a shock to me. When it clicks it suddenly seems like the obvious way to do stuff. It's prbably better not to know any other languages before you start, then it's all just natural.

    The most annoying thing about the JS world, especially in the browser, is that there are a billion libraries and "frame works" to choose from that claim to make life easier. Just now I have decided that if I can't do it in webgl with ThreeJS or IvanK and websockets with socket.io then someone else can do it:)

    Of course the DOM and API's in browsers are a sick and twisted mess to deal with anyway.

    Similarly on the server there are a billion modules you can use with node.js.

    It's a lot to explore...
  • jmgjmg Posts: 15,173
    edited 2014-09-06 17:16
    Today's news has revealed the process node for P3 ;)

    "Sidense Demonstrates Working One-Time Programmable (OTP) Bit Cells in TSMC 16nm FinFET Technology"

    So those P2 fuses can be implemented in 16nm FinFETs
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-09-10 16:15
    Nah. Too bleeding edge. 22nm is much easier - Apple's Quad Core 64-bit ARM with GPU's has 2B transistors (yes 2 billion). That should make for lots and lots of hub and cog sram. ;)
  • Brian FairchildBrian Fairchild Posts: 549
    edited 2014-10-23 09:00
    Heater. wrote: »
    ...the Epiphany chip in the famous Parallella machine now has sixteen 32 bit floating point cores in there...

    Just seen that RS now have Epiphany3 boards in stock.
Sign In or Register to comment.