Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Sunday, November 13 • 2:10pm - 2:50pm
Writing a dynamic x86_64 assembler in Scala

Sign up or log in to save this to your schedule and see who's attending!

Is it possible to generate the native x86_64 code for a Scala function at runtime? Of course it is! In this live coding session I will create a dynamic x86_64 assembler in Scala. I will start by finding a good way to embed ASM instructions into plain Scala code, generating the machine code at runtime, loading it in memory, making it executable, and finally casting it to a proper Scala function type. Is it a good idea to do this? In any case, it is a very interesting journey through Scala, external DSL and the JVM FFI.

Speakers
avatar for Guillaume Bort

Guillaume Bort

Lead developer, Criteo
Creator of @playframework - Previously @Inria, @zengularity, @lightbend, @prismicio - Now working on the petabytes of analytics data at @Criteo


Sunday November 13, 2016 2:10pm - 2:50pm
Naming

Attendees (12)