August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Rory Mcguire | Rory Mcguire, el 4 de agosto a las 18:38 me escribiste: > >> What type of apps are you looking for? > > > > Anything that can be automatically run for benchmarking, if they do intensive use of the GC or need small pauses, much better. But if it's D2, I'm sorry but is too late, I'll stick to D1 for now, when I'm finish I probably try to port it to D2 and ask again. > > > >> I have a couple of smtp apps. > > > > SMTP as in Simple Mail Transfer Protocol? > > yes. > > I have a threaded smtp benchmark app and an smtp blackhole server, for instance. > > I use them to benchmark my java smtp server. I'll try find my D1 stuff if you would like it. If it's D1/Tango, yes, I would be interested. Thank you. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Con vos hay pica, patovica! -- Sidharta Kiwi | |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | Nick Sabalausky, el 4 de agosto a las 12:51 me escribiste: > >> What type of apps are you looking for? > > > > Anything that can be automatically run for benchmarking, if they do intensive use of the GC or need small pauses, much better. But if it's D2, I'm sorry but is too late, I'll stick to D1 for now, when I'm finish I probably try to port it to D2 and ask again. > > Building Goldie's documentation (it uses a custom doc generator) using "makeDocs" might work: > > http://www.semitwist.com/goldiedocs/v0.3/Docs/Tools/GenDocs/ > > There's a number of places in it right now where it uses .dup to work around D1's lack of D2-style const. And with the default settings in the "makeDocs" script (it's just a one-liner), it does a fair amount of string-building via the concatenation operator. Yea, I need to optimize ;) On my (aging) system the whole thing currently takes 20 seconds to run. It does do a bit of file I/O though, I don't know if that would get in the way of what you're trying to measure. > > You'd have to install Goldie (and SemiTwist D Tools) first: > > http://www.semitwist.com/goldiedocs/v0.3/Docs/Install/ Thanks I'll see if it's not much trouble to install, I'd like to build a benchmark without tons of dependencies. > I think people have generally been avoiding writing GC-intensive code in D though. Although, come to think of it, bearophile could probably supply you with some deliberately GC-intensive code specifically for benchmarking. Yes, I borrowed some deliberately GC-intensive benchmarks done by him, most notably the voronoi generator[1], which made me sweat[2] more than once :) [1] http://codepad.org/xGDCS3KO [2] http://llucax.com.ar/blog/blog/post/-7a56a111 -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Be nice to nerds Chances are you'll end up working for one | |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Leandro Lucarella | Leandro Lucarella: > Yes, I borrowed some deliberately GC-intensive benchmarks done by him, most notably the voronoi generator[1], which made me sweat[2] more than once :) On my site you can find four other Olden benchmarks: em3d tsp bisort bh http://bit.ly/cYlQUe And I hope to add one or two more when time allows me to :-) Probably they are D2 code, but probably converting them to D1 is not hard. The versions fitter for you are the first ones translated from Java to D, because the optimized versions minimize the heap activity to increase performance (and the speed difference is usually large). Bye, bearophile | |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Leandro Lucarella | "Leandro Lucarella" <luca@llucax.com.ar> wrote in message news:20100804192922.GM21917@llucax.com.ar... > Nick Sabalausky, el 4 de agosto a las 12:51 me escribiste: >> >> What type of apps are you looking for? >> > >> > Anything that can be automatically run for benchmarking, if they do >> > intensive use of the GC or need small pauses, much better. But if it's >> > D2, I'm sorry but is too late, I'll stick to D1 for now, when I'm >> > finish >> > I probably try to port it to D2 and ask again. >> >> Building Goldie's documentation (it uses a custom doc generator) using >> "makeDocs" might work: >> >> http://www.semitwist.com/goldiedocs/v0.3/Docs/Tools/GenDocs/ >> >> There's a number of places in it right now where it uses .dup to work >> around >> D1's lack of D2-style const. And with the default settings in the >> "makeDocs" >> script (it's just a one-liner), it does a fair amount of string-building >> via >> the concatenation operator. Yea, I need to optimize ;) On my (aging) >> system >> the whole thing currently takes 20 seconds to run. It does do a bit of >> file >> I/O though, I don't know if that would get in the way of what you're >> trying >> to measure. >> >> You'd have to install Goldie (and SemiTwist D Tools) first: >> >> http://www.semitwist.com/goldiedocs/v0.3/Docs/Install/ > > Thanks I'll see if it's not much trouble to install, I'd like to build a benchmark without tons of dependencies. > If you do have any troubles installing, please let me know. I want to try to keep it as easy as possible. The standard build system used does require xfbuild or rebuild ATM, but that's only because the rdmd included with D1 is still out-of-date and has a certain blocking bug that was fixed in trunk a few months ago. If you really don't want to use xfbuild or rebuild, you *probably* can get the latest trunk rdmd and change the build scripts to call stbuild with "-tool:rdmd" instead of "-tool:xf" or "-tool:re". | |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Leandro Lucarella | On 04/08/10 00:18, Leandro Lucarella wrote: > BCS, el 3 de agosto a las 16:04 me escribiste: >> The video is up: >> >> http://www.youtube.com/watch?v=RlVpPstLPEc > > Nice talk, I think the guy that asked what is the biggest application > written in D deserved a book. I'm suffering the lack of D applications > for benchmarking the GC, I had to stay with D1 because Dil is the *only* > non-trivial application written in D that I could find, and is D1/Tango. > I know of several large apps written in D, they're all D1/Tango. -- Robert http://octarineparrot.com/ | |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | Steven Schveighoffer:
> Hm... let me see: http://lists.puremagic.com/pipermail/phobos/2010-July/001480.html I think this is what started the discussion.
Thank you for the link. I have read all the long thread and this time my hero is Leandro Lucarella :-)
Bye,
bearophile
| |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile, el 4 de agosto a las 16:25 me escribiste: > Leandro Lucarella: > > Yes, I borrowed some deliberately GC-intensive benchmarks done by him, most notably the voronoi generator[1], which made me sweat[2] more than once :) > > On my site you can find four other Olden benchmarks: > em3d > tsp > bisort > bh > http://bit.ly/cYlQUe > > And I hope to add one or two more when time allows me to :-) > > Probably they are D2 code, but probably converting them to D1 is not hard. The versions fitter for you are the first ones translated from Java to D, because the optimized versions minimize the heap activity to increase performance (and the speed difference is usually large). Thanks, that would be the xxx01.d I guess, right? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Qué sabía Galileo de astronomía, Mendieta! Lo que pasa es que en este país habla cualquiera. -- Inodoro Pereyra | |||
August 04, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Leandro Lucarella | Leandro Lucarella:
> Thanks, that would be the xxx01.d I guess, right?
Right, generally. Inside each zip there is usually a text file that explains what each file/version is, and more. Some of those readme contain enough material to write a paper about :-)
Bye,
bearophile
| |||
August 05, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Robert Clipsham | Robert Clipsham, el 4 de agosto a las 22:16 me escribiste: > On 04/08/10 00:18, Leandro Lucarella wrote: > >BCS, el 3 de agosto a las 16:04 me escribiste: > >>The video is up: > >> > >>http://www.youtube.com/watch?v=RlVpPstLPEc > > > >Nice talk, I think the guy that asked what is the biggest application written in D deserved a book. I'm suffering the lack of D applications for benchmarking the GC, I had to stay with D1 because Dil is the *only* non-trivial application written in D that I could find, and is D1/Tango. > > > > I know of several large apps written in D, they're all D1/Tango. Public? -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Can you stand up? I do believe it's working, good. That'll keep you going through the show Come on it's time to go. | |||
August 05, 2010 Re: Andrei's Google Talk | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Robert Clipsham | On 08/04/2010 05:16 PM, Robert Clipsham wrote:
>
> I know of several large apps written in D, they're all D1/Tango.
The incomplete state of D2 has to be the most embarrassing question that could have been asked at Andrei's talk, but then you'd have to be familiar with D to ask that question. Andrei likes to talk about presentations showing only what's good, but he gave a whole talk about an incomplete language while hawking his book for said language, but made no mention of D1 vs D2.
People often ask for a status, but there never seems to be good answers. Where's the roadmap? What's being worked on? What's left to fix? Is there a release date that's being worked towards? It used to coincide with the release of Andrei's book, but that has come and gone.
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply