File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Experimental Backend in Scala 2.11
2
+
3
+ Scala 2.11 ships with an experimental backend named "GenBCode", originally implemented by [ Miguel Garcia] ( https://github.com/magarciaEPFL ) .
4
+ This backend will become the new default in Scala 2.12.
5
+ Given that the new backend is experimental in Scala 2.11, it can be modified and extended without compatibility concerns.
6
+ Most of the work towards the Scala 2.12 backend happens in the 2.11 branch and flows into 2.11.x minor releases.
7
+
8
+ This gives you the chance to preview pieces of Scala 2.12 just by enabling some compiler flags in 2.11!
9
+
10
+ ## Enabling GenBCode
11
+
12
+ ` -Ybackend:GenBCode ` enables the new backend.
13
+
14
+ GenBCode without any further compiler flags is a drop-in replacement for the current backend ("GenASM").
15
+ The generated bytecode is binary compatible, altough not exactly the same; some instruction sequences may differ.
16
+ If you find a binary incompatibility, please [ report an issue] ( https://issues.scala-lang.org/secure/Dashboard.jspa ) .
17
+
18
+
19
+
20
+ ## Delambdafy-Method
21
+
22
+
You can’t perform that action at this time.
0 commit comments