Search lua-l
This index contains 143,615 documents and
1,774,615 keywords. Last update on
2023-03-09 .
- 161. RE: Simple Function Call From C language (score: 3)
- Author: Thijs Schreijer <thijs@...>
- Date: Tue, 24 Jun 2014 13:54:04 +0000
- Technically speaking; it only would if you run on a multi-core cpu machine. But considering the numbers you mentioned, you probably are. Have a look here regarding states and threads; http://www.thi
- 162. Re: Simple Function Call From C language (score: 3)
- Author: Austin Einter <austin.einter@...>
- Date: Tue, 24 Jun 2014 18:23:47 +0530
- Hi Thijs Schreijer You told You can only acccess a lua state from a single thread. So assuming you stay single threaded, then for each invocation you can simply clear the stack, and do your thing. No
- 163. RE: Simple Function Call From C language (score: 2)
- Author: Thijs Schreijer <thijs@...>
- Date: Tue, 24 Jun 2014 11:03:08 +0000
- You can only acccess a lua state from a single thread. So assuming you stay single threaded, then for each invocation you can simply clear the stack, and do your thing. Nobody will interfere with th
- 164. Re: Yield from debug hook (score: 2)
- Author: Thomas Jericke <tjericke@...>
- Date: Mon, 16 Jun 2014 13:34:27 +0200
- On 16/06/2014 03:14, Thomas Jericke wrote: On 06/15/2014 04:20 PM, Thiago L. wrote: I'm messing with coroutines and sandboxing and I need a way to yield from a debug hook. This would let my code chec
- 165. Re: Yield from debug hook (score: 2)
- Author: "Thiago L." <fakedme@...>
- Date: Mon, 16 Jun 2014 08:26:49 -0300
- On 16/06/2014 03:14, Thomas Jericke wrote: On 06/15/2014 04:20 PM, Thiago L. wrote: I'm messing with coroutines and sandboxing and I need a way to yield from a debug hook. This would let my code chec
- 166. Re: Yield from debug hook (score: 2)
- Author: Thomas Jericke <tjericke@...>
- Date: Mon, 16 Jun 2014 13:16:01 +0200
- On 16/06/2014 03:14, Thomas Jericke wrote: On 06/15/2014 04:20 PM, Thiago L. wrote: I'm messing with coroutines and sandboxing and I need a way to yield from a debug hook. This would let my code chec
- 167. Re: Yield from debug hook (score: 2)
- Author: "Thiago L." <fakedme@...>
- Date: Mon, 16 Jun 2014 08:11:58 -0300
- On 16/06/2014 03:14, Thomas Jericke wrote: On 06/15/2014 04:20 PM, Thiago L. wrote: I'm messing with coroutines and sandboxing and I need a way to yield from a debug hook. This would let my code chec
- 168. Re: Yield from debug hook (score: 2)
- Author: Thomas Jericke <tjericke@...>
- Date: Mon, 16 Jun 2014 08:14:43 +0200
- You don't need a patch to do this, at least not in Lua 5.2 -- Thomas
- 169. Yield from debug hook (score: 2)
- Author: "Thiago L." <fakedme@...>
- Date: Sun, 15 Jun 2014 11:20:43 -0300
- I'm messing with coroutines and sandboxing and I need a way to yield from a debug hook. This would let my code check for interrupts on every instruction and stuff... Does anyone have a patch for doin
- 170. Re: lua scripting implementation (score: 2)
- Author: Sean Conner <sean@...>
- Date: Fri, 6 Jun 2014 19:51:56 -0400
- It was thus said that the Great Littlefield, Tyler once stated: I'm looking at scr_entity.cpp. I see that you create a metatable for entities, but you don't seem to be using it to full effect. If you
- 171. Re: [Proposal] Creating Lua states from Lua (score: 2)
- Author: Marc Balmer <marc@...>
- Date: Sun, 18 May 2014 09:46:54 +0200
- Am 01.05.2014 um 19:14 schrieb Thiago L. <fakedme@gmail.com>: I am bit late into the game, but there is also the proxy module at https://github.com/mbalmer/luaproxy proxy allows you to manipulate dat
- 172. Re: Shared libraries (score: 2)
- Author: Jay Carlson <nop@...>
- Date: Wed, 14 May 2014 00:56:57 -0400
- An advance apology: please consider "upstream" to be jargon talking about a role from the perspective of a different role. I've used this terminology before on this list, and have later regretted the
- 173. Re: Shared libraries (score: 2)
- Author: Coda Highland <chighland@...>
- Date: Tue, 13 May 2014 13:48:19 -0700
- If you really want to push for a response, I'll give you a blunt answer: You're looking at it from a very limited perspective. On Windows and OSX, the behavior of a static library is exactly what you
- 174. Re: [Proposal] Creating Lua states from Lua (score: 3)
- Author: steve donovan <steve.j.donovan@...>
- Date: Fri, 2 May 2014 09:18:47 +0200
- I would look at Lanes, as Thijs suggested; a Lua function can be converted into a 'lane' running in its own Lua state (and OS thread) in which you can do whatever global modifications you like, happi
- 175. RE: [Proposal] Creating Lua states from Lua (score: 2)
- Author: Thijs Schreijer <thijs@...>
- Date: Thu, 1 May 2014 19:26:30 +0000
- Have you tried the 'rings' or 'lanes' modules?
- 176. [Proposal] Creating Lua states from Lua (score: 2)
- Author: "Thiago L." <fakedme@...>
- Date: Thu, 01 May 2014 14:14:57 -0300
- Lua is powerful but it needs more (string metatable) sandboxing... In Lua 5.1 it's possible but in Lua 5.2 it's completely impossible... My idea to fix it? Lua states in Lua states! Each Lua state ca
- 177. Re: Lua 5.1, string metatable, sandboxing... (score: 33)
- Author: "Thiago L." <fakedme@...>
- Date: Thu, 01 May 2014 11:35:05 -0300
- Philipp [1]: http://lua-users.org/lists/lua-l/2014-04/msg00860.html I would call this hack: Heroic. It highlights that "Lua can't do this" or at the very least "really doesn't want you to do this" (i
- 178. Re: Lua 5.1, string metatable, sandboxing... (score: 33)
- Author: Andrew Starks <andrew.starks@...>
- Date: Wed, 30 Apr 2014 23:40:06 -0500
- I would call this hack: Heroic. It highlights that "Lua can't do this" or at the very least "really doesn't want you to do this" (if Lua actually had an opinion). I've been thinking about this topic.
- 179. Re: Lua 5.1, string metatable, sandboxing... (score: 33)
- Author: Philipp Janda <siffiejoe@...>
- Date: Wed, 30 Apr 2014 23:28:11 +0200
- Am 30.04.2014 23:18 schröbte Thiago L.: I have this piece of code: http://codepad.org/tLMkCXOq It basically lets each function (environment) have its own string metatable... Too bad I can't make it w
- 180. Lua 5.1, string metatable, sandboxing... (score: 33)
- Author: "Thiago L." <fakedme@...>
- Date: Wed, 30 Apr 2014 18:18:34 -0300
- I have this piece of code: http://codepad.org/tLMkCXOq It basically lets each function (environment) have its own string metatable... Too bad I can't make it work properly in Lua 5.2+...
Search by
Namazu v2.0.21