Re: I'll be at GOTO in Denmark

2012-08-09 Thread Paulo Pinto
On Wednesday, 8 August 2012 at 23:11:00 UTC, Walter Bright wrote: On 8/8/2012 3:32 PM, Minas Mina wrote: Will we be able to watch it online? The usual practice these days is for conference organizers to post videos of the sessions some time after the conference concludes. But I don't know

Re: D Language and Fortran DLL article

2012-08-09 Thread Minas Mina
P.S.: And I did not find any appropriate russian community website about D Language, they exists? I don't think so. There are only a few in English...

Re: D Language and Fortran DLL article

2012-08-09 Thread Maxim Fomin
On Thursday, 2 August 2012 at 20:38:45 UTC, Michael wrote: P.S.: And I did not find any appropriate russian community website about D Language, they exists? I guess there were http://dprogramming.ru but now is dead (last updated in fall 2010). However, I noticed some increase in D concern

Re: Wiki page for C bindings / wrappers and reimplementations

2012-08-09 Thread Marco Leise
Moved: http://mleise.dnsd.info/ (Note: This uses a free DynDNS service and the only free VPS host in the world. I expect occasional downtimes. ;-) ) -- Marco

Yet another incomplete D cryptography library.

2012-08-09 Thread Nvirjskly
This is a skeleton library that I decided to push out in order to motivate myself to finish it. It supports AES, and Threefish in terms of block ciphers, and SHA1. I want to implement all SHA3 finalists, fast hashes like murrmurr, and many more block ciphers (DES c.)

Re: Yet another incomplete D cryptography library.

2012-08-09 Thread Bystroushaak
Nice. Will you implement RSA? On 10.8.2012 00:13, Nvirjskly wrote: This is a skeleton library that I decided to push out in order to motivate myself to finish it. It supports AES, and Threefish in terms of block ciphers, and SHA1. I want to implement all SHA3 finalists, fast hashes like

Re: Yet another incomplete D cryptography library.

2012-08-09 Thread Nvirjskly
On Thursday, 9 August 2012 at 22:19:54 UTC, Bystroushaak wrote: Nice. Will you implement RSA? On 10.8.2012 00:13, Nvirjskly wrote: This is a skeleton library that I decided to push out in order to motivate myself to finish it. It supports AES, and Threefish in terms of block ciphers, and

Re: Anyone tried wrapping DMD with Swig?

2012-08-09 Thread David Nadlinger
On Thursday, 9 August 2012 at 00:28:32 UTC, Andrej Mitrovic wrote: This is my .i file: https://gist.github.com/3299941 I've ran: swig -c++ -Isrc/root -IC:\MinGW\lib\gcc\mingw32\4.6.1\include -IC:\MinGW\include -includeall -d -d2 dmd_all.i C:\MinGW\include\stdlib.h(96) : Error: Syntax error in

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Wed, 08 Aug 2012 16:44:03 -0400 schrieb Jonathan M Davis jmdavisp...@gmx.com: in CTFE? http://dpaste.dzfl.pl/0503b8af According to Don reinterpret casts (even if done through unions) won't be supported in CTFE. So you can't convert from uint--ubyte[4] No. It wouldn't work in

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Wed, 08 Aug 2012 12:30:31 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/8/2012 12:05 PM, Johannes Pfau wrote: So the post in D.learn for a detailed description. Yes the code I posted takes a range, but digest (as it is now) takes void[][] to accept all kind of types

Re: The review of std.hash package

2012-08-09 Thread Walter Bright
On 8/9/2012 2:05 AM, Johannes Pfau wrote: I guess a second function digestRange is not acceptable? It's more the user API that matters, not how it works under the hood.

Re: The review of std.hash package

2012-08-09 Thread Walter Bright
On 8/9/2012 2:05 AM, Johannes Pfau wrote: http://dpaste.dzfl.pl/f86717f7 The Range argument - is it an InputRange, an OutputRange? While it's just a type name, the name should reflect what kind of range it is from the menagerie of ranges in std.range.

Re: The review of std.hash package

2012-08-09 Thread Vladimir Panteleev
On Tuesday, 7 August 2012 at 17:39:50 UTC, Dmitry Olshansky wrote: std.hash.hash is a new module for Phobos defining an uniform interface for hashes and checksums. It also provides some useful helper functions to deal with this new API. Is it too late to ask to include MurmurHash 2 and/or 3?

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Wed, 08 Aug 2012 12:27:39 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/8/2012 12:08 PM, Johannes Pfau wrote: No where's the difference, except that for hashes the context ('hash') has to be setup and finished manually? The idea is to have hash act like a component -

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Wed, 08 Aug 2012 12:31:29 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/8/2012 12:14 PM, Martin Nowak wrote: That hardly works for event based programming without using coroutines. It's the classical inversion-of-control dilemma of event based programming that forces you

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Thu, 09 Aug 2012 02:13:10 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/9/2012 2:05 AM, Johannes Pfau wrote: http://dpaste.dzfl.pl/f86717f7 The Range argument - is it an InputRange, an OutputRange? While it's just a type name, the name should reflect what kind of range it

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Thu, 09 Aug 2012 11:32:34 +0200 schrieb Vladimir Panteleev vladi...@thecybershadow.net: On Tuesday, 7 August 2012 at 17:39:50 UTC, Dmitry Olshansky wrote: std.hash.hash is a new module for Phobos defining an uniform interface for hashes and checksums. It also provides some useful

Re: The review of std.hash package

2012-08-09 Thread David Nadlinger
On Wednesday, 8 August 2012 at 19:27:54 UTC, Walter Bright wrote: The idea is to have hash act like a component - not with special added code the user has to write. Sorry, but I think this is a meaningless statement without specifying what kind of interface the component should adhere to. In

Re: Timer and Event class

2012-08-09 Thread Johannes Pfau
Am Thu, 09 Aug 2012 01:06:23 +0200 schrieb David d...@dav1d.de: I was in the need for a threaded Timer, so I wrote one: https://github.com/Dav1dde/BraLa/blob/master/brala/utils/thread.d Do you think I should make a pull request for phobos inclusion? A timer would be cool. It would be

Re: The review of std.hash package

2012-08-09 Thread Regan Heath
On Thu, 09 Aug 2012 10:59:47 +0100, David Nadlinger s...@klickverbot.at wrote: On Wednesday, 8 August 2012 at 19:27:54 UTC, Walter Bright wrote: The idea is to have hash act like a component - not with special added code the user has to write. Sorry, but I think this is a meaningless

Re: The review of std.hash package

2012-08-09 Thread Regan Heath
On Thu, 09 Aug 2012 10:58:10 +0100, Johannes Pfau nos...@example.com wrote: Am Thu, 09 Aug 2012 11:32:34 +0200 schrieb Vladimir Panteleev vladi...@thecybershadow.net: On Tuesday, 7 August 2012 at 17:39:50 UTC, Dmitry Olshansky wrote: std.hash.hash is a new module for Phobos defining an

Re: The review of std.hash package

2012-08-09 Thread Walter Bright
On 8/9/2012 2:59 AM, David Nadlinger wrote: On Wednesday, 8 August 2012 at 19:27:54 UTC, Walter Bright wrote: The idea is to have hash act like a component - not with special added code the user has to write. Sorry, but I think this is a meaningless statement without specifying what kind of

Re: The review of std.hash package

2012-08-09 Thread Walter Bright
On 8/9/2012 2:48 AM, Johannes Pfau wrote: Am Wed, 08 Aug 2012 12:31:29 -0700 schrieb Walter Bright newshou...@digitalmars.com: On 8/8/2012 12:14 PM, Martin Nowak wrote: That hardly works for event based programming without using coroutines. It's the classical inversion-of-control dilemma of

Re: Timer and Event class

2012-08-09 Thread David
Am 09.08.2012 12:06, schrieb Johannes Pfau: Am Thu, 09 Aug 2012 01:06:23 +0200 schrieb David d...@dav1d.de: I was in the need for a threaded Timer, so I wrote one: https://github.com/Dav1dde/BraLa/blob/master/brala/utils/thread.d Do you think I should make a pull request for phobos

Re: The review of std.hash package

2012-08-09 Thread Christophe Travert
If a has is a range, it's an output range, because it's something you fee data to. Output range have only one method: put. Johannes used this method. But it's not sufficient, you need something to start and to finish the hash. To bring consistency in the library, we should not remove this

Re: The review of std.hash package

2012-08-09 Thread Andrei Alexandrescu
On 8/9/12 5:05 AM, Johannes Pfau wrote: Well that's possible, but I don't like the template bloat it causes. What have you measured, and what is your dislike based upon? The library function must be generic. Then users worried about bloating may use it with a limited number of types. A

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Thu, 09 Aug 2012 08:48:37 -0400 schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org: On 8/9/12 5:05 AM, Johannes Pfau wrote: Well that's possible, but I don't like the template bloat it causes. What have you measured, and what is your dislike based upon? What annoys me is that as

Re: The review of std.hash package

2012-08-09 Thread Johannes Pfau
Am Thu, 09 Aug 2012 11:16:36 +0100 schrieb Regan Heath re...@netmail.co.nz: Once the API is formalised I can contribute the hashes I have also :) great! with all those contributions we'll probably have a rather complete set of digests soon.

Re: The review of std.hash package

2012-08-09 Thread Jacob Carlborg
On 2012-08-09 15:02, Johannes Pfau wrote: What annoys me is that as long the function only supported arrays, it didn't need templates _at all_. So template bloat for arrays = 0. But adding range support means the version dealing with arrays now has to be a template as well(which is probably a

Re: Anyone tried wrapping DMD with Swig?

2012-08-09 Thread Andrej Mitrovic
On 8/9/12, David Nadlinger s...@klickverbot.at wrote: Have you tried adding a »%module dmd« directive to the top of your .i file? That fixes it, thanks.

Which D features to emphasize for academic review article

2012-08-09 Thread TJB
Hello D Users, The Software Editor for the Journal of Applied Econometrics has agreed to let me write a review of the D programming language for econometricians (econometrics is where economic theory and statistical analysis meet). I will have only about 6 pages. I have an idea of what I

Re: The review of std.hash package

2012-08-09 Thread Dmitry Olshansky
On 09-Aug-12 14:15, Regan Heath wrote: On Thu, 09 Aug 2012 10:59:47 +0100, David Nadlinger s...@klickverbot.at If the range/hash object stores the current state and returns this as the result of hashreduce, it would be chainable. If it also had a Digest property/method which performed finish

Re: The review of std.hash package

2012-08-09 Thread Dmitry Olshansky
On 09-Aug-12 20:32, Dmitry Olshansky wrote: On 09-Aug-12 14:15, Regan Heath wrote: On Thu, 09 Aug 2012 10:59:47 +0100, David Nadlinger s...@klickverbot.at If the range/hash object stores the current state and returns this as the result of hashreduce, it would be chainable. If it also had a

Re: The review of std.hash package

2012-08-09 Thread David Nadlinger
On Thursday, 9 August 2012 at 16:37:57 UTC, Dmitry Olshansky wrote: Too fast.. should have been: ubyte[16] getDidgest(); alias getDigest this; I have been thinking about using AliasThis as well, but the problem is that precisely the use case this is meant to enable (i.e.

Re: Which D features to emphasize for academic review article

2012-08-09 Thread dsimcha
Ok, so IIUC the audience is academic BUT is people interested in using D as a means to an end, not computer scientists? I use D for bioinformatics, which IIUC has similar requirements to econometrics. From my point of view: I'd emphasize the following: Native efficiency. (Important for

Re: Which D features to emphasize for academic review article

2012-08-09 Thread Paulo Pinto
On Thursday, 9 August 2012 at 18:20:08 UTC, Justin Whear wrote: On Thu, 09 Aug 2012 17:57:27 +0200, TJB wrote: Hello D Users, The Software Editor for the Journal of Applied Econometrics has agreed to let me write a review of the D programming language for econometricians (econometrics is

Re: Which D features to emphasize for academic review article

2012-08-09 Thread Justin Whear
On Thu, 09 Aug 2012 17:57:27 +0200, TJB wrote: Hello D Users, The Software Editor for the Journal of Applied Econometrics has agreed to let me write a review of the D programming language for econometricians (econometrics is where economic theory and statistical analysis meet). I will

Re: D Lexer

2012-08-09 Thread Martin Nowak
Which version did you last compile this in succesfully? Thanks. Try https://github.com/dawgfoto/lexer.

Re: Which D features to emphasize for academic review article

2012-08-09 Thread Walter Bright
On 8/9/2012 10:40 AM, dsimcha wrote: I'd emphasize the following: I'd like to add to that: 1. Proper support for 80 bit floating point types. Many compilers' libraries have inaccurate 80 bit math functions, or don't implement 80 bit floats at all. 80 bit floats reduce the incidence of

Re: D Lexer

2012-08-09 Thread Andrej Mitrovic
On 8/9/12, Martin Nowak d...@dawgfoto.de wrote: Which version did you last compile this in succesfully? Thanks. Try https://github.com/dawgfoto/lexer. Thanks! :)

Re: The review of std.hash package

2012-08-09 Thread Jonathan M Davis
On Thursday, August 09, 2012 18:46:59 David Nadlinger wrote: On Thursday, 9 August 2012 at 16:37:57 UTC, Dmitry Olshansky wrote: Too fast.. should have been: ubyte[16] getDidgest(); alias getDigest this; I have been thinking about using AliasThis as well, but the problem is that

D Thrift library errors in 2.060

2012-08-09 Thread Chad Retz
Just an FYI, I opened an issue[1] on the Apache JIRA about at least one breaking change for Thrift in D 2.060. I know David's already aware of breaking changes[2], so just thought I'd let it be known I created an issue. If I have time, I will work on it myself. [1] -

Re: D Thrift library errors in 2.060

2012-08-09 Thread David Nadlinger
On Thursday, 9 August 2012 at 20:00:21 UTC, Chad Retz wrote: Just an FYI, I opened an issue[1] on the Apache JIRA about at least one breaking change for Thrift in D 2.060. I know David's already aware of breaking changes[2], so just thought I'd let it be known I created an issue. If I have

Re: D Thrift library errors in 2.060

2012-08-09 Thread Chad Retz
Thanks a lot. I wasn't sure whether to open this or just do it myself. Glad I chose the former.

Module Paths

2012-08-09 Thread Matt
Is it possible to retrieve the file path to a module from within the module itself? Or, if not, are there any methods to retrieve the import location list (the argument -I that is passed to the compiler) from within code?

Re: Is D Language mature for MMORPG Client ?

2012-08-09 Thread Matt
Jeeze, guys, OT? The OP didn't ask about ADA, or exploding rockets. I, personally, would think that D is perfectly capable of handling a MMORPG client, as it has proven to be very capable of pretty much all the tasks required. Derelict is your friend here, I'd wager, allowing you access to

Re: Is D Language mature for MMORPG Client ?

2012-08-09 Thread Walter Bright
On 8/4/2012 8:12 AM, bearophile wrote: My two post didn't imply to contain significant insights, they mostly contain a single question. Regarding the value of those two posts, they raises some questions, like: is D fit just for video games, or is it good to write highly reliable programs too?

Re: overloading a function taking a void[][]

2012-08-09 Thread Johannes Pfau
Am Wed, 08 Aug 2012 21:55:21 +0200 schrieb Timon Gehr timon.g...@gmx.ch: Well, I have done similar things in the past. The general concept should work. BTW: This is a working version, but it does cause template bloat: http://dpaste.dzfl.pl/d42a58aa Maybe this helps:

Re: Missing destructor call using clear and base interface ref.

2012-08-09 Thread Roberto Delfiore
Thank you for your analysis, it's a very strange behavior. I still can not figure out if there is something I don't know or if it's is simply a bug. Good answer: Shouldn't destroy() work on an interface? On Monday, 6 August 2012 at 20:46:45 UTC, Ali Çehreli wrote: On 08/06/2012 06:59 AM,

Re: enum string

2012-08-09 Thread Namespace
Ok. Now I have built both phobos and druntime. Then I have packed the generated phobos.lib in the windows lib. Now I still have in druntime a new folder lib with a druntime.lib in it. What should I do with this? And must I also build dmd anew?

Re: enum string

2012-08-09 Thread Jonathan M Davis
On Thursday, August 09, 2012 10:43:15 Namespace wrote: Ok. Now I have built both phobos and druntime. Then I have packed the generated phobos.lib in the windows lib. Now I still have in druntime a new folder lib with a druntime.lib in it. What should I do with this? You don't need

Re: Missing destructor call using clear and base interface ref.

2012-08-09 Thread Denis Shelomovskij
09.08.2012 12:36, Roberto Delfiore пишет: Thank you for your analysis, it's a very strange behavior. I still can not figure out if there is something I don't know or if it's is simply a bug. Good answer: Shouldn't destroy() work on an interface? Filled an issue:

std.algorithm.copy target not passed by reference (bug?)

2012-08-09 Thread Johannes Pfau
I just saw that the target range passed to std.algorithm.copy is not passed by reference. So for a range which is implemented as a simple struct value type and which modifies some internal state a call to copy does not have any effect. It can be worked around by passing a pointer to that range

Re: HOWTO: automatic test a D program

2012-08-09 Thread Jacob Carlborg
On 2012-08-09 13:24, maboiteaspam wrote: Hi, I m looking for some methods/tools to implement tests on my very little application about strings manipulation. I m looking to - avoid regressions - measure performance - learn it I made a quick search on the newsgroup archives, without success.

Using MinGW DLL with DMD?

2012-08-09 Thread Jacob Carlborg
Is it possible to link a DLL compiled for MinGW with DMD? -- /Jacob Carlborg

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Adam D. Ruppe
On Thursday, 9 August 2012 at 13:43:18 UTC, Jacob Carlborg wrote: Is it possible to link a DLL compiled for MinGW with DMD? Yeah, I've use dlls made in gcc with dmd. You need to run implib over the dll to get a .lib and then it works pretty easily. implib /s mydll.lib mydll.dll implib can

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Dejan Lekic
On Thursday, 9 August 2012 at 13:43:18 UTC, Jacob Carlborg wrote: Is it possible to link a DLL compiled for MinGW with DMD? Yes, it is possible. Long ago i have dealt with this almost on a daily basis (we used Borland C++ Builder on Windows in the former company I worked for). The easiest

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Dejan Lekic
On Thursday, 9 August 2012 at 13:48:14 UTC, Adam D. Ruppe wrote: On Thursday, 9 August 2012 at 13:43:18 UTC, Jacob Carlborg wrote: Is it possible to link a DLL compiled for MinGW with DMD? Yeah, I've use dlls made in gcc with dmd. You need to run implib over the dll to get a .lib and then it

Re: Using MinGW DLL with DMD?

2012-08-09 Thread Jacob Carlborg
On 2012-08-09 15:48, Adam D. Ruppe wrote: Yeah, I've use dlls made in gcc with dmd. You need to run implib over the dll to get a .lib and then it works pretty easily. implib /s mydll.lib mydll.dll implib can be found in the basic utilities package at digital mars.

Re: HOWTO: automatic test a D program

2012-08-09 Thread simendsjo
On Thu, 09 Aug 2012 15:41:44 +0200, Jacob Carlborg d...@me.com wrote: On 2012-08-09 13:24, maboiteaspam wrote: Hi, I m looking for some methods/tools to implement tests on my very little application about strings manipulation. I m looking to - avoid regressions - measure performance - learn

Re: enum string

2012-08-09 Thread Jonathan M Davis
On Thursday, August 09, 2012 01:51:43 Jonathan M Davis wrote: On Thursday, August 09, 2012 10:43:15 Namespace wrote: Ok. Now I have built both phobos and druntime. Then I have packed the generated phobos.lib in the windows lib. Now I still have in druntime a new folder lib with a

Re: HOWTO: automatic test a D program

2012-08-09 Thread simendsjo
On Thu, 09 Aug 2012 17:39:34 +0200, simendsjo simend...@gmail.com wrote: On Thu, 09 Aug 2012 15:41:44 +0200, Jacob Carlborg d...@me.com wrote: On 2012-08-09 13:24, maboiteaspam wrote: Hi, I m looking for some methods/tools to implement tests on my very little application about strings

Re: std.algorithm.copy target not passed by reference (bug?)

2012-08-09 Thread Ali Çehreli
On 08/09/2012 06:32 AM, Johannes Pfau wrote: I just saw that the target range passed to std.algorithm.copy is not passed by reference. So for a range which is implemented as a simple struct value type and which modifies some internal state a call to copy does not have any effect. I think

Convert little imperative code to functional coding style

2012-08-09 Thread bioinfornatics
Dear, i try convert a code to functional coding style: commented code is what i try to convert to functional ___ import std.stdio; import std.range; import std.algorithm; import std.conv : to; import std.typecons : tuple; import std.math

How does immutable work.

2012-08-09 Thread egslava
Hello! Sorry for my English. I read manual about immutable and const keyword: http://dlang.org/const3.html And tried to build my program: http://dpaste.dzfl.pl/f803ae94 If I will change immutable to const output will not changed. But why? Why output is look like this? I would understand the

Re: How does immutable work.

2012-08-09 Thread Simen Kjaeraas
On Thu, 09 Aug 2012 19:25:47 +0200, egslava egsl...@gmail.com wrote: Hello! Sorry for my English. I read manual about immutable and const keyword: http://dlang.org/const3.html And tried to build my program: http://dpaste.dzfl.pl/f803ae94 If I will change immutable to const output will not

Re: How does immutable work.

2012-08-09 Thread Ali Çehreli
On 08/09/2012 10:25 AM, egslava wrote: Hello! Sorry for my English. Thank you for using English. I read manual about immutable and const keyword: http://dlang.org/const3.html And tried to build my program: http://dpaste.dzfl.pl/f803ae94 Here it is: import std.stdio; void main(string[]

Re: How does immutable work.

2012-08-09 Thread David Nadlinger
On Thursday, 9 August 2012 at 17:25:48 UTC, egslava wrote: If I will change immutable to const output will not changed. But why? Why output is look like this? Just to repeat the gist of it: immutable is a guarantee that the value stored in the variable will never change, and the compiler is

Internally recursion with map

2012-08-09 Thread Justin Whear
This code fails to compile with a forward reference error: auto descendantsOf(Node* node) { return join( node.children, join(node.children.map! (descendantsOf).array) ); } Obviously, while functions can be internally recursive and call themselves, it appears that they can't use themselves as

Re: How does immutable work.

2012-08-09 Thread Chris Cain
In addition to what everyone else said, I think it's important to also say that, in general, you should _not_ cast away immutable or const like you did. As far as I'm concerned, it's a programming error. It's possible that future compilers might have immutable data stored in Read-Only Memory

Re: Internally recursion with map

2012-08-09 Thread Justin Whear
On Thu, 09 Aug 2012 22:03:16 +, Justin Whear wrote: This code fails to compile with a forward reference error: auto descendantsOf(Node* node) { return join( node.children, join(node.children.map! (descendantsOf).array) ); } Obviously, while functions can be internally recursive

Reading a csv file

2012-08-09 Thread Andrew
I'm trying to read in a csv file. The examples in the docs for std.csv all assume you're reading from a string rather than a file. This doesn't work: auto f = File(filename); auto records = csvReader!int(f); At this point it fails to compile with: Error: template std.csv.csvReader does not

An example of Rust code

2012-08-09 Thread bearophile
Through Reddit I've found a page that shows a small example of Rust code: http://www.reddit.com/r/programming/comments/xyfqg/playing_with_rust/ https://gist.github.com/3299083 The code: https://gist.github.com/3307450 - So I've tried to translate this first part

Re: Reading a csv file

2012-08-09 Thread Jesse Phillips
On Friday, 10 August 2012 at 01:39:32 UTC, Andrew wrote: I'm trying to read in a csv file. The examples in the docs for std.csv all assume you're reading from a string rather than a file. It requires a range of dchar. I believe there is an undocumented function to get a dchar range out of a

Re: An example of Rust code

2012-08-09 Thread bearophile
Sorry, my mistake again, this was meant for the main D newsgroup. Bye, bearophile

[Issue 8526] New: DMD 2.060 regression: anonymous delegate call in foreach loop

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8526 Summary: DMD 2.060 regression: anonymous delegate call in foreach loop Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords:

[Issue 4609] clear() does not call base constructor if a class does not implement a default constructor

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4609 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|NEW

[Issue 1310] alias opCall vs struct literal

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1310 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 5935] Non-tuple iteration with std.range.zip

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5935 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|NEW

Re: OPTLINK : Error 118: Filename Expected

2012-08-09 Thread Richard Webb
On 09/08/2012 01:34, Walter Bright wrote: On 8/8/2012 4:11 PM, anon wrote: Yet another obscure error message that makes no sense. I suspect it's the ( ) you have in the file names. I've seen optlink failures before due to the '+' in GTK+ (don't recall the exact error message though).

[Issue 8527] New: `object.destroy` doesn't destroy interfaces

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8527 Summary: `object.destroy` doesn't destroy interfaces Product: D Version: D2 Platform: All OS/Version: All Status: ASSIGNED Severity: normal Priority: P2

Re: OPTLINK : Error 118: Filename Expected

2012-08-09 Thread Richard Webb
Sounds like http://d.puremagic.com/issues/show_bug.cgi?id=5860 ?

[Issue 8527] `object.destroy` doesn't destroy interfaces

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8527 --- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2012-08-09 14:10:48 MSD --- https://github.com/D-Programming-Language/druntime/pull/286 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 5855] object.clear is not documented

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5855 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|NEW

[Issue 8528] New: std.stream.File believes /dev/stdin to be seekable

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8528 Summary: std.stream.File believes /dev/stdin to be seekable Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 8529] New: ctRegex - named submatch - hash-table exception

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8529 Summary: ctRegex - named submatch - hash-table exception Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 8527] `object.destroy` doesn't destroy interfaces

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8527 --- Comment #2 from github-bugzi...@puremagic.com 2012-08-09 10:35:32 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/druntime

[Issue 8414] with statement causes linker error

2012-08-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8414 --- Comment #3 from Salih Dincer sali...@hotmail.com 2012-08-09 13:55:46 PDT --- Okay, samples below can be read at compile-time error messages: Sample-1: void main() { Enum en; with (Enum) // -- ERROR: found '}' instead of

Re: OPTLINK : Error 118: Filename Expected

2012-08-09 Thread anon
On Thursday, 9 August 2012 at 00:35:37 UTC, Walter Bright wrote: On 8/8/2012 4:11 PM, anon wrote: Yet another obscure error message that makes no sense. I suspect it's the ( ) you have in the file names. I suspect you ought to fix your linker. Program Files (x86) is a standard folder on