×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Managing Binary Compatibility in Scala (Scala Days 2011)

by on Jun 08, 2011

  • 3,005 views

The following is the abstract submitted for my Scala Days 2011 talk: ...

The following is the abstract submitted for my Scala Days 2011 talk:

Binary compatibility is not a topic specific to the Scala language, but rather a concern for all languages targeting the JVM, Java included. Scala shares with Java many sources of potential binary incompatibilities, however, because of Scala greater expressiveness, Scala code has unique sources of incompatibility.

The Scala programming language offers several language constructs that do not have an equivalent in Java and are not natively supported by the JVM. Because of this, the Scala compiler (scalac) transforms these constructs into lower-lever, Java compatible, patterns that can be then easily translated into bytecode. Good examples of such high-level Scala constructs are traits, for mixin-based inheritance, and functions as first data citizens.

During this presentation we will review the main sources of binary incompatibility for the Scala language, providing you with useful insights about how you should evolve your codebase to avoid binary incompatibilities. Furthermore, we will show a tool, the Migration Manager, that can be used to automatically diagnose binary incompatibilities between two versions of a same library.

Statistics

Views

Total Views
3,005
Views on SlideShare
2,998
Embed Views
7

Actions

Likes
4
Downloads
36
Comments
0

2 Embeds 7

http://www.linkedin.com 5
http://www.techgig.com 2

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
Post Comment
Edit your comment

Managing Binary Compatibility in Scala (Scala Days 2011) Managing Binary Compatibility in Scala (Scala Days 2011) Presentation Transcript