Elm is a functional programming language which is compiled to JavaScript and therefore can be run in browsers. It promises no runtime errors and brings support tools developed with developers' satisfaction in mind. These promises are being realized by Elm compiler, which uses type inference to detect potential runtime errors at compile time and in addition it tries to produce a human-friendly error message. The goal of this thesis is to compare Elm language with a widely used React view library by implementing the same web application with both Elm language and React. Results of this thesis should aid the reader with the decision of whether to use Elm language as a tool for the next web application project or not. Based on the measurements, the Elm language proves as a better option for developing web applications where performance and robustness are key features. Although subjective, the developer's experience proved to be more pleasant.
|