Interactive simulations on the Web: compiling NESL into Java
✍ Scribed by Hardwick, Jonathan C.; Narlikar, Girija; Sipelstein, Jay
- Publisher
- John Wiley and Sons
- Year
- 1997
- Tongue
- English
- Weight
- 147 KB
- Volume
- 9
- Category
- Article
- ISSN
- 1040-3108
No coin nor oath required. For personal study only.
✦ Synopsis
We motivate and describe the design and implementation of a system for compiling the highlevel programming language NESL into Java. As well as increasing the portability of NESL, this system has enabled us to make existing simulations and algorithm animations available in applet form on the Web. We present performance results showing that current Java virtual machines running the generated code achieve about half the performance of a native implementation of NESL. We conclude that the use of Java as an intermediate language is a viable way to improve the portability of existing high-level programming languages for scientific simulation and computation.