1 / 13

Framework for using Haskell modules in Java

Framework for using Haskell modules in Java. Author: Alexandru Gheorghiu Supervisor: Matei Popovici. Multi-paradigm programming. Paradigms are pure Programming languages use multiple paradigms Most languages have a central paradigm (Java – OOP). Multi-paradigm programming.

gaurav
Download Presentation

Framework for using Haskell modules in Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Framework for using Haskell modules in Java Author: Alexandru Gheorghiu Supervisor: Matei Popovici

  2. Multi-paradigm programming • Paradigms are pure • Programming languages use multiple paradigms • Most languages have a central paradigm (Java – OOP)

  3. Multi-paradigm programming • Some applications are difficult to implement in a single paradigm • Solution 1: multi-paradigm language (e.g. Python) • Solution 2: combine multiple programming languages

  4. Haskell Java • Haskell – pure functional, declarative, strong static typing, compiled (GHC) • Java – object-oriented, imperative, strong static typing, compiled on virtual machine (JVM) • Haskell on the JVM?

  5. GHC + JNI • GHC permits exporting Haskell functions as C libraries • Java Native Interface allows Java code to call and be called by native applications and libraries written in C/C++ or assembly

  6. Problems • Overhead • Only functions of primitive types • Limited C/C++ code functionality

  7. Frege • Haskell-like programming language • Compiled on the JVM • Plugin for Eclipse IDE Gottlob Frege (1848 – 1925)

  8. Jess • Rule-engine based on CLIPS • Associative programming • Pattern matching • On the JVM

  9. Model checking • Formula from a language + • Structure for representing evolving domains = • Formula evaluation, or model checking

  10. Implementation

  11. Real world applicationHPC and error prediction Model checking

  12. Conclusions and future work • Interesting application and results • “A logical method for temporal knowledge representation and reasoning” – Matei Popovici • Research continues...

  13. Questions

More Related