Re: D Conference 2012
On Tuesday, 27 March 2012 at 21:29:08 UTC, Walter Bright wrote: The web site is up now: http://www.astoriaseminar.com See you all there! Someday, when I'm rich and famous, I'll be able to afford to travel to such things. For now, I must play the flightless kiwi and request lots of pictures and videos!
Thrift now officially supports D!
Apache Thrift is a cross-language serialization/RPC framework. During last year's Google Summer of Code, I worked on adding D as a target language – and a few days ago, the D implementation has been accepted into the upstream project! You can find a short overview of the capabilities of the library and the obligatory collection of source/doc links at my blog: http://klickverbot.at/blog/2012/03/thrift-now-officially-supports-d/ David
D Conference 2012
The web site is up now: http://www.astoriaseminar.com See you all there!
Re: Adam Wilson is now a GSoC 2012 mentor!
On Tuesday, 27 March 2012 at 18:06:03 UTC, Adam Wilson wrote: Besides, Mono-D has more pressing issues than a potential stand-alone IDE ... CTFE/mixin parsing anybody? Well, I think the GSoC phase will be about implementing UFCS, Mixin/Expression evaluation and CTFE then. Well cool, so I found the key features that I'll do for Mono-D. I'll prepare an application document then - so I probably will hand it in to the digitalmars heads tomorrow or on thursday, dunno exactly :)
Re: Adam Wilson is now a GSoC 2012 mentor!
On 2012-03-27 20:05, Adam Wilson wrote: To be a fully useable *D* IDE this is true, but that's not really an Integrated Development Environment, its just Yet Another Specialized Development Environment. I'd argue that the whole point of the "Integrated" part of IDE is that everything you might possibly need to do your job is one place specifically so you don't have to go hunt down that other software package you only need every couple of months. And I'm not saying that we shouldn't have an IDE written in D, just that it's not the best path at the moment, and regardless of the purity folks "everything must be written in D!" tirades, integrating D into MonoDevelop represents the best way to get devs using D right now. Also, the D GUI situation leaves a lot to be desired in terms of complex UI's like IDE's. Besides, Mono-D has more pressing issues than a potential stand-alone IDE ... CTFE/mixin parsing anybody? I agree with you. If you want to use the same IDE for EVERYTHING than that will take a lot more work. In that case I don't see much point in reinventing the wheel when we have MonoDevelop and Eclipse. But I think an IDE can be for one language and still be called IDE, although others might call it a glorified text editor. -- /Jacob Carlborg
Re: Pegged: Syntax Highlighting
On Tue, Mar 27, 2012 at 16:41, Andrej Mitrovic wrote: > On 3/17/12, Philippe Sigaud wrote: >> If ddmd-clean is OK for you, that's cool. Keep us informed how that went. > > Seems to work ok: http://i.imgur.com/qGVZD.png Nice one. Care to explain how you did it?
Re: Adam Wilson is now a GSoC 2012 mentor!
On Tue, 27 Mar 2012 09:38:33 -0700, Jacob Carlborg wrote: On 2012-03-27 00:00, Adam Wilson wrote: Mono is over a million, Visual Studio is almost as much as the Windows Kernel (5m+ IIRC), and Eclipse ... well I don't what they are doing wrong over there but the bloat is epic. In other words, a good IDE is a massively complicated beast. Integrations are much quicker and we don't have to reinvent the wheel all over the place. I agree that an writing an IDE will be a massive project. But it doesn't have to be as complicated as Eclipse or MonoDevelop. These support plugins to add support for new languages, Eclipse contains support for UML diagrams and similar things. Not something that is needed to make a fully usable D IDE. To be a fully useable *D* IDE this is true, but that's not really an Integrated Development Environment, its just Yet Another Specialized Development Environment. I'd argue that the whole point of the "Integrated" part of IDE is that everything you might possibly need to do your job is one place specifically so you don't have to go hunt down that other software package you only need every couple of months. And I'm not saying that we shouldn't have an IDE written in D, just that it's not the best path at the moment, and regardless of the purity folks "everything must be written in D!" tirades, integrating D into MonoDevelop represents the best way to get devs using D right now. Also, the D GUI situation leaves a lot to be desired in terms of complex UI's like IDE's. Besides, Mono-D has more pressing issues than a potential stand-alone IDE ... CTFE/mixin parsing anybody? -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Re: Adam Wilson is now a GSoC 2012 mentor!
On 2012-03-27 00:00, Adam Wilson wrote: Mono is over a million, Visual Studio is almost as much as the Windows Kernel (5m+ IIRC), and Eclipse ... well I don't what they are doing wrong over there but the bloat is epic. In other words, a good IDE is a massively complicated beast. Integrations are much quicker and we don't have to reinvent the wheel all over the place. I agree that an writing an IDE will be a massive project. But it doesn't have to be as complicated as Eclipse or MonoDevelop. These support plugins to add support for new languages, Eclipse contains support for UML diagrams and similar things. Not something that is needed to make a fully usable D IDE. -- /Jacob Carlborg
Re: avgtime - Small D util for your everyday benchmarking needs
On 23/03/12 16:25, Andrei Alexandrescu wrote: On 3/23/12 12:51 AM, Manfred Nowak wrote: Andrei Alexandrescu wrote: You may want to also print the mode of the distribution, nontrivial but informative In case of this implementation and according to the given link: trivial and noninformative, because | For samples, if it is known that they are drawn from a symmetric | distribution, the sample mean can be used as an estimate of the | population mode. and the program computes the variance as if the values of the sample follow a normal distribution, which is symmetric. Therefore the mode of the sample is of interest only, when the variance is calculated wrongly. Again, benchmarks I've seen are always asymmetric. Not sure why those shown here are symmetric. The mode should be very close to the minimum (and in fact I think taking the minimum is a pretty good approximation of the sought-after time). Andrei Agreed, I think situations where you would get a normal distribution are rare in benchmarking code. Small sections of code always have a best-case scenario, where there are no cache misses. If there are task switches, the best case is zero task switches. If you use the CPU performance counters, you can identify the *cause* of performance variations. When I've done this, I've always been able to get very stable numbers
Re: Pegged: Syntax Highlighting
On 3/17/12, Philippe Sigaud wrote: > If ddmd-clean is OK for you, that's cool. Keep us informed how that went. Seems to work ok: http://i.imgur.com/qGVZD.png I'd love to see if I can do it with Pegged too. I've yet to see how Pegged works internally though and whether I can expose a nice API for this one purpose.
Re: Walter on reddit with an older article
Le 23/03/2012 19:52, Andrei Alexandrescu a écrit : http://www.reddit.com/r/programming/comments/r9p4c/walter_bright_on_c_compilation_speed/ Andrei Interesting. I would love to a comparison of this and what mixin cause the compiler to do.