M
M
MDtox2018-05-23 17:43:49
Scala
MDtox, 2018-05-23 17:43:49

How is Scala different from Scala-Native?

Are there syntax differences or are they separate languages?
PLEASE ANSWER ONLY KNOWN.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-05-23
@sergey-gornostaev

Scala is a language and Scala Native is an AOT compiler for that language. From documentation :
There are only four differences mentioned in the quote:

  1. Added annotations for interoperability with sish code;
  2. There is no possibility of multi-threaded execution;
  3. No finalization (however, it is no longer in fresh Java);
  4. And on some exceptions, your application will crash with a segfault.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question