JVMLS 2015 - Java Goes AOT
Channel:Java · Length:40:50 · Published:2015-08-12 · Views:7598
Summary
Christian Thalinger presents at the 2015 JVM Language Summit on adding ahead-of-time compilation to the JVM, covering the HotSpot team's AOT work and its relation to warmup and deoptimization.
Why HN recommends it
Cited in AOT discussions as evidence that Oracle was moving toward AOT in the JDK and as an explanation of the deoptimization concerns.
It's explained in the talk — HN, 2016
Python, Ruby & scripting languages · Compilers, interpreters & program analysis
Subtitles (excerpt)
I'm really happy that I can present this here because I talked to some people yesterday and they were asking me what are you doing you disappeared um and that's the reason I disappeared because of that um and since you probably never heard of it so that means that we're doing this enclosed and it's a confidential thing and we couldn't talk about it until today so I I'll present that um I'll talk a little bit about it why we doing it now um there are some people in this room who have done this before it's definitely not a new thing right everyone knows how it works and uh we have other chva implementations that do that and there were other companies before us that did that so this is important because um this is still experimental and we don't know exactly in what chva version we are going to deliver this and so on um so why why are we doing this I'll briefly talk about that um then I'll I'll I'll lay out a little bit how our aot compiler works and and how you aot compile stuff um then I talk a little bit about the container format which which one we chose and why we did that um then where we are right now what we support what we are planning on supporting in the future again it's not tied to any chva version that's at this point so uh and then
On Hacker News
> Compiles to binary which could bring benefits depending on your needs (compared to JS, Java, Scala..) While its not there _yet_, JEP 295: Ahead-of-Time Compilation ( [LINK] ) is active, it was just updated last week, is targeted and a priority 1 item. I have reasonable confidence that it will get there in the near future. See also: JVMLS 2015 - Java Goes AOT [VIDEO] — shagie, 2016-12
There was a talk about it last year: [VIDEO] The project seems to have gone slower than I expected, perhaps because Chris Thalinger moved to Twitter. — mike_hearn, 2016-10
It's explained in the talk "Java goes AOT": [VIDEO] Basically they thought it'd de-opt too much. I'm not totally sure it's the case but they'd be the experts on that. — mike_hearn, 2016-10
Hi, What is the rationale for doing this, given that the Graal / JVM guys are already developing an AOT compiler which can compile Scala to native binaries? Is this motivated by performance? The desire to write C libraries in Scala? What? Given the high level, dynamic nature of Scala I am skeptical LLVM+Boehm GC will result in faster code. I expect it would result in slower code. EDIT: OK, I just… — sievebrain, 2016-05
Afaik IBM's JVM supports class data sharing, which effectively provides AOT behavior once they have been JITed. For oracle's VM they're working on a commercial feature [VIDEO] There also are things like nailgun which simply prestart a JVM and then delegate to the loaded JVM when you invoke some command. It may be a bit of a workaround, but if your use-case is to frequently start extremely shortli… — the8472, 2016-02
Related videos
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- Brian Goetz - Stewardship: the Sobering Parts · ClojureTV · 1:03:30
- Ruby Midwest 2011 - Keynote: Architecture the Lost Years by Robert Martin · Confreaks · 1:06:38
- JavaScript: The Good Parts · Google TechTalks · 1:03:47
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17” · CppCon · 1:19:52
- Using Python to Code by Voice · Next Day Video · 28:17