pith. sign in

arxiv: 1612.02750 · v1 · pith:5HR7AUQQnew · submitted 2016-12-08 · ✦ hep-lat · physics.comp-ph

QEX: a framework for lattice field theories

classification ✦ hep-lat physics.comp-ph
keywords codefeaturesfieldframeworklanguagelatticeprogrammingtheories
0
0 comments X
read the original abstract

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 plans.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.