Re: I want my Memory back ;-)

2010-07-13 Thread Leandro Lucarella
() should free memory (as give it back to the OS) if there are any pools completely free, but IFAIK is only implemented in Tango and D2 (i.e., not implemented in Phobos/D1). -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Debugging

2010-07-13 Thread Leandro Lucarella
get a handful of mangled names, and no call graph. Same here, I use valgrind's callgrind + kcachegrind, is slow, but very nice. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05

Re: Manual memory management in D2

2010-07-13 Thread Leandro Lucarella
function pointer/delegate with the same signature as malloc/free to do the actual allocation/freeing and default to C's malloc/free. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: Debugging

2010-07-13 Thread Leandro Lucarella
of debugging segfaults than running the program in gdb directly. I will give it a go. ``ulimit -c 5000`` will not generate a core dump if the dump is bigger than 5000 bytes (or kb?), if you want no limits, use ``ulimit -c unlimited`` instead. -- Leandro Lucarella (AKA luca) http

Re: I want my Memory back ;-)

2010-07-12 Thread Leandro Lucarella
. What are you doing to check if they work? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Allocating structs with new?

2010-07-10 Thread Leandro Lucarella
information associated to blocks of memory in the GC, which means (semi)precise heap scanning. So maybe is not a bad idea to make the destructors of structs get called by the GC :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: fedora will get ldc and tango in official repo

2010-07-04 Thread Leandro Lucarella
Tomas Lindquist Olsen, el 4 de julio a las 17:55 me escribiste: On Sat, Jun 26, 2010 at 11:57 PM, Leandro Lucarella l...@llucax.com.ar wrote: Mmmm, I guess the fact that LDC doesn't support Phobos might be a good reason why including Phobos is not that useful =) I'd rather say

Re: mangle

2010-07-04 Thread Leandro Lucarella
What about including a demangling tool in the DMD distribution? That would be helpful and avoid the DIY status we have now... -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: mangle

2010-07-02 Thread Leandro Lucarella
.m2.f1(int, float) I don't know if that names are supported by the linker. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Network I/O and streaming in D2

2010-07-02 Thread Leandro Lucarella
change much and it's pretty thin, so adapting it to D2 shouldn't be too much work; it could serve as a start point. If you want to use it for anything, I have no problem changing the license of the wrapper, if needed. http://llucax.com.ar/proj/ev.d/index.html -- Leandro Lucarella (AKA luca

Re: Part 1 of the Language Reference Docs Review

2010-07-01 Thread Leandro Lucarella
this Tracker in the bug-reports: http://d.puremagic.com/issues/show_bug.cgi?id=677 That one's for D1 (and it seems abandoned). What do you mean by abandoned? By Walter? Because I don't think it's abandoned by the users/reporters... -- Leandro Lucarella (AKA luca) http

Re: Using ()s in @property functions

2010-06-29 Thread Leandro Lucarella
case to: (1) assign to the property. prop = val; Is not the same at all! prop = val will call the setter function, *ptr = val will not! -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key

Re: Requesting some DMD hacking advice for property lowering.

2010-06-27 Thread Leandro Lucarella
-internals list/NG: http://lists.puremagic.com/mailman/listinfo/dmd-internals http://dir.gmane.org/gmane.comp.lang.d.dmd.devel -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00

Re: fedora will get ldc and tango in official repo

2010-06-26 Thread Leandro Lucarella
=) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) -- Forgive your

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-22 Thread Leandro Lucarella
semantics and it can make more assumptions. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-22 Thread Leandro Lucarella
Lars T. Kyllingstad, el 22 de junio a las 09:14 me escribiste: On Mon, 21 Jun 2010 20:27:32 -0700, Bill Baxter wrote: On Mon, Jun 21, 2010 at 6:31 PM, Leandro Lucarella l...@llucax.com.ar wrote: Bill Baxter, el 21 de junio a las 17:13 me escribiste: On Mon, Jun 21, 2010 at 4:24 PM

Re: DMD Backend Long-term

2010-06-22 Thread Leandro Lucarella
is the same with C++. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: DMD Backend Long-term

2010-06-22 Thread Leandro Lucarella
.) I don't know about 1), but about 2), one of the main goals of LLVM was to have a less restrictive license than GPL, so copying GPL code is not an option for them. -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: DMD Backend Long-term

2010-06-22 Thread Leandro Lucarella
BCS, el 23 de junio a las 02:09 me escribiste: Hello bearophile, Leandro Lucarella: but about 2), one of the main goals of LLVM was to have a less restrictive license than GPL, so copying GPL code is not an option for them. Can't you copy it by something like 90%, enough to be able

Re: DMD Backend Long-term

2010-06-22 Thread Leandro Lucarella
something here.) Plus, do we even know that this is what's holding up LLVM exceptions on Windows? I guess the best way to get answers is to ask in the LLVM mailing list, I think here you'll only find more answers =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: DMD Backend Long-term

2010-06-22 Thread Leandro Lucarella
Leandro Lucarella, el 23 de junio a las 00:31 me escribiste: Nick Sabalausky, el 22 de junio a las 22:35 me escribiste: BCS n...@anon.com wrote in message news:a6268ff1581a8cce05541b41...@news.digitalmars.com... Hello bearophile, Robert Jacques: The patent seems

Re: enforce()?

2010-06-21 Thread Leandro Lucarella
Andrei Alexandrescu, el 21 de junio a las 08:02 me escribiste: On 06/20/2010 11:08 PM, Leandro Lucarella wrote: Walter Bright, el 20 de junio a las 19:32 me escribiste: Leandro Lucarella wrote: Why will you assume I'm so dumb that I won't use your interface correctly? Windows has had major

Re: DMD Backend Long-term

2010-06-21 Thread Leandro Lucarella
wish someone could convince LLVM of that... Maybe it should be the other way around. Someone who cares about Windows should give some love to LLVM =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG

Re: Errors in TDPL

2010-06-21 Thread Leandro Lucarella
all corner cases, steps greater than 1, and what to do for floating point numbers is doable but not trivial either, and works against modularity. Anyway, it does look like it's all about an implementation matter. I'm scared, I've heard that in C++ so many times... =) -- Leandro Lucarella (AKA

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-21 Thread Leandro Lucarella
anymore). -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) -- Ya ni

Re: Is there ANY chance we can fix the bitwise operator precedence

2010-06-21 Thread Leandro Lucarella
Walter is comfortable with the change. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-21 Thread Leandro Lucarella
of implicit. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-21 Thread Leandro Lucarella
Bill Baxter, el 21 de junio a las 17:13 me escribiste: On Mon, Jun 21, 2010 at 4:24 PM, Leandro Lucarella l...@llucax.com.ar wrote: goto next case; is a little more verbose but very clear to me :) Maybe just next case; is a shorter alternative... That would be great if next were a D

Re: enforce()?

2010-06-20 Thread Leandro Lucarella
anyways. You are just trying to catch programs bugs in the DLL, which seems overly patronizing to me. Why will you assume I'm so dumb that I won't use your interface correctly? -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: enforce()?

2010-06-20 Thread Leandro Lucarella
Walter Bright, el 20 de junio a las 19:32 me escribiste: Leandro Lucarella wrote: Why will you assume I'm so dumb that I won't use your interface correctly? Windows has had major legacy compatibility issues because critical third party applications misused the APIs. People *will* misuse

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-19 Thread Leandro Lucarella
threads. All have been suggested before. http://www.digitalmars.com/d/archives/154.html#N388 -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A

Re: Is there ANY chance we can fix the bitwise operator precedence rules?

2010-06-19 Thread Leandro Lucarella
think Walter is a BDFL, though. He is more a OMD (orchestra-man dictator), as he do everything by himself and nobody could ever do anything else, he doesn't resolve disputes or competing arguments within the community, he just do what he wants (except from Phobos now, fortunately). -- Leandro

Re: beforeGarbageCollection

2010-06-17 Thread Leandro Lucarella
give up your own cache for the OS disk cache? I'm not so sure... It's a really delicate issue... -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E

Re: enforce()?

2010-06-16 Thread Leandro Lucarella
in phobos). -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: enforce()?

2010-06-16 Thread Leandro Lucarella
. If that's not the case, it only produce a false feeling that D (standard library) is good handling errors when it's not, it's just a binary there is an error - there is no errors. -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Constrained Templates

2010-06-13 Thread Leandro Lucarella
://d.puremagic.com/issues/show_bug.cgi?id=3702 -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: C++ and D @ stackoverflow

2010-06-12 Thread Leandro Lucarella
they wanted to avoid coming to a GC'ed language. Or at least you should include a *HUGE* disclaimer telling people they can't store pointers to the GC heap in that structures (unless they have roots to the same pointed objects in another part of the GC roots, of course :). -- Leandro Lucarella

Re: C++ and D @ stackoverflow

2010-06-12 Thread Leandro Lucarella
Andrei Alexandrescu, el 12 de junio a las 07:20 me escribiste: Leandro Lucarella wrote: Andrei Alexandrescu, el 12 de junio a las 00:32 me escribiste: BCS wrote: http://stackoverflow.com/questions/3024136/link-compatibility-between-c-and-d I just posted an answer that contains a couple

Re: Go Programming talk [OT]

2010-06-09 Thread Leandro Lucarella
have to catch. In that case I think the resulting code is uglier and more convoluted than the code to manage errors by returning error codes or similar. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG

To throw or not to throw [was: Go Programming talk [OT]]

2010-06-09 Thread Leandro Lucarella
Leandro Lucarella, el 9 de junio a las 11:37 me escribiste: Pelle, el 9 de junio a las 13:28 me escribiste: Yes, I agree that safety is the best argument in favour of exceptions (as explicitness is the best argument in favour of no-exceptions). The Python Zen put it this way: Errors

Re: Go Programming talk [OT]

2010-06-09 Thread Leandro Lucarella
the vast majority of programs can afford exiting with a nice error message catching any exception at main level (or simply letting the runtime print the error/stack trace for you). -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: BinaryHeap is a range so it goes in std.range. Agree?

2010-06-09 Thread Leandro Lucarella
for that limitation. That's why the convetion .all is used. If that worked I guess .all wasn't necessary in the first place. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145

Re: Go Programming talk [OT]

2010-06-08 Thread Leandro Lucarella
. That's what I like the most about exceptions. I think try/catch is really ugly though. There has to be something better. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: Go Programming talk [OT]

2010-06-07 Thread Leandro Lucarella
Adam Ruppe, el 6 de junio a las 21:24 me escribiste: On 6/6/10, Leandro Lucarella llu...@gmail.com wrote: It looks like Go now have scope (exit) =) Not quite the same (defer is apparently only on function level), but definitely good to have. The scope statements are awesome beyond belief

Re: Marketing of D - article topic ideas?

2010-06-07 Thread Leandro Lucarella
://d.puremagic.com/issues/show_bug.cgi?id=4230 -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Go Programming talk [OT]

2010-06-07 Thread Leandro Lucarella
Adam Ruppe, el 7 de junio a las 11:30 me escribiste: On 6/7/10, Leandro Lucarella llu...@gmail.com wrote: Yes, they are not implemented exactly the same, but the concept is very similar. And I agree that scope is really a life saver, it makes life much easier and code much more readable

Re: Marketing of D - article topic ideas?

2010-06-07 Thread Leandro Lucarella
Walter Bright, el 7 de junio a las 14:42 me escribiste: Leandro Lucarella wrote: Please, document this! http://d.puremagic.com/issues/show_bug.cgi?id=4230 Done. Thanks =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Go Programming talk [OT]

2010-06-07 Thread Leandro Lucarella
Ali Çehreli, el 7 de junio a las 14:41 me escribiste: Leandro Lucarella wrote: Go doesn't have exceptions, so scope(failure/success) makes no sense. You can argue about if not having exceptions is good or bad (I don't have a strong opinion about it, sometimes I feel exceptions are nice

Re: Go Programming talk [OT]

2010-06-06 Thread Leandro Lucarella
#DeferStmt -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) -- Hay

Re: Link time optimization in D

2010-06-01 Thread Leandro Lucarella
projects a future need would be for dmd to read files off the standard input. The length of the command line is limited. Or maybe from a file. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key

Re: Link time optimization in D

2010-06-01 Thread Leandro Lucarella
of parse time compared with the whole compilation process. Even more, you can do LTO for object files generated from different languages. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key

Re: Link time optimization in D

2010-06-01 Thread Leandro Lucarella
Walter Bright, el 1 de junio a las 17:18 me escribiste: Leandro Lucarella wrote: LTO is not only targeted at C++. I don't have numbers to talk seriously about how a big gain is for C though, which might be closer to D in terms of parse time compared with the whole compilation process. Even

Re: need clarification: will typedef, C struct initialization, etc.

2010-05-31 Thread Leandro Lucarella
types (t1) types (t1) cannot implicitly convert expression (t) of type t1 to t2 Alias does not provide type-safety. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431

Re: Link time optimization in D

2010-05-31 Thread Leandro Lucarella
for that builds one can afford the extra waiting time, it's just a little annoying to have to use a different build method for those builds, though :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key

Re: C#5 desiderata

2010-05-29 Thread Leandro Lucarella
to be careless -- anything with an @ in front is still part of the language. That's all. It shouldn't, that's (was?) the point of @. If the point of @ was to create a namespace for keywords, it sucks... -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: std.container update

2010-05-28 Thread Leandro Lucarella
have to reallocate every time. D's arrays are fantastic, but they're still not quite good enough to outright replace a vector type. OK, I forgot that, I guess my brain choose to forget it to stop keeping the flame alive, so I'll forget all about it again =P -- Leandro Lucarella (AKA luca

Re: Huffman coding comparison

2010-05-28 Thread Leandro Lucarella
. PS: Sorry about the Python-love mail... =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: std.container update

2010-05-27 Thread Leandro Lucarella
-in arrays? If built-in arrays would be syntax sugar for a real library type, like AAs, I can see as a good option using Array for that type, since built-in arrays and the library Array would be the same thing. -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: 64-bit support (Was: Poll: Primary D version)

2010-05-26 Thread Leandro Lucarella
is to give this program to Walter so he is able to build .deb packages and host them on digitalmars.com Maybe he can take a look at that. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05

Re: 64-bit support (Was: Poll: Primary D version)

2010-05-25 Thread Leandro Lucarella
to the toolchain and distribution issues when D2 is finished. I don't think either attacking Walter gratuitously or defending him blindly is a good for D. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG

Re: 64-bit support (Was: Poll: Primary D version)

2010-05-25 Thread Leandro Lucarella
for a Debian/Ubuntu user. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: 64-bit support (Was: Poll: Primary D version)

2010-05-25 Thread Leandro Lucarella
. Is there a way to make that directive automatic inside the .deb file? No, that's a broken deb file. The right thing to do is make 2 packages, one for i386 and one for amd64. The amd64 packages should depend on the necessary 32-bit libraries like ia32-libs. -- Leandro Lucarella (AKA luca

Re: 64-bit support (Was: Poll: Primary D version)

2010-05-24 Thread Leandro Lucarella
a huge .zip with the binaries for all platforms is not ideal either. In Linux you have to make the binaries executables. The only straighforward option for Linux is the .deb, but it's only straightforward for Ubuntu 32-bits, anything else needs some (non-trivial) work. -- Leandro Lucarella (AKA luca

Re: Poll: Primary D version

2010-05-20 Thread Leandro Lucarella
but everything else I've seen is even worse and I don't have time to make a custom one. Oh, yeah! Only USA uses D... Nice =P -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: Default argument values

2010-05-20 Thread Leandro Lucarella
to recompile the client code. The only problem I see is the DLL will still run if it's not recompiled, but that can happen too with other kind of changes (like changes the enum values a function accepts), so this is not a problem present only in default values. -- Leandro Lucarella (AKA luca

Re: Misc questions:- licensing, VC++ IDE compatible, GPGPU, LTCG, QT, SDL

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

Re: dmd 1.061 and 2.046 release

2010-05-15 Thread Leandro Lucarella
Don, el 15 de mayo a las 09:47 me escribiste: Walter Bright wrote: Leandro Lucarella wrote: I saw the patches, and having all hardcoded in the compiler doesn't seems like a good idea =/ I know the hardcoding is probably not the best, but I wanted to try it out to see if it was a good

Re: dmd 1.061 and 2.046 release

2010-05-15 Thread Leandro Lucarella
Walter Bright, el 15 de mayo a las 10:28 me escribiste: Leandro Lucarella wrote: I think the feature could be nice if it needs no configuration at all (it searches the import path and looks for modules where a missing symbol is). The problem with that is often newbies have trouble setting up

Re: dmd 1.061 and 2.046 release

2010-05-14 Thread Leandro Lucarella
happens. I think it'll be clear! I saw the patches, and having all hardcoded in the compiler doesn't seems like a good idea =/ -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD

Re: public import and bugs it causes

2010-05-14 Thread Leandro Lucarella
is to export everything. I think D is missing a feature here, not fixing or mitigating anything. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A

Re: public import and bugs it causes

2010-05-14 Thread Leandro Lucarella
Walter Bright, el 14 de mayo a las 14:54 me escribiste: Leandro Lucarella wrote: Python have import foo.*; and you can controll it the same way you can in D, except that if you don't do any fine control the default is to export everything. I think D is missing a feature here, not fixing

Re: envy for Writing Go Packages

2010-05-09 Thread Leandro Lucarella
Pelle, el 9 de mayo a las 15:39 me escribiste: Satellites works for me. While they download, we could call them meteorites. :) I think it's better to have a short name. What about rocks? ;) Lua has rocks. D'oh! I've used lua a couple of times but never heard about rocks... -- Leandro

Re: envy for Writing Go Packages

2010-05-08 Thread Leandro Lucarella
to use bazaar to do something one time and it was insanely slow. I think your bottleneck will be your internet connection ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: d2tags - converts DMD2's JSON output to Exuberant Ctags format

2010-05-07 Thread Leandro Lucarella
just like exuberant-ctags =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05

Re: Unit tests in D

2010-05-07 Thread Leandro Lucarella
to rdmd prints the dmd invocation before executing it. I wonder why you always pick clever names, what's wrong with --verbose? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: envy for Writing Go Packages

2010-05-07 Thread Leandro Lucarella
a downloadable and installable unit.) Python for this has Eggs, Ruby has Gems, D needs Satellites ;-) Satellites works for me. While they download, we could call them meteorites. :) I think it's better to have a short name. What about rocks? ;) -- Leandro Lucarella (AKA luca

Re: envy for Writing Go Packages

2010-05-07 Thread Leandro Lucarella
d-software easily, which means reaching more people that doesn't have a D compiler, but want to enjoy D software. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00

Re: Apple disallows D-Sources

2010-05-07 Thread Leandro Lucarella
to Apple. Guess what, you are giving your time to Apple. You know Apple is hiring all the nice people you really love making LLVM, don't you? I really hate Apple too, but it's not all bad. So I'd say, give money and time to Apple only where they spend it doing good stugg ;) -- Leandro Lucarella (AKA

Re: Apple disallows D-Sources

2010-05-07 Thread Leandro Lucarella
Kagamin, el 7 de mayo a las 12:28 me escribiste: Leandro Lucarella Wrote: Guess what, you are giving your time to Apple. You know Apple is hiring all the nice people you really love making LLVM, don't you? That's not quite correct. LLVM is not really theirs. MS contributed to Linux

Re: envy for Writing Go Packages

2010-05-07 Thread Leandro Lucarella
that transparently. Already done: http://0install.net/ Too bad (or good?) nobody uses or know it. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6

Re: dmd 1.060 and 2.045 release

2010-05-06 Thread Leandro Lucarella
for smaller variables. There must be other factors you're not considering... Run a profiler. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E

Re: d2tags - converts DMD2's JSON output to Exuberant Ctags format

2010-05-06 Thread Leandro Lucarella
to D2's powerful string handling. Enjoy! http://github.com/Dubhead/d2tags usage: % dmd -Xftags.json foo.d % d2tags tags.json tags % vim -t tags foo.d Great! -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: d2tags - converts DMD2's JSON output to Exuberant Ctags format

2010-05-06 Thread Leandro Lucarella
inclusion within the D distribution, along with rdmd. Thoughts? I think it might be better to add support to the common tools, like exuberant-ctags[1], but having it as part of rdmd or whatever could be nice too. [1] http://ctags.sourceforge.net/ -- Leandro Lucarella (AKA luca

Re: Unit tests in D

2010-05-06 Thread Leandro Lucarella
implementation extensions). Is really ugly and make you feel it won't work in another compiler! This goes too for __gshared (and I don't remember if there is anything else). -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Unit tests in D

2010-05-06 Thread Leandro Lucarella
bearophile, el 6 de mayo a las 12:43 me escribiste: Leandro Lucarella: Please, remove the leading __ from features that are standard (as oposed from implementation extensions). I appreciate Walter's decision to use those __names: it allows us to use and try a feature now, it allows

Re: dmd 1.060 and 2.045 release

2010-05-05 Thread Leandro Lucarella
(debugging tracker) closed :) I agree that getting all the gdb issues sorted out will be a nice win. Specially now that GDB will support D natively! -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: Improving Compiler Error Messages

2010-05-02 Thread Leandro Lucarella
using \n as a terminator, you have to add a continuation character to span a statemente in multiple lines (or be smart as Python does when you have a non-closed parethesis, or Ruby and Go do with ending operators). -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: GDB Patched

2010-04-30 Thread Leandro Lucarella
accepted, it is now in the source tree, and will be in the 7.2 release of GDB :D Yeap! I've updated the blog post :) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00

Re: Things I Learned from ACCU 2010

2010-04-23 Thread Leandro Lucarella
to be almost an expert to tune that programs to make the run fast. Ask bearophile and dschima for examples =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C

Re: Things I Learned from ACCU 2010

2010-04-23 Thread Leandro Lucarella
someone who has never used D before to do a live presentation on it and come to premature conclusions like this? Like using one of the corner cases where the GC really sucks. =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: [gdb] Pushing the D patches upstream (again)

2010-04-22 Thread Leandro Lucarella
close to inclusion (as he said). I've updated the bug reports with this information. I hope we have good news soon ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7

Re: Patches, bottlenecks, OpenSource

2010-04-19 Thread Leandro Lucarella
forward toward Open Sourcing D development style :-) In future such right can be given to other few good people that have shown to deserve enough trust. I agree that having more people with some kind of commit access would improve the situation. -- Leandro Lucarella (AKA luca

Re: [gdb] Pushing the D patches upstream (again)

2010-04-19 Thread Leandro Lucarella
the status of the paperwork b) Get the patch up to scratch and resubmit it As Leandro Lucarella was heading up the efforts last time, he is probably the best person to talk to about part a. All I know is in the bugs comments. I was waiting from some sort of GDB/FSF response before starting

Re: storing the hash multiplier instead of the hash value

2010-03-23 Thread Leandro Lucarella
... This was of course the first thing Walter and I discussed. It turns out that that would necessitate precise GC, which we don't have yet. Well... there is an implementation hanging in bugzilla... -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: LDC 0.9.2 released

2010-03-20 Thread Leandro Lucarella
dependencies, this release incorporates a wealth of fixes and improvements by Benjamin Kramer, Frits van Bommel, Kelly Wilson, Leandro Lucarella, Matti Niemenmaa, Moritz Warning, Robert Clipsham, Tomas Lindquist Olsen and me. Linux x86-64 download: http://www.incasoftware.de/~kamm/ldc/ldc

Re: covariant final interface functions

2010-03-19 Thread Leandro Lucarella
using it, you know all the methods are being called on the *same* object, if you do x.add(y).add(z), the second add could be called in an object other than x. -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: order of static constructor execution

2010-03-14 Thread Leandro Lucarella
for instance)? That has the same end effect but for only a little more work, removes any non-determinism and allows for easy control of how things are resolved. Yei! Weak imports (like weak references =P) -- Leandro Lucarella (AKA luca) http://llucax.com.ar

Re: dmd 1.057 and 2.041 release

2010-03-10 Thread Leandro Lucarella
, 3.0] Thiis is good for both serialization and debugging (it' unambiguous, mandatory for serialization, and a littl verbose but clear for debugging). And if sometime in the future we get a D parser in the stdlib, deserialization is trivial =). -- Leandro Lucarella (AKA luca

Re: Is D a cult?

2010-03-07 Thread Leandro Lucarella
Walter Bright, el 7 de marzo a las 11:17 me escribiste: - Tuples (no auto-folding, real product types) Tuples can be better, I agree. Is nice to see that at least now you recognize that tuples can use some improvement. -- Leandro Lucarella (AKA luca) http

Re: A rationale for pure nothrow --- @pure @nothrow (and nothing else changes)

2010-02-28 Thread Leandro Lucarella
to justify it =) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ -- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) --

<    1   2   3   4   5   6   7   8   9   10   >