Re: Fast 2D matrix of bits

2011-09-20 Thread Josh Simmons
On Tue, Sep 20, 2011 at 5:22 PM, bearophile bearophileh...@lycos.com wrote: My version with bsr is faster. Bye, bearophile Is that science or guessing? My horribly unscientific test shows the opposite to be true, I'm looking over the assembly output to see if there's an extraneous factor.

Re: Fast 2D matrix of bits

2011-09-20 Thread Josh Simmons
On Tue, Sep 20, 2011 at 6:36 PM, Josh Simmons simmons...@gmail.com wrote: On Tue, Sep 20, 2011 at 5:22 PM, bearophile bearophileh...@lycos.com wrote: My version with bsr is faster. Bye, bearophile Is that science or guessing? My horribly unscientific test shows the opposite to be true

Re: Fast 2D matrix of bits

2011-09-19 Thread Josh Simmons
On Tue, Sep 20, 2011 at 10:24 AM, bearophile bearophileh...@lycos.com wrote: Timon Gehr: The implementation uses int and uint everywhere. I think it is not 64 bit aware? I have not even tried it on a 64 bit system.   // sizex_, sizey_ are signed to catch negative arguments bugs. There

Re: Fast 2D matrix of bits

2011-09-19 Thread Josh Simmons
On Tue, Sep 20, 2011 at 12:03 PM, Josh Simmons simmons...@gmail.com wrote: Zero is a power of two too :( Which one exactly? Sometimes I wonder...

Re: Would You Bet $100,000,000 on D?

2011-09-17 Thread Josh Simmons
On Sat, Sep 17, 2011 at 5:30 PM, Nick Sabalausky a@a.a wrote: Keep in mind, most of a AAA game's codebase is externally-developed middleware these days. I think the middleware development sector would be willing to fix those issues if it meant being able to provide a more competitive offering

Re: Would You Bet $100,000,000 on D?

2011-09-17 Thread Josh Simmons
On Sat, Sep 17, 2011 at 6:46 PM, Nick Sabalausky a@a.a wrote: Are you seriously trying say that that implies each successive one is inherently no better than the previous? If so, then that's just patently absurd. If not, then what in the world *is* your point? Just to troll? No I believe the

Re: Would You Bet $100,000,000 on D?

2011-09-17 Thread Josh Simmons
On Sat, Sep 17, 2011 at 7:34 PM, Nick Sabalausky a@a.a wrote: Renderware, Gamebryo, Unity, Vision Engine, and none-engine stuff like Havok, Although I admit I wouldn't know anything about maketshare. Well RenderWare doesn't exist anymore, Bing Gordon, an EA executive, has stated that

Re: Would You Bet $100,000,000 on D?

2011-09-17 Thread Josh Simmons
On Sun, Sep 18, 2011 at 1:32 AM, Adam D. Ruppe destructiona...@gmail.com wrote: Peter Alexander wrote: In contrast, my D hobby project at only a few thousand lines of code already takes 11s to build and doesn't do any fancy metaprogramming or use CTFE. Curious, did you use a library like

Re: Would You Bet $100,000,000 on D?

2011-09-16 Thread Josh Simmons
On Sat, Sep 17, 2011 at 2:55 PM, Sean Kelly s...@invisibleduck.org wrote: On Sep 16, 2011, at 7:09 PM, Xavier wrote: Peter Alexander wrote: I recently stumbled across this (old) blog post: http://prog21.dadgum.com/13.html In summary, the author asks if you were offered $100,000,000 for some

Re: [OT] Good webhost?

2011-09-14 Thread Josh Simmons
On Wed, Sep 14, 2011 at 4:40 PM, Nick Sabalausky a@a.a wrote: (Sorry for this being so wildly off-topic, but this is the only place I can think of where I already trust the people around to know what they're talking about.) Anyone know of a good webhost? I'm looking for something that matches

Re: [OT] Good webhost?

2011-09-14 Thread Josh Simmons
On Thu, Sep 15, 2011 at 7:01 AM, Nick Sabalausky a@a.a wrote: Josh Simmons simmons...@gmail.com wrote in message news:mailman.2861.1315985349.14074.digitalmar...@puremagic.com... linode or slicehost Thanks. Just looked over their sites. I'm really impressed with linode so far. They seem

Re: D in the TIOBE top

2011-09-14 Thread Josh Simmons
On Thu, Sep 15, 2011 at 11:29 AM, Jeff Nowakowski j...@dilacero.org wrote: On 09/14/2011 08:36 PM, Andrei Alexandrescu wrote: Well, the problem here is that you mix an argument and its negation in an illogical way. You simultaneously assume that Tiobe got D's position wrong at #20 and Scala's

Re: How can I use D to develop web application?

2011-09-13 Thread Josh Simmons
On Wed, Sep 14, 2011 at 12:04 PM, zsxxsz zsx...@263.net wrote: == Quote from Nick Sabalausky (a@a.a)'s article zsxxsz zsx...@263.net wrote in message news:j4o0nn$2igh$1...@digitalmars.com... == Quote from Adam Ruppe (destructiona...@gmail.com)'s article zsxxsz wrote: I think the cgi

Re: std.stdio overhaul by Steve Schveighoffer

2011-09-06 Thread Josh Simmons
On Tue, Sep 6, 2011 at 6:37 PM, bearophile bearophileh...@lycos.com wrote: Josh Simmons: My question is why do you even need a standard API for XML and JSON. It helps port your user code to other libs that use the same standard API. This is very useful. In D I'd like a basic standard API

Re: std.stdio overhaul by Steve Schveighoffer

2011-09-06 Thread Josh Simmons
On Tue, Sep 6, 2011 at 7:09 PM, Jonathan M Davis jmdavisp...@gmx.com wrote: Other major languages (such as Java and C#) have large standard libraries and have done quite well with them. In fact, I believe that the large size of their standard libraries is generally seen as major advantage of

Re: std.stdio overhaul by Steve Schveighoffer

2011-09-05 Thread Josh Simmons
On Tue, Sep 6, 2011 at 12:48 PM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On 09/05/2011 04:51 PM, Walter Bright wrote: If the new std.path breaks existing code, I need to fix it before it is released. Please let me know what problems you are experiencing. It prints out all

Re: etc.curl: Formal review begin

2011-08-31 Thread Josh Simmons
On Thu, Sep 1, 2011 at 10:00 AM, Marco Leise marco.le...@gmx.de wrote: I cannot verify your numbers at all. I drop the caches before every run and make two runs with --async first and --sync second and two runs the other way round. On a 1GB file the async version adds an average of 0.22%. With

Re: Article about problems suggestions for D 2.0

2011-08-31 Thread Josh Simmons
On Thu, Sep 1, 2011 at 3:23 PM, Walter Bright newshou...@digitalmars.com wrote: And note that if you've got hard real time constraints, you cannot even use malloc/free, as they do not run in bounded time. They're generally avoided in game code anyway because they're slow. Games don't have

Re: Clang with SAFECode

2011-08-22 Thread Josh Simmons
On Mon, Aug 22, 2011 at 6:11 PM, bearophile bearophileh...@lycos.com wrote: Walter: You're not going to use those runtime checks in high performance video code. I see it as infrastructure useful for debugging and code test. The advantage over Valgrind is that it doesn't slow down the code

Re: CURL review request

2011-08-18 Thread Josh Simmons
On Thu, Aug 18, 2011 at 6:37 PM, bearophile bearophileh...@lycos.com wrote: Jonas Drewsen: If a decent package management tool was added to D which could handle downloading the binary lib for you then wouldn't that be an okey solition for you? What I think is acceptable is to put now the

Re: About built-in AAs

2011-08-18 Thread Josh Simmons
On Fri, Aug 19, 2011 at 1:43 AM, Sean Kelly s...@invisibleduck.org wrote: This sounds like an application design issue rather than a language issue. Do any languages use a pool of hash routines like this? Sent from my iPhone On Aug 17, 2011, at 5:06 PM, Josh Simmons simmons...@gmail.com

Re: About built-in AAs

2011-08-17 Thread Josh Simmons
On Thu, Aug 18, 2011 at 8:40 AM, Sean Kelly s...@invisibleduck.org wrote: On Aug 17, 2011, at 2:36 PM, bearophile wrote: Walter: Bottom line, I don't think there's an actual problem here. Thank you for your answers. And I agree that the current situation is overall better than the

Re: About built-in AAs

2011-08-16 Thread Josh Simmons
On Wed, Aug 17, 2011 at 12:40 PM, Andrew Wiley wiley.andre...@gmail.com wrote: On Tue, Aug 16, 2011 at 7:29 PM, bearophile bearophileh...@lycos.com wrote: Walter Bright: I think there are search trees like the Red-Black ones that guarantee a O(n ln n) worst case. I am wrong? Just

Re: What library functionality would you most like to see in D?

2011-08-02 Thread Josh Simmons
On Tue, Aug 2, 2011 at 5:45 PM, Jacob Carlborg d...@me.com wrote: On 2011-08-01 23:35, Nick Sabalausky wrote: Johann MacDonaghjohann.macdonagh...@spam.gmail.com  wrote in message news:j1501g$tbs$1...@digitalmars.com... 1. Database interface. Should support sqlite, mysql, postgres, etc... 3.