SimGrid: Lua bindings

SimGrid 3.10 Versatile Simulation of Distributed Systems

- Home page
- Online documentation
- Dev's Corner

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Lua bindings
MSG

Lua bindings to MSG (MSG) More...

Lua bindings to MSG (MSG)

This is the lua bindings of the MSG interface.

# Who should use this (and who shouldn't)

If you want to use MSG to study your algorithm, but you don't want to use the C language (using MSG), then you should use some bindings such as this one. Just like the Java Binding, the advantage of the lua bindings is that they are distributed directly with the main archive (in contrary to Ruby bindings, that are distributed separately). Another advantage of lua is that there is almost no performance loss with regard to the C version (at least there shouldn't be any – it is still to be precisely assessed).

# Lua offered functionnalities in MSG

Almost all important features of the MSG interface are available from the lua bindings. Unfortunately, since doxygen does not support the lua modules implemented directly in C as we are using, there is no ready to use reference documentation for this module. Even more than for the other modules, you will have to dig into the source code of the examples to learn how to use it.

# Examples of lua MSG

- Master/slave Lua application
- Master/slave Bypass Lua application
- Also, the lua version of the Chord example (in the source tree) is a working non-trivial example of use of the lua bindings