Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Leandro Lucarella
-friendly. Whenever I see 'traits' I get the feeling I need a Ph.D. to understand what it's about. For some reason, I don't know why, 'meta' has an aire of karma about it. compiler? That could open the door to other types of access to compiler internals, AST, etc. -- Leandro Lucarella (AKA

Re: The Thermopylae excerpt of TDPL available online

2009-10-30 Thread Leandro Lucarella
Lars T. Kyllingstad, el 30 de octubre a las 08:55 me escribiste: Leandro Lucarella wrote: Walter Bright, el 29 de octubre a las 16:06 me escribiste: Lars T. Kyllingstad wrote: What I cannot for the life of me understand is WHY the double underscores? What's wrong with just traits? Because D

Re: Followup Poll: Why tango trunk instead of 0.99.8?

2009-10-30 Thread Leandro Lucarella
maintain (do bug-fixes-releases for) released versions. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Success! (Precisely)

2009-10-30 Thread Leandro Lucarella
candidate for testing, at least it failed with some bugs other smaller, simpler test didn't. But it's for D1. And congratulations! Great news. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key

Re: associative arrays: iteration is finally here

2009-10-29 Thread Leandro Lucarella
private data, but that element was just removed, so bad things would happen, that's why the only option is to copy the data, right? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
^^^ take the average of a1 and a2? (I think it would be easier to follow using b and c though ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: It's a rough rough draft, but one for the full chapter on arrays, associative arrays, and strings. http://erdani.com/d/thermopylae.pdf Any feedback

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 29 de octubre a las 12:23 me escribiste: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38 me escribiste: BTW, it looks like array literals will be dynamic arrays, from the code

Re: associative arrays: iteration is finally here

2009-10-29 Thread Leandro Lucarella
to add lots of enforce() in the code and remove bound checking from the compiler. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: associative arrays: iteration is finally here

2009-10-29 Thread Leandro Lucarella
in the regular flow of a program to avoid using opIn(). -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: associative arrays: iteration is finally here

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 29 de octubre a las 13:26 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 29 de octubre a las 12:33 me escribiste: Bill Baxter wrote: I think bool remove(key) is better than all other designs suggested so far. I agree with the folks who say it's error

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 29 de octubre a las 13:30 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 29 de octubre a las 12:23 me escribiste: Leandro Lucarella wrote: Leandro Lucarella, el 29 de octubre a las 13:21 me escribiste: Andrei Alexandrescu, el 28 de octubre a las 23:38

Re: TDPL reaches Thermopylae level

2009-10-29 Thread Leandro Lucarella
Andrei Alexandrescu, el 27 de octubre a las 19:32 me escribiste: Leandro Lucarella wrote: Bill Baxter, el 27 de octubre a las 13:12 me escribiste: They are? ...Then what is the point of wstring, dstring? They are all just different representations of Unicode. string, which is unicode

Re: associative arrays: iteration is finally here

2009-10-29 Thread Leandro Lucarella
(not if the key was right but deleted before). -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: The Thermopylae excerpt of TDPL available online

2009-10-29 Thread Leandro Lucarella
__)? Same for __gshared. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: GC Sentinel

2009-10-28 Thread Leandro Lucarella
bearophile, el 28 de octubre a las 03:52 me escribiste: Leandro Lucarella: I think that's used to check for memory corruption, by storing a known patter before and after the actual object. Then, each time you can, you check that the unused memory block is intact (meaning nobody wrote

Ugly identifiers

2009-10-28 Thread Leandro Lucarella
(they are globally unique instances that don't need per-thread copies). BTW, will __gshared and __traits be renamed to something that doesn't hurt my eyes before DMD2 is finalized or we will have to live with that until the end of the ages? I don't remember if I'm missing any other ugly identifier. -- Leandro

Re: associative arrays: iteration is finally here

2009-10-28 Thread Leandro Lucarella
be a iterate keys and iterate values properties or functions. How should they be called? Thanks, Andrei aa.each, aa.keys and aa.values seem good names? I might be too pythonic, but aa.items sounds a little better for me ;) -- Leandro Lucarella (AKA luca) http

Re: GC Sentinel

2009-10-28 Thread Leandro Lucarella
bearophile, el 28 de octubre a las 13:19 me escribiste: Leandro Lucarella: If that's true then handier (compile-time?) solutions can be found. What do you mean? For example something run-time that doesn't work with a version(), like something that can be added to the GC API

Re: TDPL reaches Thermopylae level

2009-10-27 Thread Leandro Lucarella
Daniel Keep's nice explanation: http://docs.google.com/View?docid=dtqh79k_1rbxfmb And here is a nice artible about Unicode and encodings: http://www.joelonsoftware.com/articles/Unicode.html -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: GC Precision

2009-10-27 Thread Leandro Lucarella
and running in a release or two if I really keep it simple and stupid. Agreed. I would like to know very much how things goes. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: TDPL reaches Thermopylae level

2009-10-27 Thread Leandro Lucarella
Andrei Alexandrescu, el 27 de octubre a las 19:32 me escribiste: Leandro Lucarella wrote: Bill Baxter, el 27 de octubre a las 13:12 me escribiste: They are? ...Then what is the point of wstring, dstring? They are all just different representations of Unicode. string, which is unicode

Re: Disallow catch without parameter (LastCatch)

2009-10-27 Thread Leandro Lucarella
grauzone, el 26 de octubre a las 08:44 me escribiste: Leandro Lucarella wrote: grauzone, el 25 de octubre a las 12:09 me escribiste: Right now, you can catch every exception with try { something; } catch { somethingelse; }. Can we get rid of this abomination before D2 is finalized? I claim

Re: GC Precision

2009-10-26 Thread Leandro Lucarella
, it might be. In the discussion I mentioned Frits van Bommel proposed a reasonable way to encode the information efficiently: http://www.digitalmars.com/d/archives/digitalmars/D/Std_Phobos_2_and_logging_library_87794.html#N87968 -- Leandro Lucarella (AKA luca) http

Re: GC Precision

2009-10-26 Thread Leandro Lucarella
with C, which has no stack information, so it's a little more controversial about how much the extra complexity will pay off. I agree with David that it's much more reasonable to make the heap precise first and then see how thing are going from that. -- Leandro Lucarella (AKA luca

Re: GC Precision

2009-10-26 Thread Leandro Lucarella
proposal that information about weak pointer were added too, this might fix another big missing in the memory management area in D. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: Disallow catch without parameter (LastCatch)

2009-10-25 Thread Leandro Lucarella
of this is a bug. Why every use of this is a bug? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: No header files?

2009-10-24 Thread Leandro Lucarella
AJ, el 24 de octubre a las 01:44 me escribiste: Leandro Lucarella llu...@gmail.com wrote in message news:20091023125658.ga23...@llucax.com.ar... AJ, el 22 de octubre a las 22:08 me escribiste: I'm still not clear on exactly what you plan on doing. Ooops! No I don't! Yes, I

Re: dmd 1.050 and 2.035 release

2009-10-23 Thread Leandro Lucarella
/show_bug.cgi?id=2908 My guess is that Walter have some mars directory in his development environment so everything works well for him. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: No header files?

2009-10-23 Thread Leandro Lucarella
*one* place (the .cpp/.d files) and generating the headers files (.h/.di) from that. What problems do you find in that scheme? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: Targeting C

2009-10-23 Thread Leandro Lucarella
dictionary. Thanks for mention this, now I don't feel *that* idiotic to have to go and search what iota means every time I see it =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: Targeting C

2009-10-23 Thread Leandro Lucarella
on.) I don't see range taken inside the range module. I think it even makes sense, iota() is the more primitive range ever, so why don't just call it range()? :) Anyway, I think it makes perfect sense to have the compiler translating x..y to a iota/range(x, y). -- Leandro Lucarella (AKA luca

Re: Revamped concurrency API (Don can you contact Bartosz ?)

2009-10-22 Thread Leandro Lucarella
Nick B, el 22 de octubre a las 19:35 me escribiste: Leandro Lucarella wrote: Don, el 21 de octubre a las 09:46 me escribiste: All my public email addresses are fake. Bugzilla is just spam bait. It clearly comes from a more innocent age. I once made the mistake of submitting a bug to gcc

Re: Revamped concurrency API (Don can you contact Bartosz ?)

2009-10-21 Thread Leandro Lucarella
a real account for personal e-mails! That's odd. I couldn't reply your private e-mail about changing the title of the bugzilla report because the From address were fake. -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: static arrays becoming value types

2009-10-21 Thread Leandro Lucarella
Yigal Chripun, el 21 de octubre a las 07:18 me escribiste: On 21/10/2009 05:48, Robert Jacques wrote: On Tue, 20 Oct 2009 23:30:48 -0400, Leandro Lucarella llu...@gmail.com wrote: Robert Jacques, el 20 de octubre a las 21:06 me escribiste: Now, if SOL allowed tuples to do things you can't do

Re: static arrays becoming value types

2009-10-21 Thread Leandro Lucarella
possible in D with type tuples, not with ... value tuples? That's part of the complexity, having 2 type of tuples is very confusing. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: static arrays becoming value types

2009-10-21 Thread Leandro Lucarella
; is not needed ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: this() not executing code on structs

2009-10-21 Thread Leandro Lucarella
printed. If default constructors are disallowed, so should constructors with all parameters defaulted. Fill bug reports in bugzilla, please! -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key

Re: static arrays becoming value types

2009-10-21 Thread Leandro Lucarella
grauzone, el 21 de octubre a las 23:32 me escribiste: Leandro Lucarella wrote: grauzone, el 21 de octubre a las 22:12 me escribiste: Or even: a, b = foo(); or a, _ = foo(); Works in Python (tm) _ is a regular symbol (variable name in this case), there is nothing special about

Re: Revamped concurrency API (Don can you contact Bartosz ?)

2009-10-20 Thread Leandro Lucarella
nasty. Do you have a bugzilla # so we can keep track of it? Thanks. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Eliminate new for class object creation?

2009-10-20 Thread Leandro Lucarella
Andrei Alexandrescu, el 19 de octubre a las 22:16 me escribiste: dsimcha wrote: == Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article Leandro Lucarella wrote: Jason House, el 19 de octubre a las 22:20 me escribiste: Bill Baxter Wrote: On Mon, Oct 19, 2009 at 4:00 PM

Re: static arrays becoming value types

2009-10-20 Thread Leandro Lucarella
, and often use structs to do that now, but using structs feels like a really ugly hack. It would be the poor men tuple for returning (homogeneous) stuff =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: static arrays becoming value types

2009-10-20 Thread Leandro Lucarella
language_fan, el 20 de octubre a las 13:52 me escribiste: Tue, 20 Oct 2009 10:34:35 -0300, Leandro Lucarella thusly wrote: dsimcha, el 20 de octubre a las 02:44 me escribiste: == Quote from Walter Bright (newshou...@digitalmars.com)'s article Currently, static arrays are (as in C) half

Re: Eliminate new for class object creation?

2009-10-20 Thread Leandro Lucarella
effectively live in the same scope the class does. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: static arrays becoming value types

2009-10-20 Thread Leandro Lucarella
head to the wall. Yes, D support for tuples is way far from ideal. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: static arrays becoming value types

2009-10-20 Thread Leandro Lucarella
exaggerated with '*way far* from ideal', but I'm convinced there is plenty of room for improvements. =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
enough, again I think we could live with something more explicit like array!T and slice!T. But at least slices should be part of the language, because that should be the type of array literals (damn! that didn't sound right =P). I'm missing something? Why this shouldn't work? -- Leandro

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
Leandro Lucarella, el 19 de octubre a las 11:57 me escribiste: slice.dup should return an array. To avoid making the language aware of the array type, slice.dup can be removed and use an array constructor instead: auto a = slice.dup; should be: auto a = array!T(slice); This way, I think

Re: version(ctfe)

2009-10-19 Thread Leandro Lucarella
for *all* objects, arrays or not, so I don't think it will be a good idea... Having that information could be used if present though, for example, to avoid scanning chunks of memory that are not used. That could help avoiding false positives (if that chunks of memory are not zeroed already). -- Leandro

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
Leandro Lucarella, el 19 de octubre a las 12:13 me escribiste: Leandro Lucarella, el 19 de octubre a las 11:57 me escribiste: slice.dup should return an array. To avoid making the language aware of the array type, slice.dup can be removed and use an array constructor instead: auto

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
Andrei Alexandrescu, el 19 de octubre a las 10:18 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 18 de octubre a las 20:16 me escribiste: Here's what I wrote to Walter: I'm going to suggest something terrible - let's get rid of T[new]. I know it's

Re: version(ctfe)

2009-10-19 Thread Leandro Lucarella
Andrei Alexandrescu, el 19 de octubre a las 10:33 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 19 de octubre a las 08:38 me escribiste: For relatively large chunks of memory, the GC keeps a control block. We could add a member size_t requestedSize that keeps the size

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
performance hit (no copying, no new allocations). What's wrong with that? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
Andrei Alexandrescu, el 19 de octubre a las 12:40 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 19 de octubre a las 11:16 me escribiste: I'm missing something? Why this shouldn't work? It may work, but I was unable to pull it off reasonably well. What problems did you find

Re: LRU cache for ~=

2009-10-19 Thread Leandro Lucarella
much more than necessary. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: The demise of T[new]

2009-10-19 Thread Leandro Lucarella
Andrei Alexandrescu, el 19 de octubre a las 14:31 me escribiste: By the way: implementation of @property has been canceled. Keep throwing the good news :( -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Revamping associative arrays

2009-10-19 Thread Leandro Lucarella
, but this is what C++ does =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: LRU cache for ~=

2009-10-19 Thread Leandro Lucarella
slicing and having a proper array type. There is no reason to keep that buggy behaviour. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A

Re: LRU cache for ~=

2009-10-19 Thread Leandro Lucarella
~= all too darn convenient? Use a proper array type, not a view (slice). -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Eliminate new for class object creation?

2009-10-19 Thread Leandro Lucarella
allocation should be revised altogether :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: 64-bit

2009-10-17 Thread Leandro Lucarella
on the sourceforge site since Feb. http://bitbucket.org/goshawk/gdc/ -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: T[new] misgivings

2009-10-16 Thread Leandro Lucarella
see how this changes anything... -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: dmd support for IDEs and the D tool chain

2009-10-16 Thread Leandro Lucarella
think it can be ported. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

D and open development model

2009-10-15 Thread Leandro Lucarella
and a recognition to the advances made in the last year(s?). I was about to write it directly to the D group but I thought it could hit a more wider audience as a blog post, and it could attract some people that had left D because of its closeness. I hope you find it useful. -- Leandro Lucarella (AKA

Re: D and open development model

2009-10-15 Thread Leandro Lucarella
bearophile, el 15 de octubre a las 17:49 me escribiste: Leandro Lucarella: I hope you find it useful. Wonderful, baby steps lead you to many places :-) Thank you for that post. Isn't GIT better for CVS? Of course. Maybe you mistaken DVCS (Distributed Version Control System) with CVS? I

Re: D and open development model

2009-10-15 Thread Leandro Lucarella
Andrei Alexandrescu, el 15 de octubre a las 17:01 me escribiste: Leandro Lucarella wrote: Hi, I'm sorry to spam here with self references, but I don't know if Walter and other D developers read Planet D, and I really appreciate if they could read this blog post: D and open development model

Re: D and open development model

2009-10-15 Thread Leandro Lucarella
Bill Baxter, el 15 de octubre a las 15:51 me escribiste: On Thu, Oct 15, 2009 at 3:01 PM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Leandro Lucarella wrote: Hi, I'm sorry to spam here with self references, but I don't know if Walter and other D developers read Planet D

Re: dmd 1.050 and 2.035 release

2009-10-14 Thread Leandro Lucarella
/changelog.html http://ftp.digitalmars.com/dmd.2.035.zip Many thanks to the numerous people who contributed to this update. Thanks for the first releases with full svn history! 8-) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: dmd 1.049 and 2.034 release

2009-10-13 Thread Leandro Lucarella
folding in your patch. Can you try it out with QtD? Thanks for the small commits :) BTW, unless you're planning to skip DMD 2.035, I think you increased the DMD 2 version accidentally to 2.036 ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Revamped concurrency API

2009-10-13 Thread Leandro Lucarella
Jeremie Pelletier, el 13 de octubre a las 01:59 me escribiste: Leandro Lucarella wrote: Jeremie Pelletier, el 12 de octubre a las 22:45 me escribiste: I agree. Particularly about lent. Immutable and mutable weren't considered complete without const, so I'm surprised that local and shared

Re: dmd development model.

2009-10-13 Thread Leandro Lucarella
Robert Clipsham, el 13 de octubre a las 16:26 me escribiste: Leandro Lucarella wrote: The RC can be just a tag in the VCS (I think it would be nicer to have an easily distributable package though, Robert even offered himself to do nightly builds automatically for you, so that shouldn't

Re: Amusing D facts: typesafe variadic arrays are lazy!

2009-10-13 Thread Leandro Lucarella
is expressing a very essential property of the software, it can't happen in a normal flow of the program. If this is the case, I guess assert should be kept as a language construct so it can be always be used in pure/nothrow functions. -- Leandro Lucarella (AKA luca) http

Re: dmd development model.

2009-10-12 Thread Leandro Lucarella
scheduling and do RCs, it would be a new huge step in that direction. Thanks. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Revamped concurrency API

2009-10-12 Thread Leandro Lucarella
://bartoszmilewski.wordpress.com/ [2] http://bartoszmilewski.wordpress.com/2009/05/21/unique_ptr-how-unique-is-it/ -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E

Re: dmd support for IDEs

2009-10-11 Thread Leandro Lucarella
will need to store the info, it will, or will not, itself. And why XML? XML is seriously bloated, I think JSON can be better. With web 2.0 and all, JSON parsers are almost as popular as XML parser, but much easier to implement :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: dmd support for IDEs

2009-10-11 Thread Leandro Lucarella
they start using D, they will start complaining about Phobos vs. Tango, debugger support, librararies, bugs, etc. ;) (maybe not DMD being GPL though, even when I think it's important). -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: dmd support for IDEs

2009-10-11 Thread Leandro Lucarella
* =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) -- Ever

Re: dmd support for IDEs

2009-10-11 Thread Leandro Lucarella
Walter Bright, el 11 de octubre a las 12:40 me escribiste: Leandro Lucarella wrote: I think you've got that answer because they are not using D alread. When they start using D, they will start complaining about Phobos vs. Tango, debugger support, librararies, bugs, etc. ;) (maybe not DMD being

Re: dmd support for IDEs

2009-10-11 Thread Leandro Lucarella
Walter Bright, el 11 de octubre a las 14:13 me escribiste: Leandro Lucarella wrote: Walter Bright, el 11 de octubre a las 02:38 me escribiste: Lutger wrote: What about file/line/column of the symbol? Is this much work / hard work to add? file/line of course, but I don't see a point to column

Re: What does Coverity/clang static analysis actually do?

2009-10-09 Thread Leandro Lucarella
Leandro Lucarella, el 1 de octubre a las 16:24 me escribiste: Walter Bright, el 1 de octubre a las 11:21 me escribiste: I've been interested in having the D compiler take advantage of the flow analysis in the optimizer to do some more checking. Coverity and clang get a lot of positive

Re: clear()

2009-10-09 Thread Leandro Lucarella
suggested name recycle()? I think it make the intention more clear (no pun intended ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Eliminate class allocators and deallocators?

2009-10-08 Thread Leandro Lucarella
Andrei Alexandrescu, el 7 de octubre a las 16:03 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 7 de octubre a las 15:23 me escribiste: You seem to be asserting that without additional built-in language support, manual memory management is unduly difficult. Why so

Re: Eliminate class allocators and deallocators?

2009-10-07 Thread Leandro Lucarella
as of now delete obj puts null in obj... That's nice :) I think it's a false sense of security. Why it's bad for D? (I don't care that much about C++ reasons :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Eliminate class allocators and deallocators?

2009-10-07 Thread Leandro Lucarella
to do with GC safety. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Eliminate class allocators and deallocators?

2009-10-07 Thread Leandro Lucarella
situations where you have to do manual MM. Why are you making that much harder? You know that in the search for safety you'll be making much more unsafe (or bug-prone) to do manual MM? -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Eliminate class allocators and deallocators?

2009-10-07 Thread Leandro Lucarella
. Languages are modular when they let you define new syntax, but that's another topic ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Eliminate class allocators and deallocators?

2009-10-07 Thread Leandro Lucarella
Andrei Alexandrescu, el 7 de octubre a las 15:23 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 7 de octubre a las 14:16 me escribiste: Sean Kelly wrote: == Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article dsimcha wrote: == Quote from Andrei

Re: Eliminate class allocators and deallocators?

2009-10-06 Thread Leandro Lucarella
whatever it feels is good for him (so the user should not rely either on the memory being actually freed or otherwise). -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00

Re: Eliminate class allocators and deallocators?

2009-10-06 Thread Leandro Lucarella
, and nothing I want for default behavior. Well incidentally at least as of now delete obj puts null in obj... That's nice :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: Eliminate class allocators and deallocators?

2009-10-06 Thread Leandro Lucarella
one or more full pages) when they are freed so the program segfaults as soon as a deleted object is used when it shouldn't. That could be a nice debugging feature :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: dmd 1.048 and 2.033 releases

2009-10-05 Thread Leandro Lucarella
interesting... 8-) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: DMD svn and contract inheritance

2009-10-05 Thread Leandro Lucarella
Andrei Alexandrescu, el 5 de octubre a las 19:17 me escribiste: Jason House wrote: Walter Bright Wrote: Robert Clipsham wrote: Leandro Lucarella wrote: Thanks for finally taking this way, Walter =) http://www.dsource.org/projects/dmd/timeline Now that DMD is under version control

Re: Multiple subtyping with alias this and nested classes

2009-10-03 Thread Leandro Lucarella
Andrei Alexandrescu, el 2 de octubre a las 19:10 me escribiste: Leandro Lucarella wrote: We might have very different taste, but I find that a little... horrible. What do you have against mixins? I think you're trying to use D as C++ :) If mixins work better, all the better. How would you

Re: Multiple subtyping with alias this and nested classes

2009-10-03 Thread Leandro Lucarella
Andrei Alexandrescu, el 3 de octubre a las 11:23 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 2 de octubre a las 19:10 me escribiste: Leandro Lucarella wrote: We might have very different taste, but I find that a little... horrible. What do you have against mixins? I

Re: Multiple subtyping with alias this and nested classes

2009-10-03 Thread Leandro Lucarella
to work in the first place. Ok, then, I just find it ugly and unnecessary since you can do the same with interfaces+mixins. It's just a matter of personal preferences (as I said in my first mail), there is no point on arguing about it. =) -- Leandro Lucarella (AKA luca) http

Re: Multiple subtyping with alias this and nested classes

2009-10-02 Thread Leandro Lucarella
it to dovetail so nicely with nested classes. We might have very different taste, but I find that a little... horrible. What do you have against mixins? I think you're trying to use D as C++ :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: A possible leak

2009-10-01 Thread Leandro Lucarella
constructors) and it works with a perfectly stable memory usage. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: A possible leak

2009-10-01 Thread Leandro Lucarella
bearophile, el 1 de octubre a las 12:39 me escribiste: Leandro Lucarella: I've tested it with LDC (using classes instead of structs, because D1 doesn't support struct constructors) and it works with a perfectly stable memory usage. That's a different situation, the compiler

Re: Defining some stuff for each class in turn

2009-10-01 Thread Leandro Lucarella
-creation [2] http://en.wikipedia.org/wiki/Metaclass http://www.ibm.com/developerworks/linux/library/l-pymeta.html -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00

DMD svn and contract inheritance

2009-09-27 Thread Leandro Lucarella
Thanks for finally taking this way, Walter =) http://www.dsource.org/projects/dmd/timeline -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145

<    2   3   4   5   6   7   8   9   10   >