Live data from Hacker News

Netscape and Sun Announce JavaScript (1995)

web.archive.org

371–380 of 476 posts

Re: Netscape and Sun Announce JavaScript (1995)

#371

What stands out to me is how much more foresight they had than I'd thought about the ways JS would be used: > With JavaScript, an HTML page might contain an intelligent form that performs loan payment or currency exchange calculations right on the client in response to user input. A multimedia weather forecast applet written in Java can be scripted by JavaScript to display appropriate images and sounds based on the c…

The industry is cyclical and to be forward thinking all you have to do is describe what's already happened and assume it will happen again. ;-) The things being done with JavaScript today are not new, nor is the idea that a server and client would coordinate to run interactive apps. That fundamental concept has been reimplemented in many different ways until we've landed on the current rube goldbergian monstrosity th…

> already happened and assume it will happen again

So say we all!

Re: Netscape and Sun Announce JavaScript (1995)

#372
post #358

Earlier quoted context omitted.

That's true, it's more like naming your language "BlockchainScript". I could totally see someone doing that today.

I just checked and bitcoinscript.org seems to be owned by a domain parker.

Bitcoin already has a script (it's what transactions are made of) so that's not unexpected.

Re: Netscape and Sun Announce JavaScript (1995)

#373
post #350

Earlier quoted context omitted.

> There really isn't a solid line you can draw between a "script" and a "programming language" I think it's easier to draw the line if you have the requirements right. That's not the line that was being drawn. it was scripting vs compiled languages. It was very clear then which sides Java and Javascript fell on. There are some weird cases now like compiling scripts into different scripts, but in general it's pretty c…

The great "script vs programming language debate". The difference is clear to you because you have a clear definition in your mind. The problem is that the definition changes depending on who you talk to, which invites endless debate.

Well it's a pretty bad debate if people aren't agreeing on definitions. Hence this whole chain of comments.

Re: Netscape and Sun Announce JavaScript (1995)

#374
post #349

In the beginning JavaScript was created. This has made a lot of people very angry and has been widely regarded as a bad move.

> widely regarded as a bad move. By who? You? Because there’s tens (hundreds) of thousands of programmers and thousands of companies working on JavaScript. Just because many here consider JavaScript bad doesn’t mean everyone does. JavaScript has many problems, but it’s not “widely regarded” as bad.

(It's a quote from a popular book.)

Re: Netscape and Sun Announce JavaScript (1995)

#375

Earlier quoted context omitted.

The industry is cyclical and to be forward thinking all you have to do is describe what's already happened and assume it will happen again. ;-) The things being done with JavaScript today are not new, nor is the idea that a server and client would coordinate to run interactive apps. That fundamental concept has been reimplemented in many different ways until we've landed on the current rube goldbergian monstrosity th…

I'm not surprised that the architecture isn't new, I'm surprised that web apps were already being talked about this way using JS specifically. JS's early design flaws are often written off as, "well it was never intended to be a real programming language like it is today". But from reading this, that doesn't sound to be the case.

I think JS' early design flaws were a result of being written in a day more than anything to do with a specific purpose (I exaggerate but not by much). Though it is true that most people at the time used JS (if they used it) for much simpler tasks than described in the article.

Re: Netscape and Sun Announce JavaScript (1995)

#376

Earlier quoted context omitted.

> widely regarded as a bad move. By who? You? Because there’s tens (hundreds) of thousands of programmers and thousands of companies working on JavaScript. Just because many here consider JavaScript bad doesn’t mean everyone does. JavaScript has many problems, but it’s not “widely regarded” as bad.

(It's a quote from a popular book.)

[deleted]

Re: Netscape and Sun Announce JavaScript (1995)

#377
post #349

In the beginning JavaScript was created. This has made a lot of people very angry and has been widely regarded as a bad move.

> widely regarded as a bad move. By who? You? Because there’s tens (hundreds) of thousands of programmers and thousands of companies working on JavaScript. Just because many here consider JavaScript bad doesn’t mean everyone does. JavaScript has many problems, but it’s not “widely regarded” as bad.

the OP is referencing a line from The Hitchhiker's Guide to the Galaxy:

"In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move."

Re: Netscape and Sun Announce JavaScript (1995)

#378

My first browser I was accustomed to using was Netscape on a Mac. Search engines were Hotbot and Webcrawler after Yahoo. Cannot recall the others. When I think back IE browser was the top browser and there were all sorts of workarounds to get it html compliant (or rather IE compliant). Easy to learn html, but hard to get it working right. Then adding in javascript for the added dynamic flair. I wanted to learn javasc…

Thunderbird debuted as Netscape mail and was combined in Netscape Communicator suite I believe. Memory fuzzy.

Thunderbird came out of the Netscape 6 rewrite by way of the Mozilla Application Suite, not either of the Netscape 3 or Netscape 4 mail clients.

Re: Netscape and Sun Announce JavaScript (1995)

#379
post #332

Earlier quoted context omitted.

Of course, there's murky things like Python which make bytecode compiled forms behind the scene. But there's a lot of magic involved in transforming Java to class files, and then there's a lot of further magic in resolving, loading, and eventually executing classes.

PHP does the same. It’s compiled to a bytecode before execution. But I don’t think it’s cached anywhere like Python (but that may have changed in the decade since I’ve used it)

PHP has had an OPCache as an add-on since 5.1.0(around 2004), and by default since 5.5.0: https://www.php.net/manual/en/intro.opcache.php

Re: Netscape and Sun Announce JavaScript (1995)

#380
post #344

Earlier quoted context omitted.

I feel like "requires compilation" is a good first order differentiator. And "has a somewhat sane type system" is another.

Well, C++ can be interpreted (sort of, see CINT) and can certainly be semi-transparently jitted (see cling). Although it's certainly not designed for that!

Templates are turing complete and universally interpreted AFAIK (I don't think any implementation compiles them before evaluation?). There's also features like constexpr these days.
Post reply on HN