aboutsummaryrefslogtreecommitdiff
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
commit31174537a3c974ea9885f08cedc094e4abd945ae (patch)
treed28a00c575459cae41fac5ea8f5322810253eda9
parent710c27d4d34bcb842e5f12bf42f3270cf5a984bc (diff)
downloadlanes-31174537a3c974ea9885f08cedc094e4abd945ae.tar.gz
lanes-31174537a3c974ea9885f08cedc094e4abd945ae.tar.bz2
lanes-31174537a3c974ea9885f08cedc094e4abd945ae.zip
Update index.html
-rw-r--r--index.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/index.html b/index.html
index c65a17a..3bf000a 100644
--- a/index.html
+++ b/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.