Joshua Olson via llvm-dev
2016-Jun-30 20:34 UTC
[llvm-dev] Entry for llvm.org/ProjectsWithLLVM - Terra programming language
Terra: A low-level counterpart to Lua By Zach DeVito (http://cs.stanford.edu/~zdevito) Terra (http://terralang.org/) is a system programming language that is embedded in and meta-programmed by Lua, which handles details like conditional compilation, type systems, namespaces, and templating/function specialization that are normally special constructs in other languages. Terra code shares Lua's syntax and control-flow constructs, and it can easily call Lua functions and vice versa. Since the JIT compiler is available at runtime, libraries and embedded domain specific languages can use it to dynamically generate or auto-tune arbitrary high performance code with custom optimizations. Terra is backwards compatible with (and embeddable in) existing C code and is likewise a small, monomorphic, statically-typed, compiled language with manual memory management. There is also built-in support for SIMD operations and other low-level features like non-temporal writes and prefetches. Terra can optionally run independently from LuaJIT and LLVM. In fact, if your final program doesn’t need Lua, you can save Terra code into an object file, shared library, or executable.
Renato Golin via llvm-dev
2016-Jul-06 10:28 UTC
[llvm-dev] Entry for llvm.org/ProjectsWithLLVM - Terra programming language
On 30 June 2016 at 21:34, Joshua Olson via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Terra: A low-level counterpart to LuaUpdated on http://llvm.org/ProjectsWithLLVM/ Commit 274618. Sorry for the delay. cheers, --renato
Possibly Parallel Threads
- [LLVMdev] Getting the Debugging JIT-ed Code with GDB example to work
- [LLVMdev] unaligned AVX store gets split into two instructions
- Invitation to register for the Think with Terra Blockchain Tech Talk
- [LLVMdev] unaligned AVX store gets split into two instructions
- [LLVMdev] unaligned AVX store gets split into two instructions