MOAR(1)
π MOAR(1) β the moar era π
okay bestie, sit down, hydrate, and let me tell you about moar, the binary from MoarVM (which stands for Metamodel On A Runtime Virtual Machine, iconic name honestly). It's the runtime for Raku and it's about to be your new fave. π
β¨ SYNOPSIS β¨
moar --version
moar [--dump] [--crash] [--libpath=...] [--full-cleanup] inputfile
like, that's the whole vibe. two modes: tell me your version, or run a file. simple as. π
π¦ DESCRIPTION π¦
moar is the actual binary of MoarVM β short for Metamodel On A Runtime Virtual Machine, yes the acronym is doing the absolute most and we love that for it.
What does it do? It runs .moarvm bytecode files. That's it. That's the job. It executes them. no cap. π₯
πΈ ENVIRONMENT VARIABLES πΈ
moar respects the following environment variables, and by "respects" I mean it genuinely listens to them, unlike some people:
MVM_JIT_DISABLEβ turns off the just-in-time compiler (JIT). heads up though: this one gets ignored if MoarVM was built without JIT support in the first place, so don't come for it if nothing happens. π«ΆMVM_SPESH_DISABLEβ turns off the runtime bytecode specializer / optimizer. bye optimization bestie. πMVM_SPESH_INLINE_DISABLEβ turns off inlining of call frames inside the bytecode specializer. yes it's a nested thing. it's giving layers. π§MVM_SPESH_OSR_DISABLEβ turns off the on-stack replacement feature of the bytecode specializer. OSR is cancelled, periodt. βMVM_CROSS_THREAD_WRITE_LOGβ makes MoarVM insert instrumentation to detect when a thread does a write to an object it didn't allocate and doesn't have a lock for. basically a snitch. a helpful snitch. πMVM_CROSS_THREAD_WRITE_LOG_INCLUDE_LOCKEDβ same asMVM_CROSS_THREAD_WRITE_LOG, except objects that are locked get included too. so like, the snitch now snitches on the locked ones as well. no object is safe. π
π REPORTING BUGS π
found a bug? bestie, do not suffer in silence. take it straight to the issue tracker at:
https://github.com/moarvm/moarvm/issues
that's the spot. that's where bugs go to be dealt with. you're welcome. π«Άβ¨
π COPYRIGHT π
Copyright (C) 2012-2014 by the MoarVM contributors. See the CREDITS file for a list of contributors β they ate, fr fr. π
License: Artistic License 2.0. See the file Artistic2.txt for more information. the legal girlies know. π
and that's the whole page, bestie! this was MoarVM-2024.09, dated 2024-09, and it lives under section MOAR(1) of the manual. go forth and execute some bytecode. slay. ππ¦β¨
π¦ where this page comes from
- debian trixie: moarvm 2024.09+dfsg-5 Β· Artistic-2.0
- ubuntu questing: moarvm 2024.09+dfsg-5
- ubuntu resolute: moarvm 2024.09+dfsg-5build1 Β· Artistic-2.0
- ubuntu stonking: moarvm 2024.09+dfsg-5build1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms