Live data from Hacker News

It’s time to free JavaScript (2024)

javascript.tm

391–393 of 393 posts

Re: It’s time to free JavaScript (2024)

#391
post #389

Earlier quoted context omitted.

Yeah that's kinda the point; you get all that, unless you don't run the build-step/in-editor dev process. And the only reason to make that step optional, is to not run it, which is a worse experience. So I'm not necessarily saying it's a bad thing, it's just that I don't see the point. And given that there's the major downside of having to go through the standards process, both now and in the future, which will likel…

> And the only reason to make that step optional, is to not run it, which is a worse experience. Yeah, but it's an optional "worse" experience. IOW, for those people who think it's a better experience (because there is no build step), they can opt into it. For those who think it's a worse experience, they can continue using a build-step. Nothing changes for those who want a build-step. (I agree about the standards pr…

> a better experience (because there is no build step)

I feel like the way to make both of us happy is to just strip type annotations, rather than doing full type checking in the browser. Which, luckily, is already making its way through the standards track: https://tc39.es/proposal-type-annotations/

> If the browser support TS natively, the compilation target would not be JS (which is what makes the resulting code slow), but either WASM, or naive code.

I was not talking about compiling it to JS; I seem to recall that native support wouldn't necessarily result in big performance improvements. (Consider that JS is also not being compiled to JS.)

Re: It’s time to free JavaScript (2024)

#392
post #179

Earlier quoted context omitted.

From days of old... Invoking Applet Methods From JavaScript Code - https://docs.oracle.com/javase/tutorial/deployment/applet/in... and Invoking JavaScript Code From an Applet - https://docs.oracle.com/javase/tutorial/deployment/applet/in... Aside from the "Java is cool, name everything Java" in the early days - there was scripting between the browser and the applet using a language named JavaScript.

Eh, JavaScript wasn't the originally chosen name, it was LiveScript by Eich. I've never seen a justification for the name from anyone in the know, other than Eich's musing that Netscape wanted the "cool" factor. That "cool" factor was also why the original task of embedding scheme into the browser turned into a more C/Java-esque flavor.

I didn't pick LiveScript, Netscape Marketing did.

The original codename Mocha was Marc Andreessen's.

This is all in the HOPL IV paper and my Lex Fridman interview.

Re: It’s time to free JavaScript (2024)

#393
post #89

This is pointless. Oracle is not a democracy, it's a lawnmower.

Well, it's not up to Oracle. It is up to the US government (USPTO). Which you could make a strong case for also not being a democracy and rather a lawnmower... But I digress.

The article is presented as a pitch to Oracle not the USPTO.
Post reply on HN