Re: new principle of division between structures and classes

2009-01-09 Thread Bill Baxter
On Wed, Jan 7, 2009 at 4:22 AM, Weed wrote: > (Here I generalise my sentence with supplement) > > > The POD data and the data supporting polymorphism are necessary to us. > POD the data is stored in structs and polymorphic objects is classes. > > Both types (class and struct) can be instanced in a

Slow DWT compiles

2009-01-09 Thread Bill Baxter
The DWT compile times do still seem to be sky-high even after the reversion in DMD 1.039. I just tried building the dwt-samples\treeeditor\Snippet111.d, for instance and it's taking insanely long. Switch back to DMD 1.037 and it compiles in well under a minute. So my guess is that nobody else bu

Re: Slow DWT compiles

2009-01-09 Thread Bill Baxter
On Sat, Jan 10, 2009 at 2:21 PM, Tim M wrote: > How do you rate 1.038 compile time? It was also bad. I was thinking 1.039 was better but it's possible I just compiled a different program with it I figured the programs were similar enough that if it affected on then it would affect the other, bu

Re: OT: Less-restrictive alternative to XML and XML visualizers?

2009-01-09 Thread Bill Baxter
On Sat, Jan 10, 2009 at 2:51 PM, Nick Sabalausky wrote: > I don't suppose you know of a general-use tool that would let me provide a > text file and a tree (JSON, XML, or anything else) that describes a > particular parsing of the text file (obviously including indicies into the > original text fi

Re: Slow DWT compiles

2009-01-09 Thread Bill Baxter
On Sat, Jan 10, 2009 at 3:11 PM, Nick Sabalausky wrote: > "Bill Baxter" wrote in message > news:mailman.355.1231561916.22690.digitalmar...@puremagic.com... >> The DWT compile times do still seem to be sky-high even after the >> reversion in DMD 1.039. >> >&g

Re: Slow DWT compiles

2009-01-10 Thread Bill Baxter
On Sat, Jan 10, 2009 at 5:19 PM, Tim M wrote: > >> >> DMD linker is often hangs for indefined amount of time. I'm already used >> to killing the link.exe process and re-running linking step. It happens to >> me in about 5-10% of times. Non-deterministic, non-reproducable. >> > > To help prove a po

Re: Purity (D2 standard libraries / object.d)

2009-01-10 Thread Bill Baxter
On Sun, Jan 11, 2009 at 4:31 AM, Stewart Gordon wrote: > Stewart Gordon wrote: > >> >> Walter, before you go and implement any of this, I must point out that >> it's spelt "memorization" and "memorize". (Or "memorisation" and "memorise" >> if you're British, but that's an aside.) > > Or maybe no

Re: new principle of division between structures and classes

2009-01-10 Thread Bill Baxter
2009/1/11 Christopher Wright : > Weed wrote: >> >> Denis Koroskin пишет: >> >>> I'd suggest you to state you ideas as simple and keep your posts as >>> small as possible (trust me, few people like reading long posts). >> >> The extra-short formulation of my idea: >> Objects should be divided on POD

Re: new principle of division between structures and classes

2009-01-10 Thread Bill Baxter
2009/1/11 Christopher Wright : >> Instead of such division as now: POD && value type (struct) and POD && >> reference type (class). > > The reference versus value type difference is just a matter of defaults. No it's not. scope MyClass does not make a MyClass that works like a value type. It mer

Re: new principle of division between structures and classes

2009-01-10 Thread Bill Baxter
2009/1/11 Weed : > Bill Baxter пишет: > >> But since classes can be polymorphic, value copying gets you into >> slicing problems. That's why value copying is disabled to begin with. >> So disabling value copies is a good thing. > > It is not always a good thi

Re: Purity (D2 standard libraries / object.d)

2009-01-10 Thread Bill Baxter
On Sun, Jan 11, 2009 at 8:51 AM, Andrei Alexandrescu wrote: > Walter Bright wrote: >> >> Andrei Alexandrescu wrote: >>> >>> Michel Fortin wrote: On 2009-01-10 00:10:11 -0500, Andrei Alexandrescu said: >> The problem is identifying if this would be faster than recomputing >

Re: Properties

2009-01-10 Thread Bill Baxter
On Sun, Jan 11, 2009 at 11:27 AM, dsimcha wrote: > == Quote from Miles (...@___.)'s article >> Daniel Keep wrote: >> > Yes, property syntax can simplify some cases, but this isn't one of them. >> One good distinction properties and normal functions ought to make is >> that functions sh

Re: Properties

2009-01-10 Thread Bill Baxter
On Sun, Jan 11, 2009 at 12:01 PM, Miles <...@___.> wrote: > dsimcha wrote: >> I for one think that code is often more >> readable without the annoying empty parentheses around functions that don't >> take >> any arguments. > > It introduces ambiguities, and unexpected behavior, as I e

Re: Properties

2009-01-10 Thread Bill Baxter
On Sun, Jan 11, 2009 at 12:52 PM, dsimcha wrote: > I'm starting to think that this properties thing is becoming a hopelessly > complicated solution to a very simple problem. The issue that brought this > to a > head in the first place was foo = foo + 1 vs. foo += 1. Given that solving > this >

LDC on LLVM projects page now

2009-01-10 Thread Bill Baxter
I got the guy in charge of this page to add LDC: http://www.llvm.org/ProjectsWithLLVM/ LDC is now listed right at the top! LDC folks: Please feel free to send a better description to the address at the bottom of the page if you don't like what took from the LDC annoucement. :-) --bb

Re: Properties

2009-01-11 Thread Bill Baxter
On Mon, Jan 12, 2009 at 4:07 AM, "Jérôme M. Berger" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andrei Alexandrescu wrote: >> Miles wrote: >>> Daniel Keep wrote: Yes, property syntax can simplify some cases, but this isn't one of them. >>> >>> One good distinction proper

Re: Purity (D2 standard libraries / object.d)

2009-01-11 Thread Bill Baxter
On Sun, Jan 11, 2009 at 11:43 PM, Christopher Wright wrote: > Bill Baxter wrote: >> >> But the call for a memoization thingy I just don't get. No way that >> should be a compiler feature, just far too many ways to memoize with >> too many different tradeoffs.

Re: Warning: volatile does NOT do what you think it does. WRT. DS or similar development.Warning: volatile does NOT do what you think it does. WRT. DS or similar development.

2009-01-12 Thread Bill Baxter
On Mon, Jan 12, 2009 at 5:15 PM, downs wrote: > > To have some good news for a change, here's the pay-off : > http://img55.imageshack.us/img55/6811/victory2wv7.jpg .. D on the DS *is > feasible*. That's awesome! What compiler did you use? --bb

Re: lazy thoughts

2009-01-12 Thread Bill Baxter
On Tue, Jan 13, 2009 at 2:05 AM, Andrei Alexandrescu wrote: > (I originally emailed this to Walter and a couple others, but I thought it > might be better to gather insights from the community.) > > I'm gearing up for changing std.algorithm, and I am thinking of making the > major change of favori

Re: lazy thoughts

2009-01-12 Thread Bill Baxter
On Tue, Jan 13, 2009 at 6:42 AM, Andrei Alexandrescu wrote: > Bill Baxter wrote: >> >> On Tue, Jan 13, 2009 at 2:05 AM, Andrei Alexandrescu > >>> [snip] >>> >>> Please let me know what you think! >> >> I think having such functions is

Re: new principle of division between structures and classes

2009-01-12 Thread Bill Baxter
2009/1/13 Weed : > Andrei Alexandrescu пишет: >> Brad Roberts wrote: >>> Andrei Alexandrescu wrote: Weed wrote: > Weed пишет: > 4. Java and C# also uses objects by reference? But both these of language are interpreted. I assume that the interpreter generally

Re: new principle of division between structures and classes

2009-01-12 Thread Bill Baxter
On Tue, Jan 13, 2009 at 10:17 AM, Andrei Alexandrescu wrote: > Bill Baxter wrote: >> >> So it may be worth while to have a special kind construct for >> containing data that the compiler is free to move around. This type >> would have a hidden pointer inside of it

Re: lazy thoughts

2009-01-12 Thread Bill Baxter
On Tue, Jan 13, 2009 at 10:47 AM, bearophile wrote: > Bill Baxter: > >> > I believe (without having measured... which means that I am essentially >> > lying) that we can safely assume the lunch will be free or low cost. The >> > copying of the underlying ran

Re: lazy thoughts

2009-01-13 Thread Bill Baxter
On Wed, Jan 14, 2009 at 6:39 AM, Robert Fraser wrote: > Fawzi Mohamed wrote: >> >> Probably something of the following: >> 1) In general when you do map you cannot exclude that the user expects >> sequentiality, or at least not parallelism. >> >> 2) if you use forward iterators (and lazy lists are

Re: lazy thoughts

2009-01-13 Thread Bill Baxter
On Wed, Jan 14, 2009 at 7:39 AM, Jason House wrote: > Point #3 is on the mark. A URL to quality documentstion is worth 100 posts > declaring the superiority of dlibs. A URL to browseable source wouldn't hurt either. Given how much you promote your library here, it's surprising to me that you (

Qt 4.5 to be LGPL

2009-01-14 Thread Bill Baxter
Qt 4.5 to be LGPL http://tech.slashdot.org/article.pl?sid=09%2F01%2F14%2F1312210 Now we just need a D port... --bb

Re: Qt 4.5 to be LGPL

2009-01-14 Thread Bill Baxter
On Thu, Jan 15, 2009 at 4:42 AM, naryl wrote: > On Wed, 14 Jan 2009 18:40:19 +0300, Bill Baxter wrote: > >> Qt 4.5 to be LGPL >> http://tech.slashdot.org/article.pl?sid=09%2F01%2F14%2F1312210 >> >> Now we just need a D port... >> >> --bb > > T

Re: Qt 4.5 to be LGPL

2009-01-14 Thread Bill Baxter
On Thu, Jan 15, 2009 at 9:18 AM, Stewart Gordon wrote: > Bill Baxter wrote: > >> >> Excellent. I didn't know anyone was working on it. Qt is simply the >> best damn GUI toolkit there is. But I wouldn't touch it with a meter >> long chopstick when it

Re: lazy thoughts

2009-01-15 Thread Bill Baxter
On Thu, Jan 15, 2009 at 4:58 PM, davidl wrote: > 在 Wed, 14 Jan 2009 07:43:53 +0800,Bill Baxter 写道: > >> On Wed, Jan 14, 2009 at 7:39 AM, Jason House >> wrote: >> >>> Point #3 is on the mark. A URL to quality documentstion is worth 100 >>> posts declarin

Re: Qt 4.5 to be LGPL

2009-01-15 Thread Bill Baxter
On Fri, Jan 16, 2009 at 8:26 AM, BLS wrote: > Nick Sabalausky wrote: >> >> "BLS" wrote in message >> news:gkodf2$1ah...@digitalmars.com... >>> >>> Bill Baxter wrote: >>>> >>>> On Thu, Jan 15, 2009 at 4:42 AM, naryl wrote:

Re: Qt 4.5 to be LGPL

2009-01-15 Thread Bill Baxter
On Fri, Jan 16, 2009 at 9:00 AM, Yigal Chripun wrote: > 2. there's more to S&S than just an array of delegates - they are weak refs > so that destruction of an object disconnects automatically the apropriate > signals. but there is a weakref lib for D written by Bill IIRC, that could > be utilize

Re: Profiler Speed

2009-01-15 Thread Bill Baxter
On Fri, Jan 16, 2009 at 9:44 AM, Christopher Wright wrote: > bearophile wrote: >> >> Nick Sabalausky: >>> >>> Isn't that kind of a common thing with profilers in general? >> >> Any physical measure alters the thing to be measured, but with a good >> enough brain you can generally invent ways to de

Re: Qt 4.5 to be LGPL

2009-01-15 Thread Bill Baxter
On Fri, Jan 16, 2009 at 10:22 AM, Walter Bright wrote: > Bill Baxter wrote: >> >> On Fri, Jan 16, 2009 at 9:00 AM, Yigal Chripun wrote: >> >>> 2. there's more to S&S than just an array of delegates - they are weak >>> refs >>> so th

Re: Qt 4.5 to be LGPL

2009-01-15 Thread Bill Baxter
On Fri, Jan 16, 2009 at 11:26 AM, Katrina Niolet wrote: > Stewart Gordon Wrote: > >> Bill Baxter wrote: >> > Qt 4.5 to be LGPL >> > http://tech.slashdot.org/article.pl?sid=09%2F01%2F14%2F1312210 >> > >> > Now we just need a D port... >> &g

Re: Profiler Speed

2009-01-15 Thread Bill Baxter
On Fri, Jan 16, 2009 at 2:24 PM, Walter Bright wrote: > Bill Baxter wrote: >> >> Right, that would probably do the trick, except I don't think there's >> anyway to programatically turn D's profiler on or off. So if you've >> got a program

Re: Qt 4.5 to be LGPL

2009-01-16 Thread Bill Baxter
On Fri, Jan 16, 2009 at 7:42 PM, Sergey Kovrov wrote: > On 1/16/2009 10:34 AM, Daniel de Kok wrote: >> >> I use Qt daily, and it uses native widgets in recent versions. Of >> course, with the exception of X11, because there is no such thing as >> native widgets (arguably, Qt is one of the major tw

Re: Qt 4.5 to be LGPL

2009-01-16 Thread Bill Baxter
On Sat, Jan 17, 2009 at 1:50 AM, Yigal Chripun wrote: >>> Question: since D2 now uses the same runtime as tango and that >>> includes the (same) GC, do we still need the wrapper, for D2 code? >> >> What do you mean by wrapper? Or you mean extern C++ capabilites of >> D2? I tried them, and they se

DWT+OpenGL crashing on Vista

2009-01-16 Thread Bill Baxter
I'm going crazy here with a very odd bug. My DWT+OpenGL Win32 app is crashing *only* on Vista and *only* when I use client arrays for rendering (i.e. glEnableClientState(GL_VERTEX_ARRAY), glVertexPointer(...), glArrayElement()). The exact same code works fine on XP. I have the Areo desktop com

Re: Anomaly on Wiki4D GuiLibraries page

2009-01-16 Thread Bill Baxter
On Sat, Jan 17, 2009 at 2:53 PM, John Reimer wrote: > Hello Stewart, > >> John Reimer wrote: >> >>> >>> Good question. I think the new dwt release just inherited (or >>> hijacked) the title based on the release made by Shawn a couple of >>> years ago which was Phobos compatible. >>> >> So effect

Re: Anomaly on Wiki4D GuiLibraries page

2009-01-17 Thread Bill Baxter
On Sun, Jan 18, 2009 at 6:46 AM, John Reimer wrote: > Back to the present. Again, it would be easier if we just fix this > situation by changing the "dwt" newsgroup to "GUI" and forget about the > reference to "standard" for now. Ugh, that would be terrible. I really don't care what troubles a

Re: Any chance to call Tango as Extended Standard Library

2009-01-17 Thread Bill Baxter
On Sun, Jan 18, 2009 at 4:35 AM, IUnknown wrote: > To D gods, > > Having to learn and choose between two libraries is a big -ve point in > adopting D. Many people would also like to use D on ARM if possible in the > future so dividing the library into two parts would help as then only the > cor

Re: DWT+OpenGL crashing on Vista

2009-01-17 Thread Bill Baxter
On Sun, Jan 18, 2009 at 11:29 AM, Tim M wrote: > On Sat, 17 Jan 2009 12:51:46 +1300, Bill Baxter wrote: > >> I'm going crazy here with a very odd bug. >> My DWT+OpenGL Win32 app is crashing *only* on Vista and *only* when I >> use client arrays for rendering

Re: Anomaly on Wiki4D GuiLibraries page

2009-01-17 Thread Bill Baxter
On Sun, Jan 18, 2009 at 1:54 PM, Don wrote: > John Reimer wrote: >> >>> Still it's nice to have a basic cross-platform GUI right there in the >>> standard distribution of the language. >>> > > Does DWT offer that yet? Certainly it didn't at the moment of > 'standardisation'. I don't think so. It

Re: D on gamedev.net

2009-01-18 Thread Bill Baxter
On Sun, Jan 18, 2009 at 5:04 PM, Tim M wrote: > On Tue, 13 Jan 2009 13:15:00 +1300, Walter Bright > wrote: > >> http://www.gamedev.net/community/forums/topic.asp?topic_id=520302 > > I had another look at that thread today and noticed a post that says "D > doesn't have static type checking". > htt

Re: dsource considered harmful

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 3:56 AM, dsimcha wrote: > == Quote from Martin Carney (marc...@hotmail.com)'s article >> Visiting dsource I'm disappointed by the large number of half-finished and > not-started projects on the projects page. >> I pick on interesting project and look at the source tree - no

Re: DWT+OpenGL crashing on Vista

2009-01-18 Thread Bill Baxter
ct.Exception: Access Violation """ Can anyone else reproduce this (particularly Vista users)? I'd be happy to send the exe to anyone who would like to try it off list. But it's a 3MB exe (compresses to about .7 MB). --bb On Sun, Jan 18, 2009 at 11:35 PM, Sergey Kovrov wro

Re: dsource considered harmful

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 7:23 AM, Simen Kjaeraas wrote: > On Sun, 18 Jan 2009 23:11:15 +0100, Stewart Gordon > wrote: > >> As long as that automatically pruned list isn't the default. Otherwise, >> there would probably be lots of new projects started when it would be better >> to revive an existi

Re: DWT+OpenGL crashing on Vista [OT]

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 8:58 AM, Sergey Kovrov wrote: > On 1/19/2009 12:17 AM, Bill Baxter wrote: >> >> Here's a modified version of one of the DWT opengl snippets that >> reproduces the crash for me. >> About 1 in 10-15 runs this will crash (seems to be ins

Re: Any chance to call Tango as Extended Standard Library

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 9:16 AM, Andrei Alexandrescu wrote: >> Unless it's a class you mean? > > Yah, ranges are meant to have value semantics. If you have a class container > exposing ranges, define the range separately from the container itself: > > MyIterable collection; > foreach (element; co

Re: DWT+OpenGL crashing on Vista

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 8:53 AM, Sergey Gromov wrote: > Mon, 19 Jan 2009 07:17:16 +0900, Bill Baxter wrote: > >> Here's a modified version of one of the DWT opengl snippets that >> reproduces the crash for me. >> About 1 in 10-15 runs this will crash (seems to be

Re: DWT+OpenGL crashing on Vista

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 8:53 AM, Sergey Gromov wrote: > Mon, 19 Jan 2009 07:17:16 +0900, Bill Baxter wrote: > >> Here's a modified version of one of the DWT opengl snippets that >> reproduces the crash for me. >> About 1 in 10-15 runs this will crash (seems to be

Re: Any chance to call Tango as Extended Standard Library

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 11:54 AM, Andrei Alexandrescu wrote: > Bill Baxter wrote: >> >> On Mon, Jan 19, 2009 at 9:16 AM, Andrei Alexandrescu >> wrote: >> >>>> Unless it's a class you mean? >>> >>> Yah, ranges are meant to have v

Re: Any chance to call Tango as Extended Standard Library

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 2:00 PM, Christopher Wright wrote: > Walter Bright wrote: >> >> Yigal Chripun wrote: >>> >>> Walter Bright wrote: Lars Ivar Igesund wrote: > > toe() ?! tail() good, rear() not so good, toe() sucks. tail() is no good because it has a well-establis

Re: Any chance to call Tango as Extended Standard Library

2009-01-18 Thread Bill Baxter
On Mon, Jan 19, 2009 at 3:57 PM, Yigal Chripun wrote: > Christopher Wright wrote: >> >> Walter Bright wrote: >>> >>> Yigal Chripun wrote: Walter Bright wrote: > > Lars Ivar Igesund wrote: >> >> toe() ?! tail() good, rear() not so good, toe() sucks. > > tail() is n

Google==Go, Mozilla==Rust, Facebook==D

2015-08-19 Thread Bill Baxter via Digitalmars-d
Or at least that's the impression one might get from reading this Wired article: http://www.wired.com/2015/08/googles-house-programming-language-now-runs-phones/?mbid=social_gplus """ [Go] is at the forefront of a new breed of languages that can rapidly execute code across a large number of system

<    4   5   6   7   8   9