Re: Goodbye, garbage collector!

2011-09-29 Thread Gor Gyolchanyan
This is so cool! Thanks! I'll look into it! On Thu, Sep 29, 2011 at 7:18 AM, Marco Leise wrote: > Am 28.09.2011, 14:14 Uhr, schrieb Dmitry Olshansky : > >> On 28.09.2011 14:30, Gor Gyolchanyan wrote: >>> >>> I'm asking for std.allocator to be used in the language to be able to >>> use graphics ca

Re: Goodbye, garbage collector!

2011-09-28 Thread Marco Leise
Am 28.09.2011, 14:14 Uhr, schrieb Dmitry Olshansky : On 28.09.2011 14:30, Gor Gyolchanyan wrote: I'm asking for std.allocator to be used in the language to be able to use graphics card memory when doing image processing. I would like to create allocators for allocating graphics card memory. Per

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
Cool! A ready OO-wrapper. Thanks. I agree, the best-performance GPGPU code needs fine tuning (although any kind of computation on giant arrays of floats is much faster on a GPU, then on a multi-threaded CPU). That's why i want my data structures and computation to be fine-tunable in respect of hard

Re: Goodbye, garbage collector!

2011-09-28 Thread Trass3r
Read news, specs, presentations about it. Have a clear overall understanding of it. Downloaded the API recently. Went through examples. Well GPGPU only comes with big performance gains if you hand-tune the (kernel and API interaction) code. Normally you even have to optimize it for specific GP

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
Something similar to GPU vector type, but more general. Instead of GPU - any desired device, available ATM. instead of vector - any data type, supported by OpenCL. The whole point is to hide OpenCL under intuitive D-interface, so that the GPU data and computation would be as close to CPU (D) comput

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
Read news, specs, presentations about it. Have a clear overall understanding of it. Downloaded the API recently. Went through examples. Gonna try making hello world examples. On Wed, Sep 28, 2011 at 4:27 PM, Trass3r wrote: >> I would then use that graphics memory allocator with built-in arrays >>

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
Great idea! I never new, that it's possible to intercept GC calls! On Wed, Sep 28, 2011 at 4:18 PM, Martin Nowak wrote: > On Wed, 28 Sep 2011 13:12:39 +0200, Gor Gyolchanyan > wrote: > >> I got the point. >> This boils down to the same issue of "is the feature worth changing >> the language". >>

Re: Goodbye, garbage collector!

2011-09-28 Thread Trass3r
I would then use that graphics memory allocator with built-in arrays and send those arrays over to some image processing algorithms. Having such awesome integration with graphics hardware will lure lots of graphics programmers over to D. The back-end for that allocator will probably be OpenCL, as

Re: Goodbye, garbage collector!

2011-09-28 Thread Martin Nowak
On Wed, 28 Sep 2011 13:12:39 +0200, Gor Gyolchanyan wrote: I got the point. This boils down to the same issue of "is the feature worth changing the language". a GraphicsCardAllocator would still be very useful, even if it would force you to use custom array types. You can use any raw memory

Re: Goodbye, garbage collector!

2011-09-28 Thread Dmitry Olshansky
On 28.09.2011 14:30, Gor Gyolchanyan wrote: I'm asking for std.allocator to be used in the language to be able to use graphics card memory when doing image processing. I would like to create allocators for allocating graphics card memory. Perhaps even texture memory. This would allow one to direc

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
I got the point. This boils down to the same issue of "is the feature worth changing the language". a GraphicsCardAllocator would still be very useful, even if it would force you to use custom array types. I looked at the programming paradigms, that D added on top of those, taken from C++, includi

Re: Goodbye, garbage collector!

2011-09-28 Thread Kagamin
Gor Gyolchanyan Wrote: > I have a question about switching to 100% manual memory management. > I know how it should be done with structs and classes: override the > new and delete. > But i don't know how to do it for arrays, associative arrays, stack > frames for delegates and all other instances

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
I'm asking for std.allocator to be used in the language to be able to use graphics card memory when doing image processing. I would like to create allocators for allocating graphics card memory. Perhaps even texture memory. This would allow one to directly operate on pixels on the graphics card and

Re: Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
I assume when the allocators come along, the flexibility of those constructs will increase, no? Also, wouldn't it be cleaner to allow reuse of the incredibly convenient syntax of built-in arrays and enable one to replace it's allocators? Some properties, maybe? Something like this: - int[] arr

Re: Goodbye, garbage collector!

2011-09-28 Thread Bernard Helyer
Using Array!T in place of T[] would work, if you don't mind malloc/free. Also, overriding new and delete (and delete itself) are going -- relying on them is not advisable. Use emplace and clear, instead.

Goodbye, garbage collector!

2011-09-28 Thread Gor Gyolchanyan
I have a question about switching to 100% manual memory management. I know how it should be done with structs and classes: override the new and delete. But i don't know how to do it for arrays, associative arrays, stack frames for delegates and all other instances of implicit memory allocation. Is

Re: Goodbye

2009-10-17 Thread Chris Nicholson-Sauls
AJ wrote: Chris Nicholson-Sauls wrote: The most important thing is remembering that black text on a white screen carries absolutely no emotional information whatsoever, in either direction, in any case. 1 <-- "panic"! THAT DOES NOT COMPUTE! DANGER, DANGER, Will Robinson! Also remember: R

Re: Goodbye

2009-10-16 Thread AJ
Andrei Alexandrescu wrote: > Jarrett Billingsley wrote: >> I'm done. After seeing how Andrei is behaving, I really am done. Bye. > > Relax. Walter and I are in touch and always agree in advance about the > features that need to be present in the language by the time the book > is in print. It's not

Re: Goodbye

2009-10-16 Thread AJ
Chris Nicholson-Sauls wrote: > The most important thing is remembering that black text on a white > screen carries absolutely no emotional information whatsoever, in > either direction, in any case. 1 <-- "panic"! THAT DOES NOT COMPUTE! DANGER, DANGER, Will Robinson!

Re: Goodbye

2009-10-16 Thread AJ
Yigal Chripun wrote: > not all men are born equal

Re: Goodbye

2009-10-16 Thread AJ
Walter Bright wrote: > Nick Sabalausky wrote: >> Bios usually are self-written (how would the publisher know the >> author's strengths better and be able to write about it better than >> the author themself?), and the whole point of them is to make the >> person look good to help sell a book (or wh

Re: Goodbye

2009-10-14 Thread Nick Sabalausky
"Chris Nicholson-Sauls" wrote in message news:hb5bnq$1k4...@digitalmars.com... > > The most important thing is remembering that black text on a white screen > carries absolutely no emotional information whatsoever, in either > direction, in any case. Thank goodness I use white text on a black

Re: Goodbye

2009-10-14 Thread Saaa
Chris Nicholson-Sauls wrote > > The most important thing is remembering that black text on a white screen > carries absolutely no emotional information whatsoever, in either > direction, in any case. The exception that proves the rule, of course, is > ZOMG NERD RAGE ALLCAPS. Otherwise, there'

Re: Goodbye

2009-10-14 Thread Chris Nicholson-Sauls
Saaa wrote: "Yigal Chripun" wrote in message news:hb2u2n$2if...@digitalmars.com... On 13/10/2009 20:24, Saaa wrote: Yigal Chripun wrote ego has nothing to do with being smart. you can be extremely smart without getting on people's nerves all the time. A smart person can choose when to get o

Re: Goodbye

2009-10-13 Thread Saaa
"Yigal Chripun" wrote in message news:hb2u2n$2if...@digitalmars.com... > On 13/10/2009 20:24, Saaa wrote: >> Yigal Chripun wrote >> >>> >>> ego has nothing to do with being smart. >>> you can be extremely smart without getting on people's nerves all the >>> time. >> >> A smart person can choose

Re: Goodbye

2009-10-13 Thread Yigal Chripun
On 13/10/2009 20:24, Saaa wrote: Yigal Chripun wrote ego has nothing to do with being smart. you can be extremely smart without getting on people's nerves all the time. A smart person can choose when to get on somebody's nerves ;) The bible says about Noah that he was the most just and m

Re: Goodbye

2009-10-13 Thread Mike L.
Jarrett Billingsley Wrote: > "Nick B" wrote in message > news:hb03jf$24d...@digitalmars.com... > > Jarrett Billingsley wrote: > >> "Jarrett Billingsley" wrote in message > >> news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... > >>> I'm done. After seeing how Andrei is behaving, I

Re: Goodbye

2009-10-13 Thread Johansonn P. Wildebeast III
Jarrett Billingsley Wrote: > I'm done. After seeing how Andrei is behaving, I really am done. Bye. It's what we call in UK 'handbags at 10 paces'.

Re: Goodbye

2009-10-13 Thread Saaa
Yigal Chripun wrote > > ego has nothing to do with being smart. > you can be extremely smart without getting on people's nerves all the > time. A smart person can choose when to get on somebody's nerves ;)

Re: Goodbye

2009-10-12 Thread Yigal Chripun
On 12/10/2009 23:27, Nick Sabalausky wrote: "Jarrett Billingsley" wrote in message news:hb04m4$2a9...@digitalmars.com... "Nick B" wrote in message news:hb03jf$24d...@digitalmars.com... Jarrett Billingsley wrote: "Jarrett Billingsley" wrote in message news:mailman.175.1255377931.20261.digita

Re: Goodbye

2009-10-12 Thread Walter Bright
Nick Sabalausky wrote: Bios usually are self-written (how would the publisher know the author's strengths better and be able to write about it better than the author themself?), and the whole point of them is to make the person look good to help sell a book (or whatever else). They're mini-resu

Re: Goodbye

2009-10-12 Thread Nick Sabalausky
"Jarrett Billingsley" wrote in message news:hb04m4$2a9...@digitalmars.com... > "Nick B" wrote in message > news:hb03jf$24d...@digitalmars.com... >> Jarrett Billingsley wrote: >>> "Jarrett Billingsley" wrote in message >>> news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... I

Re: Goodbye

2009-10-12 Thread Nick B
Jarrett Billingsley wrote: "Nick B" wrote in message news:hb03jf$24d...@digitalmars.com... Jarrett Billingsley wrote: "Jarrett Billingsley" wrote in message news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... I'm done. After seeing how Andrei is behaving, I really am done. Bye.

Re: Goodbye

2009-10-12 Thread Andrei Alexandrescu
Jarrett Billingsley wrote: "Nick B" wrote in message news:hb03jf$24d...@digitalmars.com... Jarrett Billingsley wrote: "Jarrett Billingsley" wrote in message news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... I'm done. After seeing how Andrei is behaving, I really am done. Bye.

Re: Goodbye

2009-10-12 Thread Piotrek
Jarrett Billingsley pisze: I'm done. After seeing how Andrei is behaving, I really am done. Bye. Although i see your point it would be a real pity to go away because of such a reason. Don't you find any excuse for him? I believe he is working hard for community. Can we blame anyone for lo

Re: Goodbye

2009-10-12 Thread Jarrett Billingsley
"Nick B" wrote in message news:hb03jf$24d...@digitalmars.com... > Jarrett Billingsley wrote: >> "Jarrett Billingsley" wrote in message >> news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... >>> I'm done. After seeing how Andrei is behaving, I really am done. Bye. >> >> Just to clar

Re: Goodbye

2009-10-12 Thread Andrei Alexandrescu
ts. But as far as D and its development goes, I am well and truly finished. You do your thing, Andrei. Have fun. For the record, and before you go off into the sunset, what exactly, are you objecting to ? I confess I have the same question. I mean, I do think I behaved like a drama queen,

Re: Goodbye

2009-10-12 Thread Nick B
Jarrett Billingsley wrote: "Jarrett Billingsley" wrote in message news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... I'm done. After seeing how Andrei is behaving, I really am done. Bye. Just to clarify, yes, I will still maintain my current projects. But as far as D and its de

Re: Goodbye

2009-10-12 Thread Jarrett Billingsley
"Jarrett Billingsley" wrote in message news:mailman.175.1255377931.20261.digitalmar...@puremagic.com... > I'm done. After seeing how Andrei is behaving, I really am done. Bye. Just to clarify, yes, I will still maintain my current projects. But as far as D and its development goes, I am well an

Re: Goodbye

2009-10-12 Thread Andrei Alexandrescu
Jarrett Billingsley wrote: I'm done. After seeing how Andrei is behaving, I really am done. Bye. Relax. Walter and I are in touch and always agree in advance about the features that need to be present in the language by the time the book is in print. It's not like I come up with stuff and the

Re: Goodbye

2009-10-12 Thread Ary Borenszweig
Jarrett Billingsley wrote: I'm done. After seeing how Andrei is behaving, I really am done. Bye. Eveyrone knows you'll be peeking the newsgroup anyway. :-P

Re: Goodbye

2009-10-12 Thread Jarrett Billingsley
"Ary Borenszweig" wrote in message news:hb02kk$259...@digitalmars.com... > Jarrett Billingsley wrote: >> I'm done. After seeing how Andrei is behaving, I really am done. Bye. > > Eveyrone knows you'll be peeking the newsgroup anyway. :-P I've removed my mailing list subscriptions. I'll respond a

Goodbye

2009-10-12 Thread Jarrett Billingsley
I'm done. After seeing how Andrei is behaving, I really am done. Bye.