aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2013-04-05 18:34:04 +0300
committerBenoit Germain <bnt.germain@gmail.com>2013-04-05 18:34:04 +0300
commitf123be80711aac21dd2ec6284e3aa41c7f77a9df (patch)
treed6e77fa7e017a1ef5f0e92775a0440808d9087a0 /docs
parentf07a23a579d1874da0e9cc86ba70e3bb257ba2a7 (diff)
downloadlanes-f123be80711aac21dd2ec6284e3aa41c7f77a9df.tar.gz
lanes-f123be80711aac21dd2ec6284e3aa41c7f77a9df.tar.bz2
lanes-f123be80711aac21dd2ec6284e3aa41c7f77a9df.zip
Update index.html
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/index.html b/docs/index.html
index c65a17a..3bf000a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -70,7 +70,7 @@
70 </p> 70 </p>
71 71
72 <p> 72 <p>
73 This document was revised on 14-Mar-13, and applies to version <tt>3.6.0</tt>. 73 This document was revised on 05-Apr-13, and applies to version <tt>3.6.1</tt>.
74 </p> 74 </p>
75 </font> 75 </font>
76 </center> 76 </center>
@@ -1308,10 +1308,8 @@ events to a common Linda, but... :).</font>
1308 Lua 5.2 introduced a hash randomizer seed which causes table iteration to yield a different key order on different VMs even when the tables are populated the exact same way. 1308 Lua 5.2 introduced a hash randomizer seed which causes table iteration to yield a different key order on different VMs even when the tables are populated the exact same way.
1309 When Lua is built with compatibility options (such as LUA_COMPAT_ALL), this causes several base libraries to register functions under multiple names. 1309 When Lua is built with compatibility options (such as LUA_COMPAT_ALL), this causes several base libraries to register functions under multiple names.
1310 This, with the randomizer, can cause the first encountered name of a function to be different on different VMs, which breaks function transfer. 1310 This, with the randomizer, can cause the first encountered name of a function to be different on different VMs, which breaks function transfer.
1311 <b>This means that Lua 5.2 must be built WITHOUT compatibility options to be able to use Lanes.</b> 1311 Even under Lua 5.1, this may cause trouble if some module registers a function under several keys.
1312 Even under Lua 5.1, this may cause trouble (even if this would be much less frequent). 1312 To circumvent this, Lanes has to select one name among all candidates, and the rule for this is to keep the 'smaller' one: first in bytes, then in lexical order.
1313 Unfortunately, we get bitten by <tt>string.gfind</tt>/<tt>string.gmatch</tt> when Lua 5.1 is built with <tt>LUA_COMPAT_GFIND</tt> (which is the case of LuaBinaries),
1314 so for the time being, Lanes fails only for Lua 5.2 as the randomizer is the real show breaker here.
1315 </li> 1313 </li>
1316 </ul> 1314 </ul>
1317 Another more immediate reason of failed transfer is when the destination state doesn't know about the C function that has to be transferred. This occurs if a function is transferred in a lane before it had a chance to scan the module. 1315 Another more immediate reason of failed transfer is when the destination state doesn't know about the C function that has to be transferred. This occurs if a function is transferred in a lane before it had a chance to scan the module.