Slashdot Mirror


A .Net CPU

An anonymous reader writes "Windows for devices has an article about the .Net CPU. The chip is programmed with a subset of the CLR and runs the same software as the SPOT smart watches. Among other things, "[t]he computer module is implemented in the format of a 32-pin "DIP" (dual inline package) chip, allowing the module to conveniently plug into a standard 32-pin DIP socket. In addition, the ".netcpu CPU Module" integrates 4MB of nonvolatile Flash memory (interfaced via an SPI interface on the SoC). It also provides 24 general purpose digital I/O lines, which are multiplexed with other functions including 8 VTU ports, a USB port, two serial ports, and SPI and I2C interfaces." More information about the product can be found at the .netcpu company website."

51 of 341 comments (clear)

  1. Re:So by Tim+C · · Score: 2, Insightful

    Why does it seem scary? What do you imagine the chip will do?

    It's just a CPU for the .net CLR, that's all, in much the same way as Pentiums and Athlons, etc, are CPUs for x86 code. It's not going to prevent you from running Linux, or reach up and take control of your PC and/or spy on you for Bill.

  2. .Not a .NET CPU by Gopal.V · · Score: 4, Informative
    It is really just a CPU on which CLR runs , not a real .NET CPU in hardware. (or so the TFA seems to indicate from the diagram). Also of the more convenient peices of the ECMA 335 spec.

    It's an embedded chip which has a CLR on top of it. Nice idea, sorry that Sun thought of it earlier ( The Green Project) - Sun seems to be consistently missing the BUS here. They came up with "Network is the computer" and now MS is selling ".NET " :)

    I've seen a couple of stack based engines but by its polymorphic nature .NET bytecode is not suitable for a direct CPU (you could do something like dynamic translation like the Crusoe chip had). But then it's still a JIT , right ? :)
    1. Re:.Not a .NET CPU by Anonymous Coward · · Score: 2, Insightful

      the Jini's fall is solely based on cost. Why spend almost $100.00 for a single jini chipset for your devicewhile a regular embedded CPU costs $7.00 has more speed and can use established programming languages like C.

      the Java on a Chip Jini is a really cool device but it is horribly overpriced for what it is, when the Dev kit costs almost $300.00 and the Jini board it's self is $100.00 in single quantities nobody will touch it, and that is exactly what happened.

      if Microsoft wants this visual Basic chip to even try to make a dent in the embedded PCI world their pricing had better be on par with Microchips and Atmel's offerings. at $7.00 to $20.00 per chip single quantities for something equiliviant in that processing speed and power and storage.

      the 4Meg of flash is insanely large for an embedded processor, are they looking to the future or is this typical Microsoft and that is how huge your executible+libs is going to end up?

    2. Re:.Not a .NET CPU by winfx · · Score: 2, Interesting

      Polymorphic translates : easier to write compilers, harder to JIT it.

      Direct CPU mapping has the same difficulty as JVM bytecode, polymorphic instruction set is not a problem compared with the dynamic loading types, inlining, virtual calls, GC etc that the CPU architecture must solve

    3. Re:.Not a .NET CPU by squiggleslash · · Score: 2, Insightful
      And the 6809 that ran 6809 machine code.

      Whatdayamean that doesn't count? Programming the 6809 was like programming in a high level language... well, it felt like it, back when the alternative was BASIC. ;-)

      --
      You are not alone. This is not normal. None of this is normal.
  3. ctrl-alt-del keys? by rleyton · · Score: 5, Funny

    They must be very small, but I think I can see them if I look really closely and squint a bit.

    --
    ooooooh! What does this button do? - DeeDee, Dexters Lab.
    1. Re:ctrl-alt-del keys? by DrSkwid · · Score: 2, Informative


      it was funnier than *any* of your posts modded funny

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  4. It is not a real CPU , from what I read. by Gopal.V · · Score: 2, Insightful
    a CPU for the .net CLR, that's all, in much the same way as Pentiums and Athlons, etc, are CPUs for x86

    No, it is a CPU for .NET CLR as much as a Gumstix is a CPU for Linux kernel. It's just a VM embedded on firmware, NOT a REAL CPU.

    Btw, the JVM FPGA is a real example of a VM less execution (or more correctly , a native JVM + support libs).
    1. Re:It is not a real CPU , from what I read. by the+angry+liberal · · Score: 2, Insightful

      No, it is a CPU for .NET CLR as much as a Gumstix is a CPU for Linux kernel. It's just a VM embedded on firmware, NOT a REAL CPU.

      I can only begin to guess what your definition of a CPU is. Anyway, it still isn't going to eat your mother or pull your cats tail. It is just a chip from a vendor you don't like. Move on.

  5. Parrot by hey · · Score: 3, Informative

    I'm waiting for a Parrot chip.
    Now that would be exciting.

    1. Re:Parrot by martin-boundary · · Score: 2, Funny

      Just make sure it's not NAILED to its perch. Or PINING.

  6. Never will be a direct chip for Parrot by Gopal.V · · Score: 4, Informative

    Parrot is not a very good design to put on a chip, for one single reason.

    Too Many opcodes (1500 at my current count and growing).

    Morover parrot has opcodes which do very complicated things like "print_nc" which prints a FLOATVAL constant. Compared to that IL opcodes are simpler and JVM is still more simpler (CVM is even simpler - which is what I'm working on now).

    Parrot is too complex, period.
  7. Re:Scary (saracasm) by kahei · · Score: 4, Interesting


    I'd say that I see more .NET projects starting than any other single platform in my industry, although the lead over Java is slim and obviously there is far more Java already running. I wouldn't say that .NET has reached the 'will be with us forever' point that Java and C have, but it's certainly been very popular with devs and had a number of successful early projects. In the end it will probably stand or fall on the success of Longhorn (which everyone is quite skeptical about). But buy-in has been good.

    --
    Whence? Hence. Whither? Thither.
  8. Maybe its just me but.... by ezelkow1 · · Score: 4, Informative

    this thing seems like an overpriced piece of junk just trying to hawk its .NET and VS support. Most of the microcontrollers out there i have seen can in some way or another be programmed in C and its various forms. 200 dollars just for the cpu seems to be asking a lot when the only advantage i see is that is 4mb of flash, and other MC's can always be expanded to that anyway. Besides the fact that other MC's out there that are cheaper also contain a whole lot more peripherals and features than this one. But maybe thats just me

    1. Re:Maybe its just me but.... by mvdw · · Score: 2, Informative
      Don't think of it as a product part, think of it more as a BASIC Stamp for people who want something more than a BASIC Stamp can manage.

      BASIC Stamps are good for when you only want to do one, and don't want to lay out a board with crystal, peripherals, etc. Although I have a tendency to do my own boards, I can see that BASIC Stamps are good for some projects.

  9. Re:Scary (saracasm) by the+angry+liberal · · Score: 5, Insightful

    Sorry, Microsoft-- just because you want something to be true doesn't mean that it is.

    Perhaps if you put your troll's club down long enough to take a look at sourceforge, you would notice most of the newer open source applications for Windows are being developed in .NET.

    It won't take over the Internet, but it has been well accepted and is easy to use.

    I wonder though, with all this FUD, if anyone can produce real numbers showing which is in more demand in the workplace: Linux developers vs .NET developers. I'm not talking about which is more 31337, I am talking about which one will find more steady income and have less trouble when they need to change jobs.

  10. Security ? by Anonymous Coward · · Score: 2, Insightful

    What happens if someone discover a flaw in the CLR ?
    Do we have to buy another processor ? or flash another CLR ?

    Placing anything on a processor is a *pretty* stupid idea.

    1. Re:Security ? by FrYGuY101 · · Score: 3, Insightful

      Question. What happened when the f00f flaw was discovered for the Pentium?

      Yep, that's right, you had to buy another processor.

      The X86 instruction set isn't somehow immune to flaws.

      --
      "If we let things terrify us, life will not be worth living."

      - Seneca
  11. Re:Scary (saracasm) by shufler · · Score: 3, Insightful

    As you mentioned, newer Windows applications are being written in .NET, and you go on to ponder what the demand is. I don't know of any numbers, but I'd imagine .NET developers would be in all sorts of demand with respect to developing on any Windows platform, after all, .NET is the new API which replaces Win32.

    I agree that there is all sorts of FUD flying around about .NET, and it's pretty sad that it is. I'm not a Microsoft fanboy, but anyone who cannot recognise the Official API of future Windows development is in serious trouble (if they intend on developing future Windows applications, that is). As you said, .NET isn't going to take over the Internet (who said it would in the first place?), but it will take over ALL Windows development.

    All that said, I seem to remember reading about how Microsoft was dropping .NET, however I highly suspect I dreamt it.

  12. Blue device of death by Anonymous Coward · · Score: 2, Funny

    Clippy turns you off.
    A drm hardware dream.

  13. Actually, it's an ARM7 by david.given · · Score: 4, Interesting
    According to the products page on their website:
    • 384K of SRAM, single cycle access
    • 27 MHz ARM7TDMI
    • FBGA chip form
    • ~450,000 instructions per second
    • 4MB non volatile flash
    • 1.8-volt core, 3.3-volt I/O
    • 32768 Hz real-time clock
    • 32-pin pinout, including 24 GPIO ports multiplexed with other functions (8 VTU ports, dual serial ports, SPI, and USB port)
    • SPI and I2C interfaces

    I assume FBGA is a typo for FPGA. This thing sounds suspiciously similar to one of those standard FPGAs with a built-in ARM7 core.

    It actually sounds like quite a nice little embedded system, a kind of grown-up Basic STAMP. I expect that the .net VM is in ROM; on start-up the FPGA is probably bootstrapped from it. I wonder if it would be possible to replace it with a real operating system?

    1. Re:Actually, it's an ARM7 by Pemdas · · Score: 4, Informative
      I assume FBGA is a typo for FPGA.

      When referring to packaging, FBGA is usually Fine Ball Grid Array. I really doubt it's a typo. From the programmers point of view, the package virtually never significant.

      Overall, this sounds remarkably similar to picoJava, which, last I checked, was going nowhere, and for good reason.

      Designing bytecode formats for VMs is not really the same as designing opcodes for microprocessors -- shoehorning hardware that way is painful and generally results in less elegant, more expensive designs.

      OTOH, the bytecodes in question aren't really significantly worse than, say, x86, and look where that is today...

  14. Another "Innovation" from Microsoft? by nathanh · · Score: 3, Informative

    Isn't this exactly like the Java CPU that Sun was selling a few years back? And it was simply a close relative of the Lisp processors from the 80s.

    C#, Java. .Net, J2EE. CLR, JVM. .NET CPU, Java CPU. So should we expect Microsoft to simply repeat everything that Sun did with Java? If so, wake me up when they declare they're going to release CLR under an open source license.

    1. Re:Another "Innovation" from Microsoft? by sosume · · Score: 3, Funny

      If so, wake me up when they declare they're going to release CLR under an open source license.

      *riiiiiiing* wake up call ... its called Rotor, released by Microsoft a few years ago and it runs on FreeBSD.....
      Well, maybe not your definition of open source (no GPL or BSD license but Shared Source) but remember open != free as in beer

  15. Boring compared to... the Brainf*ck CPU! by quigonn · · Score: 4, Funny

    http://www.clifford.at/bfcpu/bfcpu.html This piece of hardware is tres cool, as it implements the _complete_ set of Brainf*ck instructions as native instruction set.

    --
    A monkey is doing the real work for me.
  16. Re:Scary (saracasm) by benjymous · · Score: 4, Insightful

    Personally as someone who's long developed Windows Win32/MFC code (in C++) and is now moving to C# .NET stuff, I'm finding .NET an absolute doddle.

    let's face it - MFC and Win32 are old and have been cobbled together, seemingly at random over the lifespan of the whole Windows family, meaning nothing feels like it's ever really been designed

    One function returns a colour, another function needs a colour. Oh dear, one uses some kind of int, the other a struct (oh and another some kind of class) - lets bog down our code with lots of conversion functions - Most of the time the sensible obvious approach to a task is the wrong one.

    So far in .NET, whenever I've wanted to do something, I've looked at the classes, thought "How would it be sensible to do this", and 9 times out of 10 it works perfectly

    --
    Help me! I'm turning into a grapefruit!
  17. Re:So by Sj0 · · Score: 2, Informative

    What of things I've read saying that .net will be the default api in windows longhorn?

    As a former DOS programmer, I can tell you that when Microsoft wants to get rid of an API, they're quite good at it. If they want to do it, win32 will be dead before the end of the decade, just like dos.

    --
    It's been a long time.
  18. Re:Virtual Java Virtual Machine by mukund · · Score: 4, Informative

    This has been available for a long time with open access to the design from Sun as the picoJava CPU core. It was not an economically viable CPU and I think this's one of the reasons why Sun released it.

    --
    Banu
  19. Ahnetkpuh? by martin-boundary · · Score: 3, Funny

    Ahnetkpu? Is this an Elder God?

  20. Re:So by Taladar · · Score: 4, Insightful

    It is an entirely different situation.

    They can't just kill backwards compatibility now since it is the one big reason to stay with Windows. Most businesses are evaluating other OS now and if the change to a new Windows version requires rewriting all your programs (I know they will probably implement a compatibility layer but we know how well that worked in the past) then they might just as well rewrite them on Linux (or some other OS that 'lacks' MS Security Features (TM) ).

  21. Re:Scary (saracasm) by Mant · · Score: 5, Interesting

    I can't imagine .NET is going to take over the Internet, but ASP.NET is a very nice platform for writing web apps. OK they will probably run on IIS, unless you use Mono, but it is a big step up from the scripting languages approach of basically just printing out the web page.

    It gives some nice abstraction to writing web pages, you don't have to worry about hand crafting every bit of HTML that is going out to the browser (although you can if you want or need to), and can deal with the concepts, objects and events.

    .NET does little that is new, Java was doing much of it first, but for writing web apps it is pretty simple and powerful and has good development software. We are moving to it at work because it makes us more productive.

  22. Re:Scary (saracasm) by tchernobog · · Score: 3, Informative

    Although I agree with you that it isn't the case to troll everything that has "microsoft" into it, I think that an high income isn't the first requirement for someone that foreseek freedom of choice and information (why develop Free Software, else?).

    The fact that 85% of the computer world use MS systems doesn't mean that it's the best thing to do. Still, things are (really) slowly changing. Maybe I'll live the day when the market share between MS and *nixes 'll be 50%-50%... and that would mean real competition, not just "smithe the infidel with teh big hammer" as almost everyone on both sides tries to do (often don't understanding really what's right to "fight" for).

    --
    42.
  23. Remember ROM Basic... by Gopal.V · · Score: 3, Interesting
    Yeah, this is very much like ROM Basic.

    Looks like this idea's been around for god knows how long ... So much for innovation, we seem to be going backwards here ?.

    This is a plug , but I've been working on a .NET CLR which can be trimmed down to around 400k (for a full opcode set, no less !!) for the last 3 years.
    1. Re:Remember ROM Basic... by antoy · · Score: 2, Interesting

      That CLR of yours sounds very interesting. It will surely make packaging .net desktop applications easier and more convenient than including the the gigantic dotnetfx.exe with everything. How's it going? Anything we can see? Will it be a commercial product?

  24. Re:So by cherberos · · Score: 2, Informative

    It's not like there isn't anything like this for Java. The first that comes to mind is the TINI-board, from Dallas. There was another one with a more arcane Java-implementation, but less resource-overhead (Can't remember the name right now..). And those are just the ones I worked with. There should be others. So nothing unique here, except maybe that this is the first of this kind of firmware for .Net

    --
    So "used" cases that used "unused" could break, though older compilers in essence used "unused" to mean both "used" and
  25. That's funny by le_defaut_tragique · · Score: 5, Interesting

    Check out the company website, and Google them. I just did and it turns up that this company was founded on Oct10.2k4ce by Mark Phillips. A Google turned up... the company website, the original submission, and a couple other press releases. this is their only product, and they made it in two months.

    Microsoft's only connection with them is that Mark Phillips guy, who, when googled investigatively, appears to have founded A Dot Corporation in Apr.2k3ce and they were involved in... SPOT Watch technology and claim microsoft to be a business partner (spotcorporation.com).

    So is Mark Phillips using his work with microsoft's SPOT developer team to create something to market under a different name? Both companies list only Mark Phillips as founder and, in fact, confirmed employee, although one site listed A Dot as having 24 employees.

    Yeah, so that's funny...

  26. Re:So by Tim+C · · Score: 2, Interesting

    So?

    Yes, that'll suck for anyone who's currently working with any API it replaces, but that's progress - technology moves on. Besides, the jobs won't disappear overnight, there are still openings for COBOL programmers, for example (there's even a COBOL binding for .net...)

    I still don't see the big deal. One of the most frequent criticisms I hear on tech sites of Windows is the cruft that's accumulated due to always maintaining backward compatibility. Surely removing that cruft by removing the backward compatibility would be a good thing?

    Not that it'll happen very quickly; there's simply far too much software available using the Win32 API to simply drop support. People would either not upgrade, or (worse) move to an alternative platform.

  27. Hardware independence? by linebackn · · Score: 3, Interesting

    It boggles my mind, every time someone comes out with a bytecoded language in order to attempt to achieve hardware independence, someone comes along and creates hardware to execute it! Thus defeating the original purpose.

    Of course people see the need for hardware acceleration because interpreted or even JIT compiled bytecode languages are always going to be slower than precompiled native binaries.

    1. Re:Hardware independence? by hal2814 · · Score: 2, Informative

      Running bytecode will always be somewhat slower than native binary, but Sun has done a good job of getting most of the overhead out of the running code and into the VM startup. Most overhead people experience now with Java isn't from the VM at all but from the constraints Sun puts on the Java language specification (exs. ALL arrays must be bounds-checked, dynamically allocated memory must be garbage collected). C,C++,BASIC,etc. do not have these requirements built into their language specification and therefore their compiled code has a leg up if the user decides not to implementthese features.

      With the vast improvements being made over the VM's design in Java's case, I wonder if a chip that natively runs the code would really be "hardware acceleration" vs. a stock chip with a good VM.

  28. Re:Stupid ramblings by zr-rifle · · Score: 3, Insightful

    > But does it run Linux?

    The real question is "does it run Mono?"

    --
    Hack your mind out of its sandbox.
  29. Re:Scary (saracasm) by tarunthegreat2 · · Score: 4, Interesting

    Say what you want about .NET (I disagree with u completely BTW), but the IDE KICKS Hardcore BUTT! I have yet to see something better the VS .NET 2003 for development. Quite a few people have bought into .NET and if I have a choice between C++ and C#, I pick C# thanks....but then I was born and raised on C and Java anyway....

  30. Re:Scary (saracasm) by Tarwn · · Score: 2, Informative

    I've seen .Net moving in quite heavily in the manufacturing world. This is one sector that MS has a strong hold on simply because there are so few people that want to sit down and write the hundreds of communications drivers, etc needed to create manufacturing data systems. Or maybe because once you buy a manufacturing system you don't want to switch brands until you get back out of the hole with it :P
    A lot of the products I have seen (both data collection and warehouse-type) are moving to .Net SDK's, and a lot of internal application programming seems to be moving that way also.
    The last major project I did was:
    1 part config client and 1 part server
    "please maximize uptime"
    "please maximize scanning capabilities"
    "please correct our last 9 months of errors and get it on the shelf in 2 months or less" .Net was the available choice (unless you consider VB6 as a valid choice...*shudder*) and despite the fact that the only other competing product was written in C++ (we think) we also managed to turn out a more efficient server (not that I don't think i could have made it even faster in C++, I just expected the other company's to suck that badly :P).

    A lot of internal app's get written in .Net, as the valid choices are generally VB6 vs VC++ vs some flavor of .Net vs Excel VBA (you think I'm kidding). The few other languages the make it onto the plate are generally as bad as VB6, so I prefer to leave them unmentioned. About the only time I have seen it go beyond this is the few times I introduced the power of bash scripting something on my laptop's preferred partition (ie, not windows) ;).

    Ok, enough rambling :)
    -T

    --
    Whee signature.
  31. Re:So by dan+the+person · · Score: 3, Informative

    It's an ARM CPU, not a .NET CPU.

    It loads ".NET Embedded" from firmware.

    This is like saying an iPaq has a WindowsCE CPU.

  32. Re:Scary (saracasm) by Tim+C · · Score: 3, Interesting

    Jobserve seems to disagree with you:

    search for ".net", any job type - 1629

    search for "c", any job type - 1499

    search for "java", any job type - 3009

    search for "c++", any job type - 2300

    Your comment has too few characters per line (currently 15.6). Guess I'd better explain then that jobserve.com is a major UK-based jobs web site, catering to a large number of industries. While the jobs advertised are mainly in the UK, they also cover parts of Europe, and have a site dedicated to jobs in Australia. How's that slashcode, better?

  33. Re:Scary (saracasm) by ceeam · · Score: 3, Interesting
    Yes, new things tend to be slick and shiny. Applies to almost everything. When they grow up they become burdened with all kinds of supporting sticks, duct tape and patches. Take PalmOS, take the directories structure on your HDD, take Java, and even when the brightest guys handle it (mod me to hell) - take Python or Unix... Not as easy as it used to be "back in the day".

    .Net (WTF - extremely "ungooglable" name, BTW) is young and peppy... Wait 5-10 years for it to mature though.

  34. Duh ! ... It's an exe + bootstrap for JIT by Gopal.V · · Score: 3, Informative
    .NET is a JIT engine , it's designed explicitly for JIT'ing ... It does produce a .exe file which has a main which calls the Mscoree.dll with the current file and starts up the VM using the bytecode data. The EXE part is just bootstrap code , the rest is JIT'd .

    Read this paper about how many hoops you have to go through to get a decent interpreter for .NET. And it blatantly ignores the _Main() x86 native code that's in the .exe files.

  35. Re:Hmm, sounds familiar by sosume · · Score: 4, Informative

    Yeah riiiiight have you ever seriously looked at the spec of these 'java chips'? They are not as advanced as Sun may have you believe..

    * No floating point 16-bit int instead of 32 bits.
    * All types (byte, short, char, int and boolean) use 2 bytes,
    though byte and short arrays use 1 byte per element.
    * Only one-dimensional arrays (can use the index to simulate a 2-D array.)
    * Single byte ASCII strings instead of two byte Unicode
    * Only a single thread available, though a timer allows for
    scheduling of multiple tasks. (Plus the VP objects run independently)
    * No interfaces, though sub-classing of an abstract base class is allowed.
    * A subset of the core libraries is available. (Remember also that
    all linked classes must be downloaded with the program and fit into
    the 32kb of memory.)
    * No garbage collection. All objects created will last for the
    duration of the program.

    Compare that to this .NET chip....
    * 384K of SRAM, single cycle access
    * 27 MHz ARM7TDMI
    * FBGA chip form
    * ~450,000 instructions per second
    * 4MB non volatile flash
    * 1.8-volt core, 3.3-volt I/O
    * 32768 Hz real-time clock
    * 32-pin pinout, including 24 GPIO ports multiplexed with other functions (8 VTU ports, dual serial ports, SPI, and USB port)
    * SPI and I2C interfaces

    and its multithreaded, too

  36. Re:YOU BASTARD! by grahamlee · · Score: 2, Interesting

    I was a Sun fanboy until I noticed that Apple were doing better UNIX systems for cheaper. I still like the W1100z and W2100z though :-)

  37. comparing Apples and Margarine ? by Gopal.V · · Score: 2, Insightful

    What you pasted for JVM was the engine specs and for this thing was the CPU/Embedded specs.

    The guys haven't really given out WHAT the "embedded.net" runs - looks like it's about the same as what the embedded JVM runs (not the Java "chip"). It's not a ".NET" chip first off and secondly it's almost the same as those "jvm" embedded (ie 400k sdram for what I have) in features. Multi-threading is not really multi-threading either, it is a kind of co-operative environment.

    It's really not the big badass ".NET" at all , despite the name and the endorsment.

  38. Re:jP? by NullProg · · Score: 2, Informative

    TINI

    Its been around for a while.
    Enjoy,

    --
    It's just the normal noises in here.
  39. Re:Hmm, sounds familiar by Glock27 · · Score: 2, Informative
    The aj-100 doesn't seem to have most of the limitations you mention, in particular it has floating point and 32 bit ints.

    Read about it and some other Java chips here.

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait