Adam Murdoch wrote
> Anyone know of a reason why we should not make the zinc compiler the
> default for scala compilation, and deprecate the ant task backed compiler?

Two potential reasons:

1. The Zinc compiler is considerably slower than the Ant compiler for a
clean compile. Therefore, it may not be a good fit for, say, a CI job that
always does a clean compile.

2. Last time I spoke with the Zinc folks, they said that it's not yet as
robust as they would like it to be. Zinc also needs to be evolved together
with the Scala language, probably more so than the Ant task (which ships
with `scala-compiler`). Therefore, I may be worthwhile to have a
non-deprecated fallback.

I don't have a strong opinion on which compiler should be the default
(perhaps Zinc is the better choice by now), but I wouldn't deprecate the Ant
compiler just yet. I've proposed to the Zinc folks that Zinc should also
offer a non-incremental compile mode, via the same compiler API. I don't
know if this will be implemented, but if so, this would be a good time to
deprecate the Ant compiler.

Cheers,
Peter




--
View this message in context: 
http://gradle.1045684.n5.nabble.com/use-the-zinc-compiler-as-default-for-scala-compilation-tp5711818p5711856.html
Sent from the gradle-dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to