You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @allObjects thanks!

    I don't think my car understands JavaScript, apart from the build in Webbrowser

    This is kind of the point though - pretty much any device with a Web Browser contains JavaScript and a well-tested, standardised set of APIs - that is so well sandboxed there isn't a problem letting it execute arbitrary code.

    If you're ignoring web browsers then sure, JS use isn't that high. But if you include them then JS is all over the place.

    My Blueray player sports an Oracle Java logo, not a JavaScript logo.

    If it's modern I'd be surprised if it didn't have a web browser, in which case it runs JS too. If I wanted to run my own personal code on your Bluray player or TV, chances are I could easily run JS by navigating to a website. I can't help thinking that the Java implementation may actually be a bit harder to use?

    The fact your player doesn't need a JS logo on it is probably because the licensing of JS is more permissive than Java. If you have a device with a few extra MB of storage, it's effectively free to add - whereas as far as I know Java still requires a license fee (unless you use the OSS versions?). That's one of the reasons I think JS (despite being a less nice language than Java) will probably win out in the end.

    a C# device would be prosperous for the way the IoT

    Have you come across .NET Gadgeteer? You might like that :) I should stress though that there are many kinds of embedded device - most C# and Java environments I've seen for embedded tend to use substantially more powerful controllers than are being used for Espruino... In a lot of cases they'll work great for IoT devices, but in others you might want something that is cheaper or uses a bit less battery power.

    Anyway, everyone's entitled to their own opinions, and Java is a good language that is in use in a lot of places. I just think your initial 'Please correct the main page' may have been a bit inflammatory :)

About

Avatar for Gordon @Gordon started