aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/faq.html
blob: 569162d5709e957dd2eb7825c7cd189332a6c33f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<div class="page blue">
    <div class="centered questions">
        <h1 id="why-dotty">Why Dotty?</h1>
        <p>
            Dotty is a platform to try out new language concepts and compiler
            technologies for Scala. The focus is mainly on simplification. We
            remove extraneous syntax (e.g. no XML literals), and try to boil
            down Scala’s types into a smaller set of more fundamental
            constructors. The theory behind these constructors is researched in
            <a href="https://infoscience.epfl.ch/record/215280">DOT</a>, a
            calculus for dependent object types.
        </p>

        <h1 id="is-it-the-future-scala">Is it the future Scala?</h1>
        <div class="centered-text">
            <p>Yes, it will be - eventually.</p>
        </div>

        <h1 id="can-i-use-it">Can I use it?</h1>
        <div class="centered-text">
            <p>
                <a href="#getting-started">You can!</a> But it currently comes with
                no guarantees of stability.
            </p>
        </div>

        <h1 id="is-there-scala-2-interop">Is there Scala 2 interop?</h1>
        <div class="centered-text">
            <p>
                Dotty currently interops with libraries compiled with Scala
                2.11 - but not 2.12
            </p>
        </div>

        <h1 id="how-do-i-migrate-my-code-to-dotty">How do I migrate my code to Dotty?</h1>
        <p>
            An automated rewriting tool is planned for Dotty, more on this to come.
            Scala 2 sources can be compiled to some degree by issuing:
        </p>
        <pre class="sourceCode bright"><code>./bin/dotc -language:Scala2 file.scala</code></pre>
        <p>when compiling your program.</p>

        <h1 id="whos-working-on-it">Who’s working on it?</h1>
        <div class="contributors">
            <div class="contributors-cell">
                <div class="contributor">
                    <a href="http://github.com/odersky">
                        <img src="{{ site.baseurl }}/images/martin.jpg">
                    </a>
                    Martin Odersky
                </div>

                <div class="contributor">
                    <a href="http://www.d-d.me">
                        <img src="{{ site.baseurl }}/images/petrashko.png">
                    </a>
                    Dmitry Petrashko
                </div>

                <div class="contributor">
                    <a href="http://guillaume.martres.me/">
                        <img src="{{ site.baseurl }}/images/smarter.jpg">
                    </a>
                    Guillaume Martres
                </div>
            </div>
            <div class="contributors-cell">
                <div class="contributor">
                    <a href="http://fengy.me/">
                        <img src="{{ site.baseurl }}/images/fengyun.png">
                    </a>
                    Liu Fengyun
                </div>

                <div class="contributor">
                    <a href="https://github.com/felixmulder">
                        <img src="{{ site.baseurl }}/images/felix.jpeg">
                    </a>
                    Felix Mulder
                </div>

                <div class="contributor">
                    <a href="https://github.com/nicolasstucki">
                        <img src="{{ site.baseurl }}/images/nico.png">
                    </a>
                    Nicolas Stucki
                </div>
            </div>
            <div class="contributors-cell">
                <div class="contributor">
                    <a href="http://github.com/OlivierBlanvillain">
                        <img src="{{ site.baseurl }}/images/olivier.jpeg">
                    </a>
                    Olivier Blanvillain
                </div>
            </div>
        </div>

        <div class="centered-text">
            <p>
                And a long line of
                <a href="https://github.com/lampepfl/dotty/graphs/contributors">
                    contributors!
                </a>
            </p>
        </div>
    </div>
</div>