Fast Numerical Evaluation for Symbolic Expressions in Java. Liu, Y., Zhang, P., & Qiu, M. In 2015 IEEE 17th International Conference on High Performance Computing and Communications (HPCC), 2015 IEEE 7th International Symposium on Cyberspace Safety and Security (CSS), 2015 IEEE 12th International Conferen on Embedded Software and Systems (ICESS), pages 599–604, August, 2015.
doi  abstract   bibtex   
The symbolic-numeric computation has been extensively developed in scientific computing for experimenting mathematics in numerical programs, like in optimization problems and finite element methods. Many software and libraries have been developed to support symbolic-numeric computation especially in the recent years. However, most of the implementations are cumbersome and inefficient for numerically evaluating symbolic expressions. The popular implementation chooses the way that generates C/C++/FORTRAN source codes for symbolic expressions and compiles the source files using the external compilers. The compiled machine codes are then linked back to the symbolic manipulation language environment. Thi sprocess suffers from slow compilation and significant overhead of external function calls. To address this problem, this paper presents a handy approach that provides fast numerical evaluation for symbolic expressions in Java. In our approach, Java bytecode is generated in memory for symbolic expressions and further Just-In-Time (JIT) compiled to machine codes onJava Virtual Machine (JVM) at runtime. We have developedSymJava (https://github.com/yuemingl/SymJava) to implement our approach and tested a range of benchmark problems. The results show that SymJava is 1 3 orders of magnitude faster than the existing implementations including Matlab, Mathematica, Sage, Theano and SymPy. Additionally, SymJava offers a human friendly programming style for symbolic expressions by overloading operators in Java. Our approach opens up a new avenue for the development of next generation symbolic-numeric software.
@inproceedings{liu_fast_2015,
	title = {Fast {Numerical} {Evaluation} for {Symbolic} {Expressions} in {Java}},
	doi = {10.1109/HPCC-CSS-ICESS.2015.19},
	abstract = {The symbolic-numeric computation has been extensively developed in scientific computing for experimenting mathematics in numerical programs, like in optimization problems and finite element methods. Many software and libraries have been developed to support symbolic-numeric computation especially in the recent years. However, most of the implementations are cumbersome and inefficient for numerically evaluating symbolic expressions. The popular implementation chooses the way that generates C/C++/FORTRAN source codes for symbolic expressions and compiles the source files using the external compilers. The compiled machine codes are then linked back to the symbolic manipulation language environment. Thi sprocess suffers from slow compilation and significant overhead of external function calls. To address this problem, this paper presents a handy approach that provides fast numerical evaluation for symbolic expressions in Java. In our approach, Java bytecode is generated in memory for symbolic expressions and further Just-In-Time (JIT) compiled to machine codes onJava Virtual Machine (JVM) at runtime. We have developedSymJava (https://github.com/yuemingl/SymJava) to implement our approach and tested a range of benchmark problems. The results show that SymJava is 1 3 orders of magnitude faster than the existing implementations including Matlab, Mathematica, Sage, Theano and SymPy. Additionally, SymJava offers a human friendly programming style for symbolic expressions by overloading operators in Java. Our approach opens up a new avenue for the development of next generation symbolic-numeric software.},
	booktitle = {2015 {IEEE} 17th {International} {Conference} on {High} {Performance} {Computing} and {Communications} ({HPCC}), 2015 {IEEE} 7th {International} {Symposium} on {Cyberspace} {Safety} and {Security} ({CSS}), 2015 {IEEE} 12th {International} {Conferen} on {Embedded} {Software} and {Systems} ({ICESS})},
	author = {Liu, Y. and Zhang, P. and Qiu, M.},
	month = aug,
	year = {2015},
	keywords = {Benchmark testing, C source code, C++ language, C++ source code, FORTRAN source code, Fast, Human factors, JIT, JVM, Java, Java bytecode, Java virtual machine, Libraries, Mathematica, Mathematics, Matlab, Runtime, Sage, SymJava, SymPy, Theano, bytecode, compile, compiled machine code, compilers, finite element method, human friendly programming style, just-in-time, next generation symbolic-numeric software, numeric, optimization, program compilers, software libraries, source code (software), symbolic computation, symbolic manipulation language environment, virtual machine},
	pages = {599--604},
}

Downloads: 0