.Net On Lego Mindstorm 132
troop23 writes "A blog posting by Benjamin J. J. Voigt says this "The University of Potsdam has a project to develop a .NET VM for the Lego Mindstorms system. Lego Mindstorms just got a higher priority on my shopping list!" While the thought of using .Net to program Lego Mindstorms may not be palatable, having a mainstream dev environment sure is." Perhaps Mono would work just as well.
Put down the Crack.Net pipe (Score:3, Insightful)
C, or assembler, or Forth.
-- John.
Re:Why? (Score:5, Insightful)
Anyways, while you're right a VM is less than ideal for embedded systems, there are embedded Java VMs that people use and to a lesser extent there are people that use python and perl in embedded systems. Sometime it just makes sense to choose a solution that requires more computing power because it allows you to program faster. In fact, I think if there's any case of an embedded system where a VM isn't a big deal it would be one that's just for fun, not production, that is, the exact market of lego mindstorms. I mean, it's really a lot like Basic stamp microcontrollers. It doesn't make sense to build a product around them, but if you're just messing around with stuff there are plenty of people who don't mind paying more so that they can write their code quicker.
Re:Why? (Score:2, Insightful)
Re:Still trying to catch up (Score:4, Insightful)
Still trying to catch up ... to Java, huh? This stuff has been around for Java for years now.
Which wouldn't be surprising since Java was released in 1996, while .NET was released in 2002. You could've said the same thing when Java was first implemented on an embedded device. C/C++ and assembly were likely there for years before.
IDL Libraries? (Score:3, Insightful)
Why not "palatable" to have a .NET environment? (Score:3, Insightful)
I love how the editorial commentary on posts here is full of straw-men and assertions. Prav-dot anyone?
Re:Why? (Score:4, Insightful)
You will find a lot of the J2ME and J2SE are not binary compatible and barely source compatible if you try to port the simplest app. The "Write once, run anywhere" argument doesn't really stand up here IMHO.
Re:Why? (Score:5, Insightful)
Do you think those Java capable mobile phones have the full blown Java API on them, and run standard non-preverified class files?
What's the problem? (Score:3, Insightful)
Man what's with the bias against .NET. Oh it's not "worthy" of controlling Lego Mindstorms?
OH NOS! OMGZ, I R NOT HAX0RING MY LEGOS NLESS ITZ IN ASS3MBL3R. .NET BAD K PLZ THX! D0WN WIT MICRO$OFT!!!!111!1!
Seems to me .NET is a good idea, so good in fact it's ripped off by Mono. A solid intelligable foundation library of objects, inter language, cross platform compatability. C# is a very enjoyable language to work in for some of us (personal preference). There's always the /.'ers with monkeys on their backs that insist its one huge elaborate Microsoft bait and switch to lock everyone into the Microsoft Evil Empire, but it seems to me theres a ton of positives as well, ECMA standardization, dozens of .NET capable languages now, and the MONO project is a great thing (that is a direct result, like it or not, of .NET being born). So whats with all this "oh nos, its Microsoft, so I shall not dirty my hands of complimenting it! Must bash in every post ever!".
Open your minds like you open your source and you might learn something, like some tools are good for some jobs, other tools for other jobs. Not everything that comes from MS is evil and not everything that comes from OSS is good.
Flame away.
Oh FFS... (Score:4, Insightful)
Perhaps Mono would work just as well.
'Mono' and '.NET' are not two competing products.
Mono is an implementation of it, together with some development tools and non-standard libs and bits and pieces.
The MS
You cannot 'use Mono instead of
This has been a public service announcement from the department of Things That The Average Slashdotter Cannot 'Get' No Matter How Often They Are Mentioned (TTTASC'G'NMHOTAM). In next week's exciting episode, we explain the difference between copyright violation and theft, and three posters reply by saying 'you can dress it up in fancy talk all you want but it's still theft!'
Re:Java VM (Score:3, Insightful)
The lego design flaw. (Score:3, Insightful)
Re:Put down the Crack.Net pipe (Score:3, Insightful)
But say you want to take the VM approach, I suppose one is as good as any. Forth has the advantage though of being older, tried, and tested.
To my mind the main things going for Java and
Frankly though most uCs do just fine with whatever C compiler exists that has been tailored to that uC. Unless you're just dying for C# or Java syntax, the mainstream firmware programmer who will hopefully maintain the software (and keep support requests away from your desk) is probably going to be more comfortable with C or assembler, remotely possibly Forth.
Respoinding to consumer pressure (Score:3, Insightful)
It used to be that Lego was about the most interactive toy/game available. Build and break stuff and make it work.
These days there are far more stimulating interactive alternatives (computer games etc). Given the choice between an XBox and a Mindstorms set, most kids will choose the XBox. Lego's core biz is suffering in this competition for toy/entertainment dollars. Perhaps this is a reason for them shifting towards the theme toys (harry potter etc).
Is this a sad predictor of the fate of geekdom?
Re:Is Lego back on firm financial ground? (Score:3, Insightful)
Languages (Score:2, Insightful)