Abstract

Pure method is a method, which does not have any side effects or the extent of the side effect is limited. Purity Analysis is the technique of determining pure methods. Purity information can be used to perform program analysis, specification, verification and optimization. The extent of side effects in a program can be expressed in terms of Degree of Purity. Degree of purity measures the side effects in different areas such as accessing of files, objects and variables, violation of programming constraints and possible exceptions. This paper proposes a model that measures the degree of purity of programming languages and implements it in scala. This allows us to determine concurrency in a program and execution in multi core machine.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.