- Learning Scala Programming
- Vikash Sharma
- 184字
- 2021-06-30 19:07:45
Runs on JVM
Consider efficiency and optimization as factors for a language to be well performant. Scala utilizes JVM for this. JVM uses Just in Time (JIT) compilation, adaptive optimization techniques for improved performance. Running on JVM makes Scala interoperable with Java. You've multitudinous libraries available as tools for reuse.
If anywhere in your mind you're comparing Java and Scala's performance, let's get it clear. Both Java and Scala programs are compiled into bytecode. JVM understands bytecode and runs it for you. So it mostly depends on the way you write a program. Scala blends in some syntax sugar, compiler logic that can cause your program to be more/less performant than Java. Mix-ins using traits can be an asset to your program architecture but may affect your program's performance. But alternatives in Java may cost the same or more. So it is more about your core understanding of constructs and how your code is going to compile and perform. It takes some time and effort to understand so the choice is yours; as a smart programmer, you may go for a syntactically powerful language.
- Hands-On Image Processing with Python
- 深入淺出WPF
- Java技術手冊(原書第7版)
- Java加密與解密的藝術
- 小程序,巧運營:微信小程序運營招式大全
- Python Data Analysis Cookbook
- Protocol-Oriented Programming with Swift
- Learning Probabilistic Graphical Models in R
- Mastering Business Intelligence with MicroStrategy
- 區塊鏈技術進階與實戰(第2版)
- 網絡數據采集技術:Java網絡爬蟲實戰
- Mastering PowerCLI
- JavaScript Concurrency
- MySQL從入門到精通
- JavaScript全棧開發