HN2new | past | comments | ask | show | jobs | submitlogin

So, in your using TIOBE as a baseline, are you suggesting that Java should be the language of choice for embedded platforms?

From their home page: "It is important to note that the TIOBE index is not about ... the language in which most lines of code have been written."

MOST software development these days has a web component... not all, but most... that means JavaScript... I would posit that more developers have used JavaScript to some degree than any other language... not their only or primary language.

My argument was to the number of developers who know/use JS... not the language with the most deployed instances. Also, calling out JS for being bad, and suggesting PHP as a language to use is a pretty bad alternative... especially given that everyone who's written PHP has also, most likely written JS.

Node was developed precisely because JS makes a good domain language for interfacing with lower-level libraries. I can see the argument for Lua...



> So, in your using TIOBE as a baseline, are you suggesting that Java should be the language of choice for embedded platforms?

Many do by way of Java ME[1], though that would not be my first choice. As I said regarding your premise of a business case:

> > From a business perspective it makes a lot of sense to use languages that allow for as broad a hiring scope as possible with the least amount of cross/re-training.

> By your own argument, then, the most sensible languages to choose from are those which have been used in embedded systems for decades. Assembler, C, sometimes C++, and Forth.

The vast, vast, majority of embedded systems are written in one of the aforementioned four languages (with a nod to Java ME since I do not have metrics regarding its production use in embedded systems). There exists a huge software world outside of the browser.

> From their home page: "It is important to note that the TIOBE index is not about ... the language in which most lines of code have been written."

Reviewing my earlier comment revealed that I forgot to include the referenced link. It has been updated to help disambiguate that post.

From it, there is a definition[2] of the "Ratings" I quoted:

  The ratings are calculated by counting hits of
  the most popular search engines. The search query
  that is used is

  +"<language> programming"
  The number of hits determines the ratings of a
  language.

  ...

  The ratings are calculated with the following formula:

  ((hits(PL,SE1)/hits(SE1) + ... + hits(PL,SEn)/hits(SEn))/n
  where n is the number of search engines used.
By this definition, their "Ratings" are not based on LoC.

> MOST software development these days has a web component... not all, but most... that means JavaScript...

Giving the largest room for expression, I'll interpret "a web component" as software having some form of networking capacity. With that caveat, sure, network communication is very prevalent.

However, assuming this implies JavaScript is a straw man argument[3]. Much network communication exists outside the browser as well.

> Node was developed precisely because JS makes a good domain language for interfacing with lower-level libraries.

I disagree with this, but respect your right to have that (and any other) opinion. In an attempt to keep from going completely off topic, I won't go into this anymore in this thread :-).

1 - http://www.oracle.com/technetwork/java/embedded/javame/index...

2 - http://www.tiobe.com/index.php/content/paperinfo/tpci/progra...

3 - https://en.wikipedia.org/wiki/Straw_man


I was actually referring to a web based user interface...

I did a couple of searches on indeed for phoenix, and san francisco, and JavaScript seems to outnumber C++ and C# by a bit, and be fewer than Java.

For interpreted languages, Python was similar in SF, but less in Phx... and ruby was less in both. And there's also the most popular languages on github (#1 being JS).


> Java

You'd be surprised - see JavaCard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: