SlideShare a Scribd company logo
1 of 88
Download to read offline
Beyond JVM
A tour of upcoming technologies
Me
• Charles Oliver Nutter	

• Red Hat (yes, I have one; no, I don’t wear it)	

• JRuby and JVM languages	

• JVM hacking and spelunking	

• @headius
Goals
• Get you excited about the future of JVM	

• Show you there are very few unsolvables	

• Convince you to get involved
What is “JVM”?
• The JVM is software that runs JVM bytecode	

• Java, Scala, Groovy, JRuby, Clojure, …	

• OpenJDK contains Sun’s JVM “HotSpot”	

• Oracle’s JDK is based on OpenJDK	

• Many other JVMs exist for many platforms	

• Some just replace HotSpot
OSS JVMs
•
•
•
•
•
•
•
•
•

Avian	

Azul Zulu	

CACAO	

Dalvik	

GCJ	

HaikuVM	

HotSpot	


•
•
•
•
•
•
•

IcedTea	

IKVM.NET	


•

Jamiga	

JamVM	

Jaos	

Jato VM	

Jelatine JVM	

JESSICA	

Jikes RVM
(Jikes Research
Virtual
Machine)	

JOP	


•
•
•
•
•
•
•
•
•

Juice	

Jupiter	

JwiK	

Kaffe	

leDos	

MateVM	

Maxine	

Mika VM	

miniMV	


•
•
•
•
•

Mysaifu	


•
•
•
•

SuperWaba	


NanoVM	

RoboVM	

SableVM	

Squawk virtual
machine	


TakaTuka	

TinyVM.	

VM02
Why JVM?
Why Not JVM?
Startup Time
Java-Heavy JDK
• + Less native code to maintain	

• + Easier portability	

• + Easier to swap out native side	

• – Takes longer to warm up
Save JITed Code?
• Code will change across runs	

• Often has specific memory addresses	

• May optimize object layout differently	

• Which JIT output?	

• Client, Server, Tiered (1-4)
JRuby Startup
C Ruby

JRuby

JRuby (best)

-e 1

gem --help

rake -T

0

2.5

5

7.5

10
Drip
• Start a new JVM after each command	

• Pre-boot JVM plus optional code	

• Analyze command line for differences	

• Age out unused instances	

• https://github.com/flatland/drip
$ export JAVACMD=`which drip`	
!
$ time jruby -e 1	
!
real	 0m1.655s	
user	 0m4.486s	
sys	0m0.231s	
!
system ~/projects/jruby $ time jruby -e 1	
!
real	 0m0.577s	
user	 0m0.052s	
sys	0m0.065s
$ export DRIP_INIT_CLASS=org.jruby.main.DripMain	
!
$ export DRIP_INIT=""	
!
$ time jruby -e 1	
!
real	 0m0.580s	
user	 0m0.052s	
sys	0m0.063s	
!
system ~/projects/jruby $ time jruby -e 1	
!
real	 0m0.155s	
user	 0m0.049s	
sys	0m0.058s
$ cat dripmain.rb	
# Preload some code Rails always needs	
require File.expand_path('../config/application', __FILE__)
JRuby Startup
C Ruby
JRuby (drip init)

JRuby (best)
JRuby (dripmain)

JRuby (drip)

-e 1

gem --help

rake -T

0

1.25

2.5

3.75

5
Native Interop
Native Interop
User Code

Java

JNI call

C/native

JNI impl
Target Library
JNI
public class GetPidJNI {!
public static native long getpid();!
!
public static void main( String[] args ) {!
getpid();!
}!
!
static {!
System.load(!
System.getProperty("user.dir") +!
"/getpidjni.dylib");!
}!
}
JNI
/* DO NOT EDIT THIS FILE - it is machine generated */!
#include <jni.h>!
/* Header for class com_headius_jnr_presentation_GetPidJNI */!
 !
#ifndef _Included_com_headius_jnr_presentation_GetPidJNI!
#define _Included_com_headius_jnr_presentation_GetPidJNI!
#ifdef __cplusplus!
extern "C" {!
#endif!
/*!
* Class:
com_headius_jnr_presentation_GetPidJNI!
* Method:
getpid!
* Signature: ()J!
*/!
JNIEXPORT jlong JNICALL Java_com_headius_jnr_1presentation_GetPidJNI_getpid!
(JNIEnv *, jclass);!
 !
#ifdef __cplusplus!
}!
#endif!
#endif
JNI
#include "com_headius_jnr_presentation_GetPidJNI.h"!
 !
jlong JNICALL Java_com_headius_jnr_1presentation_GetPidJNI_getpid!
(JNIEnv *env, jclass c) {!
 !
return getpid();!
}
JNI
$ gcc -I $JAVA_HOME/include -I
$JAVA_HOME/include/darwin -L
$JAVA_HOME/jre/lib/ -dynamiclib -ljava
-o getpidjni.dylib
com_headius_jnr_presentation_GetPidJNI.
c!
!

$ java -Djava.library.path=`pwd` -cp
target/jnr_presentation-1.0SNAPSHOT.jar
com.headius.jnr_presentation.GetPidJNI
Nobody enjoys calling
native libraries...
...but if you have to call
native libraries, you
might as well enjoy it.
Java Native Runtime
• Java API	

• for calling Native code	

• supported by a rich Runtime library	

• You may be familiar with JNA 	

• Foreign Function Interface (FFI)	

• https://github.com/jnr	

• Maven artifacts for everything
A Java API for binding
native libraries and
native memory
Justifications
• NIO, NIO.2	

• Native IO, symlinks, FS-walking, 	

• Unmanaged memory	

• Selectable stdio, process IO	

• Low-level or other sockets (UNIX, ICMP, ...)	

• New APIs (graphics, crypto, OS, ...)
User Code

Java

JNI call

C/native

JNI impl
Target Library
User Code

Java

JNI call

C/native

JNI impl
Target Library
User Code
JNR stub

Java

JNI call

C/native

JNI impl
libffi
Target Library
JNR
import jnr.ffi.LibraryLoader;!
import jnr.ffi.annotations.IgnoreError;!
 !
public class GetPidJNRExample {!
public interface GetPid {!
long getpid();!
}!
!
public static void main( String[] args ) {!
GetPid getpid = LibraryLoader!
.create(GetPid.class)!
.load("c");!
!
getpid.getpid();!
}!
}
Layered Runtime
etc etc
jnr-posix	


jnr-unixsocket!
jnr-enxio

jnr-constants

jnr-ffi
jffi
libffi

jnr-x86asm
JNR Platforms
• Darwin (OS X): universal (+ppc?)	

• Linux: i386, x86_64, arm, ppc, ppc64, s390x	

• Windows: i386, x86_64	

• FreeBSD, OpenBSD: i386, x86_64	

• SunOS: i386, x86_64, sparc, sparcv9	

• AIX: ppc	

• OpenVMS, AS/400: builds out there somewhere	

• If your platform isn't here, contribute a build
jnr-ffi
• User-oriented API	

• Roughly equivalent to what JNA gives you	

• Functions, structs, callbacks, memory	

• https://github.com/jnr/jnr-ffi
jnr-ffi
import jnr.ffi.LibraryLoader;!
import jnr.ffi.annotations.IgnoreError;!
 !
public class GetPidJNRExample {!
public interface GetPid {!
long getpid();!
}!
!
public static void main( String[] args ) {!
GetPid getpid = LibraryLoader!
.create(GetPid.class)!
.load("c");!
!
getpid.getpid();!
}!
}
jnr-posix
• Pre-bound set of POSIX functions	

• Mostly driven by what JRuby, Jython use	

• Goal: 100% of POSIX bound to Java
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
List<?

int chmod(String string, int i);!
int chown(String string, int i, int i1);!
int execv(String string, String[] strings);!
int execve(String string, String[] strings, String[] strings1);!
int fork();!
int seteuid(int i);!
int getgid();!
String getlogin();!
int getpgid();!
int getpgid(int i);!
int getpgrp();!
int getpid();!
int getppid();!
Passwd getpwent();!
Passwd getpwuid(int i);!
Passwd getpwnam(String string);!
Group getgrgid(int i);!
Group getgrnam(String string);!
int getuid();!
boolean isatty(FileDescriptor fd);!
int kill(int i, int i1);!
int symlink(String string, String string1);!
int link(String string, String string1);!
String readlink(String string) throws IOException;!
String getenv(String string);!
int setenv(String string, String string1, int i);!
int unsetenv(String string);!
int getpriority(int i, int i1);!
int setpriority(int i, int i1, int i2);!
int setuid(int i);!
FileStat stat(String string);!
int stat(String string, FileStat fs);!
int umask(int i);!
Times times();!
int utimes(String string, long[] longs, long[] longs1);!
int waitpid(int i, int[] ints, int i1);!
int wait(int[] ints);!
int errno();!
void errno(int i);!
int posix_spawnp(String string, List<? extends SpawnFileAction> list,
extends CharSequence> list1, List<? extends CharSequence> list2);
POSIX posix = POSIXFactory.getPOSIX(!
new MyPOSIXHandler(this),!
isNativeEnabled);
public interface POSIXHandler {!
public void error(Errno errno, String string);!
public void unimplementedError(String string);!
public void warn(WARNING_ID wrngd, String string, Object[] os);!
public boolean isVerbose();!
public File getCurrentWorkingDirectory();!
public String[] getEnv();!
public InputStream getInputStream();!
public PrintStream getOutputStream();!
public int getPID();!
public PrintStream getErrorStream();!
}
jnr-enxio
• Extended Native X-platform IO	

• NIO-compatible JNR-backed IO library	

• Read, write, select (kqueue, epoll, etc)	

• Low-level fcntl control	

• https://github.com/jnr/jnr-enxio
public class NativeSocketChannel!
extends AbstractSelectableChannel!
implements ByteChannel, NativeSelectableChannel {!
public NativeSocketChannel(int fd);!
public NativeSocketChannel(int fd, int ops);!
public final int validOps();!
public final int getFD();!
public int read(ByteBuffer dst) throws IOException;!
public int write(ByteBuffer src) throws IOException!
public void shutdownInput() throws IOException;!
public void shutdownOutput() throws IOException;!
}
jnr-unixsocket
• UNIX sockets for NIO	

• Built atop jnr-enxio	

• Fully selectable, etc	

• https://github.com/jnr/jnr-unixsocket
How Does It Perform?
JNA getpid

JNR getpid

getpid calls, 100M times
100000ms
10000ms
1000ms
100ms
10ms
1ms
@IgnoreError
import jnr.ffi.LibraryLoader;!
import jnr.ffi.annotations.IgnoreError;!
 !
public class GetPidJNRExample {!
public interface GetPid {!
@IgnoreError!
long getpid();!
}!
!
public static void main( String[] args ) {!
GetPid getpid = LibraryLoader!
.create(GetPid.class)!
.load("c");!
!
getpid.getpid();!
}!
}
JNR getpid

JNR getpid @IgnoreError
getpid calls, 100M times

2000ms

1500ms

1000ms

500ms

0ms
But There's More to Do
JNR getpid

JNI

JNR @IgnoreError
getpid calls, 100M times

2000ms
1500ms
1000ms
500ms
0ms

GCC -O3
JVM Help is Coming
• Standard FFI API in JDK	

• JIT intelligence	

• Drop JNI overhead where possible	

• Bind native call directly at call site	

• Security policies, segv protection, etc	

• Time for an FFI JSR
Language Performance
History
• JVM authors mentioned non-Java languages	

• Language authors have targeted JVM	

• Hundreds of JVM languages now	

• But JVM was a mismatch for many of them	

• Usually required tricks that defeated JVM
optimizations	


• Or required features JDK could not provide
What is
invokedynamic
JVM
Opcodes
Invocation	


Field Access	


invokevirtual!
invokeinterface!
invokestatic!
invokespecial

getfield!
setfield!
getstatic!
setstatic

Stack

Flow Control

Boolean and Numeric

Array Access	

*aload!
*astore!
b,s,c,i,l,d,f,a

Local Vars

Allocation
Goals of JSR 292
• A user-definable bytecode	

• Full freedom to define VM behavior	

• Fast method pointers + adapters	

• Optimizable like normal Java code	

• Avoid future modifications
A User-definable
Bytecode
You decide how the JVM implements it

+
Method Pointers
and Adapters
Faster than reflection, with user-defined	

argument, flow, and exception handling
invokedynamic opcode
user-def’d bytecode

method pointers
MethodHandles

invokedynamic
Method Invocation
VM Operations	

Method Lookup	

Type Checking	

Branch	

Method Cache

obj.foo()

Target	

Object
JVM

Call Site

instanceof

Object’s	

Class
void foo()

void foo()
static void bar()
// Static!
System.currentTimeMillis()!
Math.log(1.0)!
 !
// Virtual!
"hello".toUpperCase()!
System.out.println()!
 !
// Interface!
myList.add("happy happy")!
myRunnable.run()!
 !
// Special!
new ArrayList()!
super.equals(other)
// Static!
invokestatic java/lang/System.currentTimeMillis:()J!
invokestatic java/lang/Math.log:(D)D!
!
// Virtual!
invokevirtual java/lang/String.toUpperCase:()Ljava/lang/String;!
invokevirtual java/io/PrintStream.println:()V!
!
// Interface!
invokeinterface java/util/List.add:(Ljava/lang/Object;)Z!
invokeinterface java/lang/Runnable.add:()V!
!
// Special!
invokespecial java/util/ArrayList.<init>:()V!
invokespecial java/lang/Object.equals:(java/lang/Object)Z
invokevirtual!
1. Confirm object is of correct type	

2. Confirm arguments are of correct type	

3. Look up method on Java class	

invokestatic
4. Cache method	

5. Invoke method

invokestatic!
1. Confirm arguments are of correct type	

2. Look up method on Java class	

3. Cache method	

4. Invoke method

invokevirtual
invokeinterface!
1. Confirm object’s type implements interface	

2. Confirm arguments are of correct type	

3. Look up method on Java class	

invokeinterface
4. Cache method	

5. Invoke method

invokespecial!
1. Confirm object is of correct type	

2. Confirm arguments are of correct type	

3. Confirm target method is visible	

4. Look up method on Java class	

5. Cache method	

6. Invoke method

invokespecial
invokedynamic!
1. Call your bootstrap code	

2. Bootstrap wires up a target function	

3. Target function invoked directly until you change it
invokedynamic bytecode
target method

bo
ot
st

ra
p

m

et
ho
d

method handles
How Do You Benefit?
Indy Languages
• New language impls	

• JavaScript: Dyn.js and Nashorn	

• Redline Smalltalk	

• Improved language performance	

• JRuby, Groovy, Jython	

• Java features too!
JRuby/Java 6

JRuby/Java 7

Times Faster than Ruby 1.9.3
5
4.32

3.75

3.66
3.44

2.5

2.658

1.914

1.25

0

1.346

base64

1.565

1.538

richards

neural

redblack
red/black tree, pure Ruby versus native

ruby-2.0.0 + Ruby

2.48s

ruby-2.0.0 + C ext

0.51s

jruby + Ruby

0.29s

0

0.75

1.5
Runtime per iteration

2.25

3
Indy + JNR
Ruby getpid

Java getpid

100M getpid calls
2700

2025

1350

675

0
Caveat Emptor
• Indy was really slow in first Java 7 release	

• Got fast in 7u2...and turned out broken	

• Rewritten for 7u40	

• Slow to warm up	

• Still some issues (memory use, etc)	

• Java 8 due in March…
All That C++
JVM
Language

JVM
Bytecode

Out of our control	

Written in C++

Bytecode
Interpreter

Bytecode
JIT

Native
Code
What If…
• The JVM’s JIT optimizer were written in Java	

• You could customize how the JIT works for
your language or library	


• JITed code could directly make native calls
Graal
• A 100% Java-based JIT framework	

• Grew out of the 100% Java “Maxine” JVM	

• Backends to assembly or HotSpot IR	

• Directly control code generation	

• Build a language without using JVM bytecode	

• http://openjdk.java.net/projects/graal/
JVM
Language
Plain Java APIs

Graal	

Intermediate
Representation

Graal
Optimizer

Under your control

Your
Transformations

Your
Optimizations

Native
Code
However…
• Not everyone is a compiler writer	

• Graal’s IR is low-level and nontrivial	

• Need to understand JVM internals	

• Need some understanding of CPU
The Dream
• Design your language	

• ???	

• PROFIT
Typical JVM Language
• Design your language	

• Maybe write an interpreter	

• Compile to JVM bytecode	

• Pray that the JVM optimizes it right	

• PROFIT
What We Want
• Design your language	

• Write an interpreter	

• PROFIT
Truffle
• Language framework built on Graal	

• Designed to fulfill the dream	

• Implement interpreter	

• Truffle feeds that to backend	

• No compiler expertise needed	


• https://wiki.openjdk.java.net/display/Graal/Truffle+FAQ+and+Guidelines
JVM
Language

Truffle	

AST
All we need

Graal
Intermediate
Representation

Graal
Optimizer

Native
Code
The Final Word
• JVM is a powerful platform	

• Java and other languages are evolving	

• The JVM is adapting to our needs	

• New tools breaking JVM’s boundaries
Thank you!
• Charles Oliver Nutter	

• @headius, headius@headius.com	

• http://blog.headius.com

More Related Content

What's hot

Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...
Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...
Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...
mfrancis
 
A Modest Introduction To Swift
A Modest Introduction To SwiftA Modest Introduction To Swift
A Modest Introduction To Swift
John Anderson
 

What's hot (20)

Практики применения JRuby
Практики применения JRubyПрактики применения JRuby
Практики применения JRuby
 
Steelcon 2014 - Process Injection with Python
Steelcon 2014 - Process Injection with PythonSteelcon 2014 - Process Injection with Python
Steelcon 2014 - Process Injection with Python
 
Memory Corruption: from sandbox to SMM
Memory Corruption: from sandbox to SMMMemory Corruption: from sandbox to SMM
Memory Corruption: from sandbox to SMM
 
Packers
PackersPackers
Packers
 
Solid And Sustainable Development in Scala
Solid And Sustainable Development in ScalaSolid And Sustainable Development in Scala
Solid And Sustainable Development in Scala
 
Ahead-Of-Time Compilation of Java Applications
Ahead-Of-Time Compilation of Java ApplicationsAhead-Of-Time Compilation of Java Applications
Ahead-Of-Time Compilation of Java Applications
 
Building a Unified Data Pipline in Spark / Apache Sparkを用いたBig Dataパイプラインの統一
Building a Unified Data Pipline in Spark / Apache Sparkを用いたBig Dataパイプラインの統一Building a Unified Data Pipline in Spark / Apache Sparkを用いたBig Dataパイプラインの統一
Building a Unified Data Pipline in Spark / Apache Sparkを用いたBig Dataパイプラインの統一
 
Obfuscating The Empire
Obfuscating The EmpireObfuscating The Empire
Obfuscating The Empire
 
Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...
Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...
Everything can be a bundle - making OSGi bundles of Java legacy code - Gunnar...
 
Oscon Java Testing on the Fast Lane
Oscon Java Testing on the Fast LaneOscon Java Testing on the Fast Lane
Oscon Java Testing on the Fast Lane
 
mjprof: Monadic approach for JVM profiling
mjprof: Monadic approach for JVM profilingmjprof: Monadic approach for JVM profiling
mjprof: Monadic approach for JVM profiling
 
Invoke-CradleCrafter: Moar PowerShell obFUsk8tion & Detection (@('Tech','niqu...
Invoke-CradleCrafter: Moar PowerShell obFUsk8tion & Detection (@('Tech','niqu...Invoke-CradleCrafter: Moar PowerShell obFUsk8tion & Detection (@('Tech','niqu...
Invoke-CradleCrafter: Moar PowerShell obFUsk8tion & Detection (@('Tech','niqu...
 
From P0W3R to SH3LL
From P0W3R to SH3LLFrom P0W3R to SH3LL
From P0W3R to SH3LL
 
A Modest Introduction To Swift
A Modest Introduction To SwiftA Modest Introduction To Swift
A Modest Introduction To Swift
 
Thinking Outside The [Sand]Box
Thinking Outside The [Sand]BoxThinking Outside The [Sand]Box
Thinking Outside The [Sand]Box
 
[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...
[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...
[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...
 
Rocket Fuelled Cucumbers
Rocket Fuelled CucumbersRocket Fuelled Cucumbers
Rocket Fuelled Cucumbers
 
OCCIware
OCCIwareOCCIware
OCCIware
 
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
44CON 2013 - Browser bug hunting - Memoirs of a last man standing - Atte Kett...
 
Workshop: PowerShell for Penetration Testers
Workshop: PowerShell for Penetration TestersWorkshop: PowerShell for Penetration Testers
Workshop: PowerShell for Penetration Testers
 

Viewers also liked (6)

Dealing with JVM limitations in Apache Cassandra (Fosdem 2012)
Dealing with JVM limitations in Apache Cassandra (Fosdem 2012)Dealing with JVM limitations in Apache Cassandra (Fosdem 2012)
Dealing with JVM limitations in Apache Cassandra (Fosdem 2012)
 
Improvements to Flink & it's Applications in Alibaba Search
Improvements to Flink & it's Applications in Alibaba SearchImprovements to Flink & it's Applications in Alibaba Search
Improvements to Flink & it's Applications in Alibaba Search
 
Apache Flink at Strata San Jose 2016
Apache Flink at Strata San Jose 2016Apache Flink at Strata San Jose 2016
Apache Flink at Strata San Jose 2016
 
Android IPC Mechanism
Android IPC MechanismAndroid IPC Mechanism
Android IPC Mechanism
 
JNA
JNAJNA
JNA
 
Overview of Android binder IPC implementation
Overview of Android binder IPC implementationOverview of Android binder IPC implementation
Overview of Android binder IPC implementation
 

Similar to Beyond JVM - YOW! Brisbane 2013

Server Side JavaScript - You ain't seen nothing yet
Server Side JavaScript - You ain't seen nothing yetServer Side JavaScript - You ain't seen nothing yet
Server Side JavaScript - You ain't seen nothing yet
Tom Croucher
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
attiqrocket
 
Charles nutter star techconf 2011 - jvm languages
Charles nutter   star techconf 2011 - jvm languagesCharles nutter   star techconf 2011 - jvm languages
Charles nutter star techconf 2011 - jvm languages
StarTech Conference
 
Native code in Android applications
Native code in Android applicationsNative code in Android applications
Native code in Android applications
Dmitry Matyukhin
 

Similar to Beyond JVM - YOW! Brisbane 2013 (20)

introduction to node.js
introduction to node.jsintroduction to node.js
introduction to node.js
 
How to implement a simple dalvik virtual machine
How to implement a simple dalvik virtual machineHow to implement a simple dalvik virtual machine
How to implement a simple dalvik virtual machine
 
Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)Nodejs - A quick tour (v6)
Nodejs - A quick tour (v6)
 
Java platform
Java platformJava platform
Java platform
 
Server Side JavaScript - You ain't seen nothing yet
Server Side JavaScript - You ain't seen nothing yetServer Side JavaScript - You ain't seen nothing yet
Server Side JavaScript - You ain't seen nothing yet
 
Burp Plugin Development for Java n00bs - 44CON 2012
Burp Plugin Development for Java n00bs - 44CON 2012Burp Plugin Development for Java n00bs - 44CON 2012
Burp Plugin Development for Java n00bs - 44CON 2012
 
Lesson1 intro
Lesson1 introLesson1 intro
Lesson1 intro
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Lesson1 intro
Lesson1 introLesson1 intro
Lesson1 intro
 
Java goes wild, lesson 1
Java goes wild, lesson 1Java goes wild, lesson 1
Java goes wild, lesson 1
 
Understanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual MachineUnderstanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual Machine
 
Building High Performance Android Applications in Java and C++
Building High Performance Android Applications in Java and C++Building High Performance Android Applications in Java and C++
Building High Performance Android Applications in Java and C++
 
Charles nutter star techconf 2011 - jvm languages
Charles nutter   star techconf 2011 - jvm languagesCharles nutter   star techconf 2011 - jvm languages
Charles nutter star techconf 2011 - jvm languages
 
Un) fucking forensics
Un) fucking forensicsUn) fucking forensics
Un) fucking forensics
 
Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3
 
Fast as C: How to Write Really Terrible Java
Fast as C: How to Write Really Terrible JavaFast as C: How to Write Really Terrible Java
Fast as C: How to Write Really Terrible Java
 
Java - A broad introduction
Java - A broad introductionJava - A broad introduction
Java - A broad introduction
 
Native code in Android applications
Native code in Android applicationsNative code in Android applications
Native code in Android applications
 
DevoxxUK: Is your profiler speaking the same language as you?
DevoxxUK: Is your profiler speaking the same language as you?DevoxxUK: Is your profiler speaking the same language as you?
DevoxxUK: Is your profiler speaking the same language as you?
 
Devoxx PL: Is your profiler speaking the same language as you?
Devoxx PL: Is your profiler speaking the same language as you?Devoxx PL: Is your profiler speaking the same language as you?
Devoxx PL: Is your profiler speaking the same language as you?
 

More from Charles Nutter

JavaOne 2012 - JVM JIT for Dummies
JavaOne 2012 - JVM JIT for DummiesJavaOne 2012 - JVM JIT for Dummies
JavaOne 2012 - JVM JIT for Dummies
Charles Nutter
 

More from Charles Nutter (20)

The Year of JRuby - RubyC 2018
The Year of JRuby - RubyC 2018The Year of JRuby - RubyC 2018
The Year of JRuby - RubyC 2018
 
Down the Rabbit Hole: An Adventure in JVM Wonderland
Down the Rabbit Hole: An Adventure in JVM WonderlandDown the Rabbit Hole: An Adventure in JVM Wonderland
Down the Rabbit Hole: An Adventure in JVM Wonderland
 
Ruby Performance - The Last Mile - RubyConf India 2016
Ruby Performance - The Last Mile - RubyConf India 2016Ruby Performance - The Last Mile - RubyConf India 2016
Ruby Performance - The Last Mile - RubyConf India 2016
 
JRuby 9000 - Optimizing Above the JVM
JRuby 9000 - Optimizing Above the JVMJRuby 9000 - Optimizing Above the JVM
JRuby 9000 - Optimizing Above the JVM
 
JRuby and Invokedynamic - Japan JUG 2015
JRuby and Invokedynamic - Japan JUG 2015JRuby and Invokedynamic - Japan JUG 2015
JRuby and Invokedynamic - Japan JUG 2015
 
JRuby 9000 - Taipei Ruby User's Group 2015
JRuby 9000 - Taipei Ruby User's Group 2015JRuby 9000 - Taipei Ruby User's Group 2015
JRuby 9000 - Taipei Ruby User's Group 2015
 
Open Source Software Needs You!
Open Source Software Needs You!Open Source Software Needs You!
Open Source Software Needs You!
 
InvokeBinder: Fluent Programming for Method Handles
InvokeBinder: Fluent Programming for Method HandlesInvokeBinder: Fluent Programming for Method Handles
InvokeBinder: Fluent Programming for Method Handles
 
Over 9000: JRuby in 2015
Over 9000: JRuby in 2015Over 9000: JRuby in 2015
Over 9000: JRuby in 2015
 
Doing Open Source the Right Way
Doing Open Source the Right WayDoing Open Source the Right Way
Doing Open Source the Right Way
 
JRuby: The Hard Parts
JRuby: The Hard PartsJRuby: The Hard Parts
JRuby: The Hard Parts
 
Bringing Concurrency to Ruby - RubyConf India 2014
Bringing Concurrency to Ruby - RubyConf India 2014Bringing Concurrency to Ruby - RubyConf India 2014
Bringing Concurrency to Ruby - RubyConf India 2014
 
Down the Rabbit Hole
Down the Rabbit HoleDown the Rabbit Hole
Down the Rabbit Hole
 
The Future of JRuby - Baruco 2013
The Future of JRuby - Baruco 2013The Future of JRuby - Baruco 2013
The Future of JRuby - Baruco 2013
 
High Performance Ruby - E4E Conference 2013
High Performance Ruby - E4E Conference 2013High Performance Ruby - E4E Conference 2013
High Performance Ruby - E4E Conference 2013
 
Invokedynamic in 45 Minutes
Invokedynamic in 45 MinutesInvokedynamic in 45 Minutes
Invokedynamic in 45 Minutes
 
Invokedynamic: Tales from the Trenches
Invokedynamic: Tales from the TrenchesInvokedynamic: Tales from the Trenches
Invokedynamic: Tales from the Trenches
 
Why JRuby? - RubyConf 2012
Why JRuby? - RubyConf 2012Why JRuby? - RubyConf 2012
Why JRuby? - RubyConf 2012
 
Aloha RubyConf 2012 - JRuby
Aloha RubyConf 2012 - JRubyAloha RubyConf 2012 - JRuby
Aloha RubyConf 2012 - JRuby
 
JavaOne 2012 - JVM JIT for Dummies
JavaOne 2012 - JVM JIT for DummiesJavaOne 2012 - JVM JIT for Dummies
JavaOne 2012 - JVM JIT for Dummies
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Beyond JVM - YOW! Brisbane 2013