Re: GoingNative 2012 to be livestreamed tomorrow

2012-02-03 Thread deadalnix
Le 02/02/2012 03:07, Andrei Alexandrescu a écrit : I'm announcing this here because inevitably D will be mentioned during the panel with Bjarne Stroustrup, Herb Sutter, Hans Boehm, and myself. See you online!

Re: GoingNative 2012 to be livestreamed tomorrow

2012-02-03 Thread deadalnix
Le 03/02/2012 15:56, David a écrit : Am 03.02.2012 14:20, schrieb deadalnix: Le 02/02/2012 03:07, Andrei Alexandrescu a écrit : I'm announcing this here because inevitably D will be mentioned during the panel with Bjarne Stroustrup, Herb Sutter, Hans Boehm, and myself. See you online! http

Re: 4x speedup of recursive rmdir in std.file

2012-02-07 Thread deadalnix
Le 05/02/2012 18:38, Andrei Alexandrescu a écrit : On 2/5/12 10:16 AM, Nick Sabalausky wrote: Jay Norwoodj...@prismnet.com wrote in message news:jgm5vh$hbe$1...@digitalmars.com... == Quote from Nick Sabalausky (a@a.a)'s article Interesting. How does it perform when just running on one core?

Re: A tutorial on D templates

2012-02-08 Thread deadalnix
Le 14/01/2012 19:26, Walter Bright a écrit : On 1/14/2012 12:36 AM, Jonathan M Davis wrote: I confess that it's a bit of a pet peeve of mine when people insist on avoiding words like you and your. I completely disagree that it's a problem. And there are times where avoiding it can cause

Re: A tutorial on D templates

2012-02-08 Thread deadalnix
Le 14/01/2012 19:36, Walter Bright a écrit : Another issue is Kindle is black white, so while the colored text does make it better, it should still be usable if rendered in black white (which should be done anyway, as many people are color blind). A good practice is to back up coloring with

Re: I wrote A starting guide for Newbies

2012-02-09 Thread deadalnix
Le 08/02/2012 16:32, MattCodr a écrit : Hi guys, I decided to wrote a starting guide for newbies and newcomers with D Language. It's a really simple and basic introduction for those who may be a little lost like me when I started. It's a PDF file format and can be seen accessing the link

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread deadalnix
Le 15/02/2012 09:11, Jacob Carlborg a écrit : On 2012-02-15 08:38, Bill Baxter wrote: On Tuesday, February 14, 2012 20:47:27 Walter Bright wrote: * Allow 1.userproperty syntax Where is this odd-sounding beast documented? And what is UFCS? --bb Uniform Function Call Syntax. Which

Re: dmd 1.073 and 2.058 release

2012-02-15 Thread deadalnix
Le 15/02/2012 05:47, Walter Bright a écrit : Anyone care to count up the number of bug fixes here? http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.073.zip http://www.digitalmars.com/d/2.0/changelog.html

Re: GoingNative 6: The D Episode with Walter Bright and Andrei Alexandrescu

2012-02-22 Thread deadalnix
Le 22/02/2012 13:58, Daniel Murphy a écrit : Walter Brightnewshou...@digitalmars.com wrote in message news:ji1dfl$17ha$1...@digitalmars.com... http://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-6-The-D-Episode-with-Walter-Bright-and-Andrei-Alexandrescu Sounds like I should finish my

Re: Programming in D book, Parallelism chapter

2012-02-22 Thread deadalnix
Le 20/02/2012 08:12, Ali Çehreli a écrit : I have continued working on the book. 1) Translated the Parallelism chapter: http://ddili.org/ders/d.en/parallelism.html 2) Translated more chapters from the beginning of the book: * Redirecting Standard Input and Output Streams * Files * auto and

Re: Inheriting purity DDJ blog by Walter on reddit

2012-02-23 Thread deadalnix
Le 23/02/2012 18:27, Andrei Alexandrescu a écrit : http://www.reddit.com/r/programming/comments/q2pmd/inheriting_purity_in_the_d_programming_language/ Andrei I'm still not convinced by const (this can lead to very confusing cases), but for everything else, this is great job.

Re: Our second mentor: Alex Rønne Petersen

2012-03-04 Thread deadalnix
Le 04/03/2012 21:52, Andrei Alexandrescu a écrit : Please join me in welcoming Alex Rønne Petersen as a mentor! We believe he will bring great expertise and value to our ranks. Andrei What does that imply in practice ?

Re: Our second mentor: Alex Rønne Petersen

2012-03-04 Thread deadalnix
Le 04/03/2012 22:45, Andrei Alexandrescu a écrit : On 3/4/12 3:08 PM, deadalnix wrote: Le 04/03/2012 21:52, Andrei Alexandrescu a écrit : Please join me in welcoming Alex Rønne Petersen as a mentor! We believe he will bring great expertise and value to our ranks. Andrei What does that imply

Re: Walter on reddit with an older article

2012-03-27 Thread deadalnix
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.

Re: Thrift now officially supports D!

2012-03-29 Thread deadalnix
Le 28/03/2012 01:16, David Nadlinger a écrit : 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

Re: Linux and D wallpaper :)

2012-03-29 Thread deadalnix
Le 29/03/2012 06:57, James Miller a écrit : On 29 March 2012 17:48, F i Lwitte2...@gmail.com wrote: Don't know if this is the place for this sort of announcement Found a great looking Linux logo over at gnome-look.org by kodama

Re: UFCS for D

2012-03-29 Thread deadalnix
Le 29/03/2012 02:21, Andrei Alexandrescu a écrit : http://www.reddit.com/r/programming/comments/rif9x/uniform_function_call_syntax_for_the_d/ Andrei The example of std.algorithm should have been used. The importance of such a syntax become obvious when using it.

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 11:40, bls a écrit : On 03/30/2012 02:15 AM, Nick Sabalausky wrote: Eh? Other people have voiced concerns over that since waaay back in even pre-D1 times. In particular, many people have argued for allowing modules with the same name as a package. Ie: you could have both module

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 12:57, foobar a écrit : On Friday, 30 March 2012 at 10:22:18 UTC, Walter Bright wrote: On 3/30/2012 2:15 AM, Nick Sabalausky wrote: Andrei and I have talked about it, and we think it is because of difficulties in breaking a module up into submodules of a package. We think it's

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 01:34, Steven Schveighoffer a écrit : On Wed, 28 Mar 2012 21:53:57 -0400, Jesse Phillips jessekphillip...@gmail.com wrote: I won't be going out of my way to check this, but there is a mention of adding the range primatives. This works, but it doesn't make the class a range for

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 04:13, Adam D. Ruppe a écrit : On Friday, 30 March 2012 at 01:55:23 UTC, Nick Sabalausky wrote: wishful musingI've been starting to think more and more that the everything in a module is a friend was a mistake,and that we should have instead just had a module access specifier like

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 14:13, Steven Schveighoffer a écrit : On Fri, 30 Mar 2012 08:10:14 -0400, deadalnix deadal...@gmail.com wrote: I would expect this not to work, because bar isn't defined in module1 and template are supposed to use declaration scope, not instantiation scope (unless it is mixin

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 02:10, Steven Schveighoffer a écrit : On Wed, 28 Mar 2012 20:21:41 -0400, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: http://www.reddit.com/r/programming/comments/rif9x/uniform_function_call_syntax_for_the_d/ Andrei Is anyone else's computer complaining about

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 16:24, Andrei Alexandrescu a écrit : On 3/30/12 3:20 AM, Walter Bright wrote: There has been a trend in Phobos of having some truly gigantic modules. I believe this is indicative of a problem in the language. Andrei and I have talked about it, and we think it is because of

Re: UFCS for D

2012-03-30 Thread deadalnix
Le 30/03/2012 14:52, Steven Schveighoffer a écrit : On Fri, 30 Mar 2012 08:22:12 -0400, deadalnix deadal...@gmail.com wrote: Le 30/03/2012 14:13, Steven Schveighoffer a écrit : On Fri, 30 Mar 2012 08:10:14 -0400, deadalnix deadal...@gmail.com wrote: I would expect this not to work, because

Re: UFCS for D

2012-04-02 Thread deadalnix
Le 31/03/2012 02:25, Walter Bright a écrit : On 3/30/2012 12:36 PM, Walter Bright wrote: On 3/30/2012 12:11 PM, Steven Schveighoffer wrote: On Fri, 30 Mar 2012 14:27:43 -0400, Walter Bright newshou...@digitalmars.com wrote: I would argue that: 3. An extension method for an argument of type

Re: UFCS for D

2012-04-03 Thread deadalnix
Le 02/04/2012 18:00, Jacob Carlborg a écrit : On 2012-04-02 16:31, Don Clugston wrote: To be brutally honest, I don't think that's got much to do with the language. It's got to do with Phobos adopting the Big Ball Of Mud design pattern. There's no reason for the existing modules to be so huge.

Re: OSCON 2012 session: Generic Programming Galore using D

2012-04-04 Thread deadalnix
Le 03/04/2012 16:59, Andrei Alexandrescu a écrit : On 4/3/12 9:42 AM, Jacob Carlborg wrote: On 2012-04-03 16:30, Andrei Alexandrescu wrote: I'm glad to announce that OSCON 2012 (http://oscon.com/oscon2012) has approved my session proposal Generic Programming Galore using D. Hope to see many

Re: Lang.NEXT panel on native languages

2012-04-10 Thread deadalnix
Le 10/04/2012 07:46, Andrei Alexandrescu a écrit : http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Panel-Native-Languages?format=html5 Andrei We want D talks ! 2 of them, but 0 online :'(

Re: Lang.NEXT panel on native languages

2012-04-11 Thread deadalnix
Le 11/04/2012 03:20, Andrei Alexandrescu a écrit : On 4/10/12 3:39 PM, Andrej Mitrovic wrote: On 4/10/12, deadalnixdeadal...@gmail.com wrote: Le 10/04/2012 07:46, Andrei Alexandrescu a écrit : http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2012/Panel-Native-Languages?format=html5 We

Re: Video: Generic Programming Galore using D @ Strange Loop 2011

2012-04-11 Thread deadalnix
Le 11/04/2012 18:23, Andrei Alexandrescu a écrit : http://www.infoq.com/presentations/Generic-Programming-Galore-Using-D Andrei You didn't used the new syntax for closures :'( But nice talk. BTW, it seemed strange to me that you mentioned AST manipulation when talking about mixin, when you

Re: »Haskell vs. D« backstage discussion featuring Andrei and Walter at Lang.NEXT

2012-04-18 Thread deadalnix
Le 18/04/2012 00:49, David Nadlinger a écrit : Another video from Lang.NEXT 2012 went live recently: [1]. Erik Meijer is joined by Andrew Adams-Moran, Walter and Andrei to discuss various topics surrounding D and Haskell. Most of the things covered probably aren't particularly new to most of the

Re: Introducing vibe.d!

2012-04-27 Thread deadalnix
Le 26/04/2012 22:46, Sönke Ludwig a écrit : During the last few months, we have been working on a new framework for general I/O and especially for building extremely fast web apps. It combines asynchronous I/O with core.thread's great fibers to build a convenient, blocking API which can handle

Re: Voldemort Types in D

2012-05-09 Thread deadalnix
Le 09/05/2012 16:30, Andrei Alexandrescu a écrit : http://www.reddit.com/r/programming/comments/telhj/voldemort_types_in_d/ Andrei I read it. writeln(take(generator(5), 10)); = writeln(generator(5).take(10)); UFCS FTW ! Great reading BTW, and I love how ti is named.

Re: Voldemort Types in D

2012-05-10 Thread deadalnix
Le 09/05/2012 21:23, Bernard Helyer a écrit : You've been busy! Looks like you've hit your 2 article limit. Log-in or register for a free account to get unlimited articles and full access to Dr. Dobb's. Sorry doctor, but I don't care about that other article that much. My god, Dr. Dobb's is

Re: DCT: D compiler as a collection of libraries

2012-05-11 Thread deadalnix
Le 11/05/2012 11:31, Roman D. Boiko a écrit : On Friday, 11 May 2012 at 09:02:12 UTC, Jacob Carlborg wrote: If think that the end goal of a project like this, putting a D frontend in Phobos, should be that the compiler should be built using this library. This would result in the compiler and

Re: DCT: D compiler as a collection of libraries

2012-05-11 Thread deadalnix
Le 11/05/2012 12:01, dennis luehring a écrit : Am 11.05.2012 11:33, schrieb Roman D. Boiko: -very fast in parsing/lexing - there need to be a benchmark enviroment from the very start Will add that to May roadmap. are using slices for prevent coping everything around? the parser/lexer need

Re: DCT: D compiler as a collection of libraries

2012-05-11 Thread deadalnix
Le 11/05/2012 14:04, Roman D. Boiko a écrit : That makes sense. Is it possible to switch SDC to the Boost license? I'm trying to keep it for all DCT code. Let me do a clean package of my code this week end. For now it is mixed with SDC source code, which was enough as I was working alone,

Re: DCT: D compiler as a collection of libraries

2012-05-11 Thread deadalnix
Le 11/05/2012 14:14, Roman D. Boiko a écrit : On Friday, 11 May 2012 at 11:47:18 UTC, deadalnix wrote: From the beginning, I'm think AST macro using CTFE. Could you please elaborate? I plan to strictly follow published D specification. Exceptions from this rule are possible provided either

Re: DCT: D compiler as a collection of libraries

2012-05-11 Thread deadalnix
Le 11/05/2012 15:01, Roman D. Boiko a écrit : On Friday, 11 May 2012 at 12:55:58 UTC, Jacob Carlborg wrote: On 2012-05-11 14:07, Roman D. Boiko wrote: On Friday, 11 May 2012 at 11:49:23 UTC, Jacob Carlborg wrote: Found it now, calculateFor. It not sure if it's the most intuitive name

Re: DCT: D compiler as a collection of libraries

2012-05-11 Thread deadalnix
Le 11/05/2012 16:02, Roman D. Boiko a écrit : On Friday, 11 May 2012 at 13:28:21 UTC, deadalnix wrote: Le 11/05/2012 15:01, Roman D. Boiko a écrit : The problem with placing it in Token is that Token should not know anything about source as a whole. I don't really see the benefit

Re: DCT: D compiler as a collection of libraries

2012-05-12 Thread deadalnix
Le 11/05/2012 13:50, Ary Manzana a écrit : On 5/11/12 4:22 PM, Roman D. Boiko wrote: What about line and column information? Indices of the first code unit of each line are stored inside lexer and a function will compute Location (line number, column number, file specification) for any index.

Re: DCT: D compiler as a collection of libraries

2012-05-15 Thread deadalnix
Le 14/05/2012 21:21, Roman D. Boiko a écrit : On Monday, 14 May 2012 at 19:13:39 UTC, Roman D. Boiko wrote: On Monday, 14 May 2012 at 19:04:20 UTC, Tove wrote: What if there were two different lex:er modes... with different struct:s. 1. For an IDE with on the fly lexing: Assumption, the error

Re: DCT: D compiler as a collection of libraries

2012-05-16 Thread deadalnix
Le 15/05/2012 21:59, Roman D. Boiko a écrit : On Tuesday, 15 May 2012 at 19:27:26 UTC, Timon Gehr wrote: On 05/14/2012 05:00 PM, Roman D. Boiko wrote: Currently I think about making token a class instead of struct. ... Could anybody suggest other pros and cons? Which option would you choose?

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread deadalnix
Le 24/05/2012 01:26, Walter Bright a écrit : presentation has been accepted for the D Conference 2012. Congratulations, Robert! http://astoriaseminar.com/sessions.html I'd LOVE to see that conference. Walter, Andrei, you must make absolutely 100% that this will be able somewhere on the

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread deadalnix
Le 24/05/2012 11:42, Walter Bright a écrit : On 5/24/2012 1:30 AM, deadalnix wrote: Le 24/05/2012 01:26, Walter Bright a écrit : presentation has been accepted for the D Conference 2012. Congratulations, Robert! http://astoriaseminar.com/sessions.html I'd LOVE to see that conference

Re: D Conference 2012 - postponed until 2013

2012-06-26 Thread deadalnix
Le 23/06/2012 22:50, Walter Bright a écrit : Due to there not being sufficient time left to get enough speakers lined up. That is sad. But hopefully, I'll probably be able to participate in 2013.

Re: Antti-Ville Tuuainen passes his midterm evaulations for GSoC 2012

2012-07-14 Thread deadalnix
On 12/07/2012 22:49, dsimcha wrote: Congratulations to Antti-Ville Tuuainen for passing the GSoC 2012 midterm evaluation! Despite going through a steep learning curve to learn D's template metaprogramming system, Antti-Ville has precise heap scanning for the garbage collector close to working

Re: pfft 0.1

2012-07-21 Thread deadalnix
On 21/07/2012 01:26, jerro wrote: I'm announcing the release of pfft, a fast FFT written in D. Code: https://github.com/jerro/pfft/ Downloads: https://github.com/jerro/pfft/downloads Documentation: http://jerro.github.com/pfft/doc/pfft.pfft.html Benchmarks:

Re: Pull freeze

2012-07-30 Thread deadalnix
Le 29/07/2012 21:16, Jacob Carlborg a écrit : On 2012-07-29 16:28, Andrei Alexandrescu wrote: I'm all for it. We're just too busy most of the time to stop and improve our process. I think it's a good opportunity to do so right after 2.060. It should have happened a long time ago. Ranting

Re: Pull freeze

2012-07-31 Thread deadalnix
Le 31/07/2012 17:38, Andrei Alexandrescu a écrit : On 7/31/12 2:24 AM, Russel Winder wrote: On Mon, 2012-07-30 at 23:40 -0400, Andrei Alexandrescu wrote: […] Walter and I will dedicate time after 2.060 to improving the process. Improve implies tinkering at the edges. This situation requires

Re: Pull freeze

2012-07-31 Thread deadalnix
Le 31/07/2012 17:54, Andrei Alexandrescu a écrit : On 7/31/12 11:46 AM, deadalnix wrote: We actually have to « reverse » the way thing are done. You can't go to the other side of a gap in 2 steps. We face a change that cannot be gradually adopted. Then I need more education. I thought a good

Re: Pull freeze

2012-07-31 Thread deadalnix
Le 31/07/2012 19:46, Tobias Pankrath a écrit : I'm not that fluent in git. Could you explain your approach further? On Tuesday, 31 July 2012 at 16:43:19 UTC, deadalnix wrote: We have found the following more successful : - Developing in branches. 1 branch per functionality. - Dev branches

Re: Dscanner - It exists

2012-08-01 Thread deadalnix
Le 01/08/2012 19:58, Brian Schott a écrit : On Wednesday, 1 August 2012 at 17:36:16 UTC, Walter Bright wrote: I suggest proposing the D lexer as an addition to Phobos. But if that is done, its interface would need to accept a range as input, and its output should be a range of tokens. It

Re: Dscanner - It exists

2012-08-01 Thread deadalnix
Le 01/08/2012 23:19, Andrei Alexandrescu a écrit : On 8/1/12 5:09 PM, deadalnix wrote: Le 01/08/2012 19:58, Brian Schott a écrit : On Wednesday, 1 August 2012 at 17:36:16 UTC, Walter Bright wrote: I suggest proposing the D lexer as an addition to Phobos. But if that is done, its interface

Re: dmd 1.075 and 2.060 release

2012-08-03 Thread deadalnix
Le 02/08/2012 21:18, Walter Bright a écrit : Another big pile of bug fixes. More contributors than ever! http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.075.zip http://www.digitalmars.com/d/2.0/changelog.html

Re: Walter charms the audience at Sioux

2012-08-24 Thread deadalnix
Le 23/08/2012 22:45, Andrei Alexandrescu a écrit : Voted hot! http://sioux.eu/en/hot-or-not/d-programming-language.html Andrei Should I mention that thing about segfault ?

Visitor pattern revisited in D

2012-08-27 Thread deadalnix
/!\ Shameless autopromotion incoming /!\ I have recently put some effort into exploring alternatives to visitor pattern and see what can be done in D. I ended up with a solution which is a real improvement compared to plein old visitor pattern and wanted to share this here. I think this is

Re: Visitor pattern revisited in D

2012-08-27 Thread deadalnix
Le 27/08/2012 18:02, Michal Minich a écrit : On Monday, 27 August 2012 at 15:00:11 UTC, deadalnix wrote: /!\ Shameless autopromotion incoming /!\ I have recently put some effort into exploring alternatives to visitor pattern and see what can be done in D. I ended up with a solution which

Re: Visitor pattern revisited in D

2012-08-28 Thread deadalnix
Le 28/08/2012 17:39, Timon Gehr a écrit : On 08/27/2012 05:00 PM, deadalnix wrote: /!\ Shameless autopromotion incoming /!\ I have recently put some effort into exploring alternatives to visitor pattern and see what can be done in D. I ended up with a solution which is a real improvement

Re: Visitor pattern revisited in D

2012-08-28 Thread deadalnix
Le 28/08/2012 00:20, Pragma Tix a écrit : Am 27.08.2012 17:00, schrieb deadalnix: auto dispatch( alias unhandled = function typeof(null)(t) { throw new Exception(typeid(t).toString() ~ is not supported by visitor ~ typeid(V).toString() ~ .); }, V, T )(ref V visitor, T t) if(is(T == class

Re: Slides from LASER 2012

2012-09-20 Thread deadalnix
Le 20/09/2012 14:57, Andrei Alexandrescu a écrit : I've had the honor of rubbing shoulders for a week at http://laser.inf.ethz.ch/2012/ with Roberto Ierusalimschy, Ivar Jacobson, Erik Meijer, Bertrand Meyer, Martin Odersky, Simon Peyton-Jones, and Guido van Rossum. It was awesome, and I got many

Re: Slides from LASER 2012

2012-09-20 Thread deadalnix
Le 20/09/2012 18:55, bearophile a écrit : Timon Gehr: Formalising it is not hard, I am not sure of this, given the amount of special cases it already has. This is made for less special cases. Which is an improvement.

Re: Simple GEdit .lang github color scheme

2012-09-22 Thread deadalnix
Le 09/09/2012 08:17, F i L a écrit : After being annoyed with GEdit's presentation of D code, I decided to do something about it. This isn't any big Announcement or anything, just thought I'd share. I made a color-scheme based on the colors from Github cause they're pretty and D loves github

Re: Simple GEdit .lang github color scheme

2012-09-23 Thread deadalnix
Le 23/09/2012 07:40, F i L a écrit : deadalnix wrote: Sound nice. How can I use that on my computer ? What do I do with the files ? You need to move the files into their 'gtksourceview-3.0' folders. On Linux (and other OS's should be similar), do: 1. find or create the following user

Re: Just a reminder, I'll be at GOTO next week!

2012-09-28 Thread deadalnix
Le 28/09/2012 07:43, Walter Bright a écrit : talking about Component Programming in D on Oct. 2. http://gotocon.com/aarhus-2012/schedule/tuesday.jsp See you there! (use promotion code brig1000 when registering and you'll get a discount) I couldn't come. But Aarhus is a really nice city. It

Re: Simple GEdit .lang github color scheme

2012-10-01 Thread deadalnix
OK, simple feedback : it doesn't recognize the lazy keyword. Except for that, it is really good.

Re: Component Programming in D

2012-10-02 Thread deadalnix
Le 03/10/2012 00:45, Andrei Alexandrescu a écrit : On 10/2/12 6:14 PM, Paulo Pinto wrote: On Tuesday, 2 October 2012 at 21:27:42 UTC, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/10u6sk/component_programming_in_d/ Andrei Nice article! I liked it the most of

Re: Alex Rønne Petersen joins phobos and druntime

2012-10-19 Thread deadalnix
Le 15/10/2012 20:33, Andrei Alexandrescu a écrit : Hello all, Please join me in congratulating Alex Rønne Petersen for joining the phobos and druntime committers on github. Alex has been a very active contributor to D, particularly druntime. We hope his prolific participation to continue and

Re: DConf 2013 on kickstarter.com: we're live!

2012-10-23 Thread deadalnix
Le 22/10/2012 19:25, Andrei Alexandrescu a écrit : We're on! For one month starting today, we're raising funding for DConf 2013. http://www.kickstarter.com/projects/2083649206/the-d-programming-language-conference-2013-0 Please pledge your support and encourage your friends to do the same.

Re: DConf 2013 on kickstarter.com: we're live!

2012-10-23 Thread deadalnix
Le 23/10/2012 16:26, Adam D. Ruppe a écrit : On Tuesday, 23 October 2012 at 14:15:22 UTC, deadalnix wrote: 1/4 of the money raised in 2 days. I expect the speed will slow down significantly because most the D followers would have already seen it in the first couple days... Obviously, you

Re: Objects in a Templated World

2012-10-30 Thread deadalnix
Le 30/10/2012 19:27, Alex Rønne Petersen a écrit : On 30-10-2012 19:23, Jesse Phillips wrote: I've written an article which goes over templates and objects. http://nascent.freeshell.org/programming/D/objectTemplate.php On a similar note I've republished _Learning to Program Using D_. Not a

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 09:20, Sönke Ludwig a écrit : Wow, that's a surprise! Just yesterday I was thinking that it would be really nice to have them for a piece of code ;) But shouldn't we keep the syntax closer to normal attributes and other languages(*)? I see a lot of arguments for doing that, with

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 08:55, Walter Bright a écrit : References: http://www.digitalmars.com/d/archives/digitalmars/D/Custom_attributes_again_163042.html http://www.digitalmars.com/d/archives/digitalmars/D/custom_attribute_proposal_yeah_another_one_163246.html Inspired by a gallon of coffee, I

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 10:07, Walter Bright a écrit : n 11/6/2012 12:59 AM, Jakob Ovrum wrote: Problem is that there's no way to do this without having the user specify which modules it should work for, like: import attributes; import a, b, c; static this() // This code cannot be automated.

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 17:46, Walter Bright a écrit : On 11/6/2012 8:27 AM, deadalnix wrote: OK, I may break all the happiness of that news but . . . Tuple in D is notoriously known to be a badly designed feature. Basing more stuff on that just because we have them is short sighted and will only result

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 17:37, Walter Bright a écrit : On 11/6/2012 8:29 AM, deadalnix wrote: In addition, this is [] thing will require lookahead when parsing to detect if we have an expression (array literal) or a declaration. Not really, as an array literal starting an expression is kinda

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 16:15, Walter Bright a écrit : On 11/6/2012 5:14 AM, Adam D. Ruppe wrote: Hmmm, it didn't work on the most important place for my use case, function parameters: It didn't occur to me to enable that. It should work everywhere or not work at all.

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 19:02, Walter Bright a écrit : On 11/6/2012 9:34 AM, dennis luehring wrote: can't you please give us a bad-usage example why it is/should be forbidden to use UDA on parameters (and please - we are not talking about pure, in, out and stuff like that) I believe this is the wrong

Re: User Defined Attributes

2012-11-06 Thread deadalnix
Le 06/11/2012 19:19, Jacob Carlborg a écrit : On 2012-11-06 19:16, Walter Bright wrote: Then all UDAs must exist in some shared global name space, and scoping and encapsulation becomes like it is in C, i.e. every_body_writes_their_names_like_this and hopes it doesn't conflict with someone

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 07/11/2012 13:01, Jacob Carlborg a écrit : On 2012-11-07 12:05, Leandro Lucarella wrote: OK, that's another thing. And maybe a reason for listening to people having more experience with UDAs than you. For me the analogy with Exceptions is pretty good. The issues an conveniences of throwing

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 07/11/2012 05:19, Walter Bright a écrit : On 11/6/2012 7:52 PM, bearophile wrote: Walter Bright: But I'm not sure at this point if that is the right thing to do. Why? D was fortunate in having 10 years of experience with C++'s exception system to learn from. We don't have that with

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 07/11/2012 10:13, Timon Gehr a écrit : On 11/07/2012 08:08 AM, Daniel Murphy wrote: Walter Bright newshou...@digitalmars.com wrote in message news:k7cko9$hes$1...@digitalmars.com... On 11/6/2012 6:10 PM, Daniel Murphy wrote: My thoughts exactly. It reminds me of the horror of C++

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 07/11/2012 09:23, Don Clugston a écrit : If you mean, we should be working on getting the existing stuff working before we think about adding more stuff, I agree 100%. That is a good part of my point. The other part being that surprise feature dropped in master, not only impair stability,

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 07/11/2012 21:35, Walter Bright a écrit : On 11/7/2012 4:01 AM, Jacob Carlborg wrote: I start to more and more think it would be better to explicitly require the developer to declare an attribute, like: attribute foo { string name; } @foo(asd) int a; Adding a whole new aggregate type is

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 07/11/2012 23:20, Walter Bright a écrit : On 11/7/2012 3:05 AM, Leandro Lucarella wrote: OK, that's another thing. And maybe a reason for listening to people having more experience with UDAs than you. For me the analogy with Exceptions is pretty good. The issues an conveniences of throwing

Re: User Defined Attributes

2012-11-07 Thread deadalnix
Le 08/11/2012 00:17, Walter Bright a écrit : On 11/7/2012 2:40 PM, deadalnix wrote: Java is mostly compile time (and optionally runtime). See http://projectlombok.org/ for what can be done at compile time with attributes + compiler hooks. Doesn't putting compiler hooks in for them make them

Re: User Defined Attributes

2012-11-09 Thread deadalnix
Le 08/11/2012 11:56, Walter Bright a écrit : On 11/7/2012 11:27 PM, Jacob Carlborg wrote: On 2012-11-08 02:49, Walter Bright wrote: Yes, that makes the attribute global. I don't actually know how this works in Java but if you are forced to use the fully qualified name for the attribute it

Re: User Defined Attributes

2012-11-10 Thread deadalnix
Le 10/11/2012 05:02, Walter Bright a écrit : On 11/9/2012 6:28 PM, deadalnix wrote: Le 08/11/2012 11:56, Walter Bright a écrit : On 11/7/2012 11:27 PM, Jacob Carlborg wrote: On 2012-11-08 02:49, Walter Bright wrote: Yes, that makes the attribute global. I don't actually know how

Re: User Defined Attributes

2012-11-10 Thread deadalnix
Le 10/11/2012 20:04, Walter Bright a écrit : On 11/10/2012 1:59 AM, Jacob Carlborg wrote: On 2012-11-10 05:02, Walter Bright wrote: Meaning a given attribute can have only one, global, meaning. Isn't that true for any symbol. Can I have two std.stdio.writeln symbols in the same

Re: Andrei speaks at MIT on Nov 26

2012-11-12 Thread deadalnix
Le 12/11/2012 11:18, Walter Bright a écrit : http://www.csail.mit.edu/events/eventcalendar/calendar.php?show=eventid=3531 As usual, will it be recorded ?

Re: User Defined Attributes

2012-11-13 Thread deadalnix
Le 13/11/2012 23:27, Walter Bright a écrit : On 11/10/2012 12:21 PM, deadalnix wrote: Thinking of it this way don't make any sense. The whole point of an attribute is to tell a library about how to understand your code. If many library uses the same attribute, then it defeat the whole point

Re: User Defined Attributes

2012-11-16 Thread deadalnix
Le 14/11/2012 22:13, Walter Bright a écrit : On 11/14/2012 2:53 AM, Jacob Carlborg wrote: If std.mytypes.mystring is a variable of the type string then the fully qualified name is lost if it's used as an attribute. Something like this: I am having a REALLY hard time making my point here.

Re: Static typing, contracts, unit tests and more

2012-11-22 Thread deadalnix
Le 15/11/2012 20:49, bearophile a écrit : (Sorry for the duplicated post, I have realized it's better to show this here than D.learn) Notes about some ways to write code and avoid some mistakes. http://www.reddit.com/r/programming/comments/138j4t/static_typing_contracts_unit_tests_and_more/

Re: D 1.076 and 2.061 release

2013-01-02 Thread deadalnix
On Wednesday, 2 January 2013 at 07:01:02 UTC, Bernard Helyer wrote: I am getting a whole _mess_ of warning: statement not reachable on everything after a final switch. I can confirm this. Freaking annoying (and not really convincing me that D is stable) !

Re: D 1.076 and 2.061 release

2013-01-03 Thread deadalnix
On Thursday, 3 January 2013 at 01:06:46 UTC, Walter Bright wrote: On 1/2/2013 2:45 PM, deadalnix wrote: On Wednesday, 2 January 2013 at 07:01:02 UTC, Bernard Helyer wrote: I am getting a whole _mess_ of warning: statement not reachable on everything after a final switch. I can confirm

Re: D 1.076 and 2.061 release

2013-01-03 Thread deadalnix
On Thursday, 3 January 2013 at 01:06:46 UTC, Walter Bright wrote: On 1/2/2013 2:45 PM, deadalnix wrote: On Wednesday, 2 January 2013 at 07:01:02 UTC, Bernard Helyer wrote: I am getting a whole _mess_ of warning: statement not reachable on everything after a final switch. I can confirm

Re: D 1.076 and 2.061 release

2013-01-03 Thread deadalnix
On Thursday, 3 January 2013 at 11:38:53 UTC, deadalnix wrote: On Thursday, 3 January 2013 at 01:06:46 UTC, Walter Bright wrote: On 1/2/2013 2:45 PM, deadalnix wrote: On Wednesday, 2 January 2013 at 07:01:02 UTC, Bernard Helyer wrote: I am getting a whole _mess_ of warning: statement

Re: D 1.076 and 2.061 release

2013-01-03 Thread deadalnix
On Thursday, 3 January 2013 at 16:43:06 UTC, bearophile wrote: deadalnix: I still have code broken all over the place. D2 is getting its corner case problems sorted out and fixed, but this still causes some breakage in user code. As more people use D2, issues are found, discussed and fixed

Re: D 1.076 and 2.061 release

2013-01-03 Thread deadalnix
On Thursday, 3 January 2013 at 18:36:32 UTC, Jonathan M Davis wrote: On Thursday, January 03, 2013 17:59:22 deadalnix wrote: On Thursday, 3 January 2013 at 16:43:06 UTC, bearophile wrote: deadalnix: I still have code broken all over the place. D2 is getting its corner case problems sorted

  1   2   3   4   >