Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johnhenry
on Dec 6, 2016
|
parent
|
context
|
favorite
| on:
Closure Compiler in JavaScript
This is Google's JavaScript to JavaScript compiler, originally written in Java, but compiled with their Java to JavaScript compiler so that it runs in JavaScript... fair enough...
paulddraper
on Dec 6, 2016
|
next
[–]
I'm not sure this is what Gosling had in mind when he said "compile once, run anywhere" :P
moolcool
on Dec 6, 2016
|
parent
|
next
[–]
It's 2016, the mantra now is "Compile thee times, run slowly in a handful of web browsers"
kevincox
on Dec 6, 2016
|
parent
|
prev
|
next
[–]
To nitpick they are compiling separately for the js version ;)
paulddraper
on Dec 6, 2016
|
root
|
parent
|
next
[–]
Though if you consider JS the universal runtime (Node, Nashorn, browser), then it is just once.
summarity
on Dec 6, 2016
|
prev
|
next
[–]
We need to go deeper...
strictfp
on Dec 6, 2016
|
parent
|
next
[–]
... which is JIT-compiled with their JavaScript-to-machine-code compiler.
strictfp
on Dec 6, 2016
|
prev
|
next
[–]
You forgot to include V8!
johnhenry
on Dec 7, 2016
|
parent
|
next
[–]
Technically, this is the last "JavaScript" in the sentence.
dafrankenstein2
on Dec 6, 2016
|
prev
|
next
[–]
Yeah I was trying to figure that out..haha
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: