lua-users home
lua-l archive

Search lua-l

This index contains 143,604 documents and 1,774,497 keywords. Last update on 2023-03-08 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ +author:"John Belmonte": 478 ]

Total 478 documents matching your query.

101. Re: list iteration for statement (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 27 Apr 2001 00:17:13 +0900
Table iteration using "for index, value" does not guarantee any ordering, which is often required for lists. If order is not important it's possible to use "for index, value" on a list, but be carefu
102. minor 4.1 suggestions (was Re: list iteration for statement) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 30 Apr 2001 13:39:12 +0900
While peeking around at the Lua code relating to implementing this, I ran across a few issues I'd like to see cleaned up for 4.1 (regardless of implementing the new for form): * misnamed functions -
103. wrapping functions (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 4 May 2001 18:16:02 +0900
Here is some info about wrapping Lua functions. It seems to validate the general usefulness of the expand function I outlined in a previous post "vararg asymmetry". No chance of having that added to
104. Re: snapshot of Lua 4.1 (work) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 10 May 2001 12:31:24 +0900
What I'm happy about most with this snapshot, more than any of the new features, is the clean-up of the Lua number type. This will eliminate much of the hacking I have to do every time a new version
105. Re: Coroutines [was: snapshot of Lua 4.1 (work)] (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 10 May 2001 13:36:48 +0900
Hi jc, This issue has already been hashed out. Initially they planned to make 4.1 stackless. lhf had written: But here was Roberto's final word on it: and it -John
106. Re: History of Lua aside... note about game usage! (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 11 May 2001 12:26:42 +0900
Well, that was me... I wouldn't want my take on Lua garbage collection to be counted twice.
107. Re: snapshot of Lua 4.1 (work) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 11 May 2001 12:40:37 +0900
I don't quite understand the distinction of "outside Lua". Isn't userdata always allocated from C? Can't C make references to strings inside Lua? Anyway, I think that union is not generally sufficien
108. Re: Namespace pollution in lua.h (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 11 May 2001 18:29:27 +0900
It's strange to term this "Lua polluting the namespace". What's polluting the namespace is the wacky define that's begging for a collision. If all libraries followed your guidelines, I think we'd nev
109. Re: snapshot of Lua 4.1 (work) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sat, 12 May 2001 13:13:56 +0900
Umm... the reason the machine has 64 bit longs is because the CPU has a mips III core. It only has 32MB of memory (with no virtual memory) and a CD ROM device. (It's called a PS2.) If I did the compi
110. Re: Question about 4.1 optimization (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 16 May 2001 14:44:09 +0900
I may be misunderstanding you, but why do you mix talk of word sizes and C types like this? Not using 16-bit instructions doesn't imply using longs, it means using 32-bit or some other word size. Wha
111. Re: Lua in astronomical image processing (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 18 May 2001 19:06:46 +0900
This sounds like a good idea, is it for constant data or variables? Would you offer any more details, such as an example structure in Lua and the resulting C code? Thanks, -John
112. Re: Lua Strengths/Weaknesses and usage info (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sun, 20 May 2001 12:21:40 +0900
One thing to realize is that generic programming in C++ has the same issue, and it's usually considered an advantage. With generic programming you don't care about the type of an object, only its int
113. Re: Lua Strengths/Weaknesses and usage info (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 21 May 2001 18:09:11 +0900
I've been thinking about that since my last post. Actually you *can* be sure (by writing functions that carefully check their arguments, etc), it's just that the checking is done at run-time. By the
114. Re: Making vars local by default (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 23 May 2001 12:46:18 +0900
I agree that patches against an official release is the way to go. That's what Lua Power Patches has been about (see http://lua.swiki.net/5). -John
115. Re: Lua's GC in interactive applications (games)... feedback appreciated! (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 29 May 2001 16:11:06 +0900
This long. often. With Lua's garbage collector, you can't control how much time a gc cycle takes, other than indirectly by controlling the number of objects in the system. In other words, the length
116. Re: proposal (RE: Making vars local by default) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 31 May 2001 22:45:15 +0900
The issue is real and some of us do appreciate it, although I think it's a tolerable annoyance and not a show stopper. Having to switch to a new assignment operator like ":=" would be much more annoy
117. Re: globals (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 4 Jun 2001 19:45:55 +0900
upvalues and would These are conflicting goals. Python, when proper lexical scoping was added to the language, couldn't support rebinding of outer-scoped variables due to its lack of variable declara
118. Re: globals (_locals) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 4 Jun 2001 22:51:45 +0900
global So how do things work at the global scope? Unless there is some good reason to make the global keyword required there, it would be nice not to. Then "normal" global function and data definitio
119. Re: [ANNOUNCE] LTN 7 - Modules & Packages (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 6 Jun 2001 11:47:49 +0900
At one time I had spent much thought on implementing modules in Lua. I considered the necessity of using upvalues for local module access intolerable. It's messy to have to think about if you need th
120. Re: Some Lua samples (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 7 Jun 2001 11:30:59 +0900
it had think Swiki.net has always had reliability problems. At one point it was down for several days and I was ready to move the content to mini.net. But since that long outage reliability has impro

Search by Namazu v2.0.21