Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32502 > unrolled thread

Re: questions re Javascript

Started byArne Vajhøj <arne@vajhoej.dk>
First post2015-09-03 20:01 -0400
Last post2015-09-05 09:35 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: questions re Javascript Arne Vajhøj <arne@vajhoej.dk> - 2015-09-03 20:01 -0400
    Re: questions re Javascript Martin Gregorie <martin@address-in-sig.invalid> - 2015-09-04 08:46 +0000
    Re: questions re Javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-05 09:35 +0200

#32502 — Re: questions re Javascript

FromArne Vajhøj <arne@vajhoej.dk>
Date2015-09-03 20:01 -0400
SubjectRe: questions re Javascript
Message-ID<msan0e$19l$1@speranza.aioe.org>
On 9/2/2015 7:20 AM, Stefan Ram wrote:
> Tim Streater <timstreater@greenbee.net> writes:
>> Javascript has nothing to do with Java except for having a similar
>> sounding name.
>
>    There are so many similiarities between the two languages,
>    that I can't name them all. For example, in both Java and
>    JavaScript,
>
> 2 + "x"
>
>    gives »"2x"«, while in many other languages it does not.
>    In both Java and JavaScript, the modulo operator »%« can be
>    used for doubles, while in many other languages, it cannot.
>    Both have »instanceof« with a similar meaning, while other
>    languages do not. In both languages »x == x« is false, when
>    x is NaN.

If these are the criteria then a lot of languages are like Java.

>    And today, JavaScript is part of Java (the JRE), so it is
>    actually wrapped together with Java, and today JavaScript
>    can finally be used /to script Java/ out of the box.

I don't think that Java being able to execute JavaScript
tell much about whether the two languages are close.

I can not see any reason why you could not embed a JavaScript
engine in COBOL runtime.

>                                                          The
>    promise of its name is thus fulfilled. And both come from
>    the same company that also owns the trademark for both names.

No.

SUN created Java.

NetScape created JavaScript.

NetSCape got permission from SUN to use the Java prefix.

Arne

[toc] | [next] | [standalone]


#32516

FromMartin Gregorie <martin@address-in-sig.invalid>
Date2015-09-04 08:46 +0000
Message-ID<msblp8$hgg$3@dont-email.me>
In reply to#32502
On Thu, 03 Sep 2015 20:01:16 -0400, Arne Vajhøj wrote:

> I can not see any reason why you could not embed a JavaScript engine in
> COBOL runtime.
>
...or run both a COBOL compiler and the generated code in the JRE.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

[toc] | [prev] | [next] | [standalone]


#32538

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2015-09-05 09:35 +0200
Message-ID<1455138.2aFc8b5frt@PointedEars.de>
In reply to#32502
[F'up2 comp.lang.javascript]

Arne Vajhøj wrote in <news:comp.lang.javascript> and 
<news:comp.lang.java.programmer>:

> On 9/2/2015 7:20 AM, Stefan Ram wrote:
>>                                                          The
>>    promise of its name is thus fulfilled. And both come from
>>    the same company that also owns the trademark for both names.
> 
> No.
> 
> SUN created Java.

_Sun_
 
> NetScape created JavaScript.
> 
> NetSCape got permission from SUN to use the Java prefix.

_Netscape_

Speakers of German (and hopefully, in the future, speakers of English as 
well, as efforts at translation into English are underway) may want to read 
my 2012 thesis on the subject, and follow the references therein, to clarify 
some of their misconceptions.  It is referred to from the ECMAScript 
[Support] Matrix (see signature), which since then serves as the proof of 
concept of the thesis.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web