Main Image


QEX: a framework for lattice field theories

X.y. Jin, J. C. Osborn

in 38th International Conference on High Energy Physics

Contribution: pdf


We present a new software framework for simulating lattice field
theories. It features an intuitive programming interface, while
simultaneously achieving high performance supercomputing, all in
one programming language, Nim. With a macro system based on its
abstract syntax tree, the language enables us to check and optimize
our code at compile time. It also allows us to code intrinsics
that map directly to machine instructions, and generates efficient
native code. We show how we use Nim's metaprogramming features in
our code, and present the current status of the code and future