MOAR(1)

πŸ“¦
version 2024.09 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 as MVM_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 (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