Re: dmd 2.057 release

2011-12-15 Thread Adrian
Am 15.12.2011 07:50, schrieb Adrian: Am 14.12.2011 18:57, schrieb Walter Bright: On 12/14/2011 6:59 AM, Adrian wrote: I have a strange crash of the new dmd 2.057 compiler. I can't do anything without a reproducible test case. If you want, I can sent you the whole source. Its nothing real

Re: libffi-d: D binding to libffi

2011-12-15 Thread Alex Rønne Petersen
Hi Andrej, Sorry for the late response (for some reason, my news reader had marked this thread as read). There's a few DLL's floating around for libffi, however none of them seem to have the symbol ffi_prep_cif_var which seems to be needed for variadic functions. I can version variadic

Re: dmd 2.057 release

2011-12-15 Thread Stephan
On 15.12.2011 12:02, Adrian wrote: - for the crash to happen the project has to be compiled with the switches -noboundscheck and -deps=bug.dep. if you omit one of them the crash wont show. sounds like this one i encountered last release already:

Re: dmd 2.057 release

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 08:43, Jonathan M Davis wrote: On Thursday, December 15, 2011 08:19:39 Jacob Carlborg wrote: On 2011-12-14 18:00, Jonathan M Davis wrote: On Wednesday, December 14, 2011 12:11:03 Jacob Carlborg wrote: On 2011-12-14 11:10, Walter Bright wrote: On 12/14/2011 1:59 AM, Jacob

Re: dmd 2.057 release

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 08:43, Jonathan M Davis wrote: The names of bug reports are frequently not particularly informative, and even if they are, they frequently don't contain the necessary information to understand the effects of fixing the bug. If you want to actually know what's really being fixed,

Re: dmd 2.057 release

2011-12-15 Thread Adrian
Am 15.12.2011 12:31, schrieb Stephan: On 15.12.2011 12:02, Adrian wrote: - for the crash to happen the project has to be compiled with the switches -noboundscheck and -deps=bug.dep. if you omit one of them the crash wont show. sounds like this one i encountered last release already:

Re: dmd 2.057 release

2011-12-15 Thread Sean Kelly
Sounds offset-dependent. I bet if you added and removed instructions in the right place you could reduce it a lot further. Sent from my iPhone On Dec 15, 2011, at 3:02 AM, Adrian adrian.remove-nos...@veith-system.de wrote: Am 14.12.2011 18:57, schrieb Walter Bright: On 12/14/2011 6:59 AM,

Re: libffi-d: D binding to libffi

2011-12-15 Thread Alex Rønne Petersen
On 15-12-2011 09:14, Alex Rønne Petersen wrote: Hi Andrej, Sorry for the late response (for some reason, my news reader had marked this thread as read). There's a few DLL's floating around for libffi, however none of them seem to have the symbol ffi_prep_cif_var which seems to be needed

Re: dmd 2.057 release

2011-12-15 Thread Walter Bright
On 12/15/2011 4:16 AM, Jacob Carlborg wrote: I wonder if we can list breaking changes in a separate sections in the changelog. Any bug fix is a breaking change - code can and does depend on bugs (often inadvertently).

Re: dmd 2.057 release

2011-12-15 Thread Walter Bright
On 12/15/2011 6:31 AM, Adrian wrote: Am 15.12.2011 12:31, schrieb Stephan: On 15.12.2011 12:02, Adrian wrote: - for the crash to happen the project has to be compiled with the switches -noboundscheck and -deps=bug.dep. if you omit one of them the crash wont show. sounds like this one i

Re: dmd 2.057 release

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 20:25, Walter Bright wrote: On 12/15/2011 4:16 AM, Jacob Carlborg wrote: I wonder if we can list breaking changes in a separate sections in the changelog. Any bug fix is a breaking change - code can and does depend on bugs (often inadvertently). In this particular case it

Re: New homepage design of d-p-l.org is now live. eom

2011-12-15 Thread Michel Fortin
On 2011-12-14 10:55:26 +, Robert Clipsham rob...@octarineparrot.com said: On 14/12/2011 10:12, Andrei Alexandrescu wrote: On 12/12/11 7:46 PM, Stewart Gordon wrote: On 06/12/2011 05:44, Andrei Alexandrescu wrote: http://d-p-l.org Andrei Why does it have an HTML 4.01 doctype but then

Re: dmd 2.057 release

2011-12-15 Thread Don
On 15.12.2011 21:34, Jacob Carlborg wrote: On 2011-12-15 20:25, Walter Bright wrote: On 12/15/2011 4:16 AM, Jacob Carlborg wrote: I wonder if we can list breaking changes in a separate sections in the changelog. Any bug fix is a breaking change - code can and does depend on bugs (often

Re: Programming Windows D Examples are now Online!

2011-12-15 Thread Andrej Mitrovic
On 6/21/11, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: This is a translation project of Charles Petzold's Programming Windows (5th edition) book code samples. Currently over 120 code samples have been translated into D, with only a few modules remaining. Everything else you need to

Re: dmd 2.057 release

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 22:28, Don wrote: On 15.12.2011 21:34, Jacob Carlborg wrote: On 2011-12-15 20:25, Walter Bright wrote: On 12/15/2011 4:16 AM, Jacob Carlborg wrote: I wonder if we can list breaking changes in a separate sections in the changelog. Any bug fix is a breaking change - code can and

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Nick Sabalausky
Jesse Phillips jessekphillip...@gmail.com wrote in message news:20111214160926.7dcb@unknown... On Wed, 14 Dec 2011 10:46:18 +0100 Gour g...@atmarama.net wrote: Can you give me a list of some successful open-source projects written in D1 and/or some proprietary ones?

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:jcc9d8$2bo5$1...@digitalmars.com... Jesse Phillips jessekphillip...@gmail.com wrote in message news:20111214160926.7dcb@unknown... On Wed, 14 Dec 2011 10:46:18 +0100 Gour g...@atmarama.net wrote: Can you give me a list of some successful

Re: Any plans to make it possible to call C++ functions that reside in a namespace?

2011-12-15 Thread deadalnix
Le 14/12/2011 22:47, Dejan Lekic a écrit : As subject says. I am pretty much happy with the current C++ support. The only thing I need is to be able to call functions from namespace(s). Any plans to add this feature? That would be great. ATM, I just create dumb function in the global

Re: Export and Protected Scoping in Dynamic Libraries

2011-12-15 Thread deadalnix
Le 14/12/2011 20:41, Adam Wilson a écrit : Hello Everyone, I want to start this conversation by pointing out that I come from a C/C++/C# background and my ideas and frustrations in this post will be colored by that history. When I first approached D, the idea of an 'export' confused me. I've

Re: Java Backend?

2011-12-15 Thread Andrea Fontana
Maybe a dalvik bytecode (not compatible with official jvm bytecode) generator could help us developing apps for android? Il giorno mer, 14/12/2011 alle 22.01 +0100, maarten van damme ha scritto: they've got c working on a jvm if I recall corectly so safeD should be possible. But then again,

Re: Second Round CURL Wrapper Review

2011-12-15 Thread Jonathan M Davis
Line# 235 is identical to line# 239. Shouldn't line# 235 be creating an Http object, not an Ftp object? That mistake definitely makes it look like download hasn't been properly tested. You should create template similar to template isCurlConn(Conn) { auto isCurlConn = is(Conn : Http) ||

Re: Export and Protected Scoping in Dynamic Libraries

2011-12-15 Thread Jonathan M Davis
On Thursday, December 15, 2011 09:32:37 deadalnix wrote: The same goes for private virtual methods actually. They cannot be called, but they can be reimplemented in subclasses. If you put that detail asside, this is a neat idea. I'd love to see that in D.

Re: Any plans to make it possible to call C++ functions that reside in a namespace?

2011-12-15 Thread mta`chrono
Adding namespaces to C++ interfacing would be great. AFAIK you could also create a linker file and rename the symbols before linking. -- suggestion: extern(C++, MyNamespace) interface Foobar { void foo(); void bar(); }

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Stephan
On 14.12.2011 21:32, torhu wrote: On 14.12.2011 14:05, Gour wrote: On Wed, 14 Dec 2011 11:15:58 +0100 Jacob Carlborgd...@me.com wrote: I don't know if all of them are successful but important: Tango, DWT, Minid, Orange, Not to say those are not important, but there are, afaict, falling in

Re: Java Backend?

2011-12-15 Thread maarten van damme
2011/12/15 Andrea Fontana advm...@katamail.com ** Maybe a dalvik bytecode (not compatible with official jvm bytecode) generator could help us developing apps for android? I've been looking at beeing able to write android apps in D. there is an ndk but it's c(++) only. I've read a blog

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Stephan
On 14.12.2011 23:19, torhu wrote: On 14.12.2011 22:26, Andrej Mitrovic wrote: On 12/14/11, torhuno@spam.invalid wrote: DWT for D2 is not in a usable state yet. It has a few build issues but most samples work. I've never used it for any projects yet though. It doesn't work for much besides

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Mirko Pilger
http://store.steampowered.com/app/18600/?snr=1_200_200_254_13 does anybody know if and when how this game makes use of the steamworks framework, which is a c++ library provided by valve for using the steam game services. the only solution would be to write a plain c wrapper around it, right?

Re: 64-bit DMD for windows?

2011-12-15 Thread torhu
On 14.12.2011 12:54, dmd.20.browse...@xoxy.net wrote: Hi, Is there a 64-bit version of DMD for windows? The download page offers only an x86 version. Or am I reading too much into that? Cheers, buk There's not much you would need a 64-bit compiler for on Windows. What are you going to

Re: 64-bit DMD for windows?

2011-12-15 Thread Alex Rønne Petersen
On 15-12-2011 11:47, torhu wrote: On 14.12.2011 12:54, dmd.20.browse...@xoxy.net wrote: Hi, Is there a 64-bit version of DMD for windows? The download page offers only an x86 version. Or am I reading too much into that? Cheers, buk There's not much you would need a 64-bit compiler for on

Re: .dmg installer for OSX?

2011-12-15 Thread Ruslan Mullakhmetov
On 2011-12-11 22:10:37 +, Peter Alexander said: On 11/12/11 9:29 PM, Andrei Alexandrescu wrote: There's something missing from the download page (to which I just added some nice logos): http://www.d-programming-language.org/download.html That would be an OSX .dmg. Is a member of the

Re: .dmg installer for OSX?

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 12:33, Ruslan Mullakhmetov wrote: On 2011-12-11 22:10:37 +, Peter Alexander said: On 11/12/11 9:29 PM, Andrei Alexandrescu wrote: There's something missing from the download page (to which I just added some nice logos): http://www.d-programming-language.org/download.html

Re: DMD 1.072 and DMD 2.057 64bit on Mac OS X

2011-12-15 Thread Michel Fortin
On 2011-12-15 07:22:47 +, Jacob Carlborg d...@me.com said: On 2011-12-14 19:28, Walter Bright wrote: On 12/14/2011 3:09 AM, Jacob Carlborg wrote: On 2011-12-14 11:54, Walter Bright wrote: It makes me wonder if we need to support 32 bit generation on OSX at all. Yeah, I wonder that too.

Re: DMD 1.072 and DMD 2.057 64bit on Mac OS X

2011-12-15 Thread Michel Fortin
On 2011-12-14 18:28:07 +, Walter Bright newshou...@digitalmars.com said: On 12/14/2011 3:09 AM, Jacob Carlborg wrote: On 2011-12-14 11:54, Walter Bright wrote: It makes me wonder if we need to support 32 bit generation on OSX at all. Yeah, I wonder that too. But does it hurt/cause

Re: .dmg installer for OSX?

2011-12-15 Thread Michel Fortin
On 2011-12-15 11:33:15 +, Ruslan Mullakhmetov tiaba...@gmail.com said: Probably, Mac App Store instalation would be the best? I don't know, do Apple policies allow to install a command line utilities via Macc App Store, but at least apple itself install OS X Lion and XCode via MAS. So,

Re: Java Backend?

2011-12-15 Thread Chad J
On 12/15/2011 05:02 AM, maarten van damme wrote: 2011/12/15 Andrea Fontana advm...@katamail.com mailto:advm...@katamail.com __ Maybe a dalvik bytecode (not compatible with official jvm bytecode) generator could help us developing apps for android? I've been looking at

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Vladimir Panteleev
On Thursday, 15 December 2011 at 10:37:00 UTC, Mirko Pilger wrote: http://store.steampowered.com/app/18600/?snr=1_200_200_254_13 does anybody know if and when how this game makes use of the steamworks framework, which is a c++ library provided by valve for using the steam game services. the

Re: Java Backend?

2011-12-15 Thread maarten van damme
no problem but tell me if it works :)

Re: Java Backend?

2011-12-15 Thread Manu
On 15 December 2011 12:02, maarten van damme maartenvd1...@gmail.comwrote: 2011/12/15 Andrea Fontana advm...@katamail.com ** Maybe a dalvik bytecode (not compatible with official jvm bytecode) generator could help us developing apps for android? I've been looking at beeing able to write

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread bearophile
Regarding some things said by Walter in this Reddit thread: http://www.reddit.com/r/programming/comments/nbndg/fedora_17_will_include_support_for_the_d/ I should add that the XMM register support is for 64 bit targets, and also the register allocator will enregister float and double variables in

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Timon Gehr
On 12/15/2011 03:33 PM, bearophile wrote: Regarding some things said by Walter in this Reddit thread: http://www.reddit.com/r/programming/comments/nbndg/fedora_17_will_include_support_for_the_d/ I should add that the XMM register support is for 64 bit targets, and also the register allocator

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Timon Gehr
On 12/15/2011 03:33 PM, bearophile wrote: Regarding some things said by Walter in this Reddit thread: http://www.reddit.com/r/programming/comments/nbndg/fedora_17_will_include_support_for_the_d/ I should add that the XMM register support is for 64 bit targets, and also the register allocator

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Gour
On Thu, 15 Dec 2011 10:37:58 +0100 Stephan s...@extrawurst.org wrote: Why is it not ? I am using it regularly. Ok it is broken now since the new release... but b4 How are you, in general, satisfied with DWT2? How it compares with qt/wx/gtk+ ? Sincerely, Gour -- As the embodied soul

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread bearophile
Timon Gehr: Fixed array assignment certainly won't cause any trouble. I don't know about the D front end, but those arrays have caused performance problems in my D2 code. Later I have taken more care, assigning items one after the other, writing: int[3] a = void; a[0] = ... a[1] = ... a[2] =

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Timon Gehr
On 12/15/2011 04:37 PM, bearophile wrote: Timon Gehr: Fixed array assignment certainly won't cause any trouble. I don't know about the D front end, but those arrays have caused performance problems in my D2 code. Later I have taken more care, assigning items one after the other, writing:

Re: SDC ddmd

2011-12-15 Thread Don
On 10.12.2011 12:17, Timon Gehr wrote: On 12/10/2011 10:54 AM, Bernard Helyer wrote: On Saturday, 10 December 2011 at 09:47:14 UTC, Timon Gehr wrote: On 12/10/2011 10:40 AM, Bernard Helyer wrote: We intend to be compatible with DMD to a point. Where we are not, will be through omission. Off

Re: DMD 1.072 and DMD 2.057 64bit on Mac OS X

2011-12-15 Thread Somedude
Le 14/12/2011 11:07, Alex Rønne Petersen a écrit : No point maintaining something that won't be used. I would also imagine that it can't be long before Windows stops supporting 32-bit. - Alex You imagine wrong. A large percentage of Windows users are still on Win XP 32 bits (like me).

Re: SDC ddmd

2011-12-15 Thread Timon Gehr
On 12/15/2011 05:47 PM, Don wrote: On 10.12.2011 12:17, Timon Gehr wrote: On 12/10/2011 10:54 AM, Bernard Helyer wrote: On Saturday, 10 December 2011 at 09:47:14 UTC, Timon Gehr wrote: On 12/10/2011 10:40 AM, Bernard Helyer wrote: We intend to be compatible with DMD to a point. Where we are

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Mattbeui
I am C programmer, but I had already did a little OO programming in Python and Delphi. So after look for a growth in my studies and enter definetly in OO programming, I found a video on youtube from Andrei Alexandrescu. And I got hooked since then. But that was just the beginning, until I

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Robert Clipsham
On 15/12/2011 00:32, Jakob Bornecrantz wrote: On Wednesday, 14 December 2011 at 18:55:23 UTC, Walter Bright wrote: On 12/14/2011 10:28 AM, Jakob Bornecrantz wrote: I don't know where the D1 community is, or even if it exists anymore. I'm here! Thanks for speaking up. np. Anyways

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Andrej Mitrovic
Also, port from the smallest module to the largest, OR the ones that have the least dependencies towards those that have more. Basically, you want to be able to unittest your modules as soon as you port them, so the modules that import these newly tested modules will call into functions that you

Re: DMD 1.072 and DMD 2.057 64bit on Mac OS X

2011-12-15 Thread Alex Rønne Petersen
On 15-12-2011 18:04, Somedude wrote: Le 14/12/2011 11:07, Alex Rønne Petersen a écrit : No point maintaining something that won't be used. I would also imagine that it can't be long before Windows stops supporting 32-bit. - Alex You imagine wrong. A large percentage of Windows users are

Re: Export and Protected Scoping in Dynamic Libraries

2011-12-15 Thread deadalnix
Le 15/12/2011 09:52, Jonathan M Davis a écrit : On Thursday, December 15, 2011 09:32:37 deadalnix wrote: The same goes for private virtual methods actually. They cannot be called, but they can be reimplemented in subclasses. If you put that detail asside, this is a neat idea. I'd love to see

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Walter Bright
On 12/15/2011 6:33 AM, bearophile wrote: I should add that the XMM register support is for 64 bit targets, and also the register allocator will enregister float and double variables in XMM registers. Will DMD use 8 XMM registers in 32 bit code too? We'll see, but it's a harder problem.

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Walter Bright
On 12/15/2011 9:49 AM, Robert Clipsham wrote: * Do it all in one go, and DO NOT GET DISTRACTED. The moment you start trying to clean up code as well as finish porting it you introduce lots of issues I've done many projects that translated code from one language to another, some were pretty

Re: DMD 1.072 and DMD 2.057 64bit on Mac OS X

2011-12-15 Thread Walter Bright
On 12/15/2011 4:40 AM, Michel Fortin wrote: It's one thing to ask developers to use 64-bit machines for development, it's another to say to developers they can't target 32-bit users if they choose to use DMD. Even Apple ships everything with dual architecture binaries these days, and some of

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 20:41, Walter Bright wrote: On 12/15/2011 9:49 AM, Robert Clipsham wrote: * Do it all in one go, and DO NOT GET DISTRACTED. The moment you start trying to clean up code as well as finish porting it you introduce lots of issues I've done many projects that translated code from

Re: .dmg installer for OSX?

2011-12-15 Thread Sean Kelly
On Dec 15, 2011, at 4:47 AM, Michel Fortin wrote: On 2011-12-15 11:33:15 +, Ruslan Mullakhmetov tiaba...@gmail.com said: Probably, Mac App Store instalation would be the best? I don't know, do Apple policies allow to install a command line utilities via Macc App Store, but at least

Re: 64-bit DMD for windows?

2011-12-15 Thread captaindet
On 2011-12-15 04:47, torhu wrote: On 14.12.2011 12:54, dmd.20.browse...@xoxy.net wrote: Hi, Is there a 64-bit version of DMD for windows? The download page offers only an x86 version. Or am I reading too much into that? Cheers, buk There's not much you would need a 64-bit compiler for on

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Hans Uhlig
On 12/13/2011 1:59 PM, Bane wrote: Walter Bright Wrote: On 12/13/2011 12:52 PM, Jacob Carlborg wrote: On 2011-12-13 19:55, Walter Bright wrote: On 12/13/2011 9:47 AM, Jacob Carlborg wrote: If I recall correctly Walter has said he will continue to support D1 as long as there are users.

Re: 64-bit DMD for windows?

2011-12-15 Thread Jonathan M Davis
On Wednesday, December 14, 2011 11:54:41 dmd.20.browse...@xoxy.net wrote: Hi, Is there a 64-bit version of DMD for windows? The download page offers only an x86 version. Or am I reading too much into that? The linker on Windows is currently only 32-bit, so the rest of the toolchain is

Re: 64-bit DMD for windows?

2011-12-15 Thread F i L
On Thursday, 15 December 2011 at 21:05:05 UTC, captaindet wrote: On 2011-12-15 04:47, torhu wrote: On 14.12.2011 12:54, dmd.20.browse...@xoxy.net wrote: Hi, Is there a 64-bit version of DMD for windows? The download page offers only an x86 version. Or am I reading too much into that?

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Bane
Forum/Registered Users, Unless you are regularly cleaning out inactives this number means nothing about a current userbase. Purpose is not evaluating size of community but to be able to keep in touch with it. pool/email pool? Are people emailing that I havent heard of. I am on a quite a

Re: Java Backend?

2011-12-15 Thread maarten van damme
How far did you got? if you have something you should post it on github. I think android could be one of those places where D really shines. You have the speed of native code without added complexity and memory management where needed. It's imho superiour to java in any way.

Re: 64-bit DMD for windows?

2011-12-15 Thread Trass3r
dealbreaker - i'd love to use D for my scientific programming, but my datasets often reach several GB... my computer has 16GB and i intend to make use of them. Scientific programming on Windoze? You can't be serious :P

Re: 64-bit DMD for windows?

2011-12-15 Thread Mehrdad
On 12/15/2011 3:20 PM, Trass3r wrote: dealbreaker - i'd love to use D for my scientific programming, but my datasets often reach several GB... my computer has 16GB and i intend to make use of them. Scientific programming on Windoze? You can't be serious :P lol, that's not even the only

Re: .dmg installer for OSX?

2011-12-15 Thread Michel Fortin
On 2011-12-15 20:53:23 +, Sean Kelly s...@invisibleduck.org said: There is some grey area here though. TextMate, for example, is an application but has a preference that will put a link in /usr/bin to launch it from the command-line. So apps are allowed to configure the environment on

Dot syntax to access static variables of functions

2011-12-15 Thread bearophile
In some cases I use a global variable only from a small small number of functions, like foo() and main() here: import std.stdio; __gshared static int x = 10; void foo() { // uses x writeln(foo); } void main() { auto fptr = foo; fptr(); auto y = x; // uses x } To write more

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Andrei Alexandrescu
On 12/15/11 3:50 PM, Bane wrote: Anyways, D community can't really speak its mind here. Here it is 5-10 regular users that are persistent enough to dig trough loads of mixed information, some important, most of it not, on this NG. Most users have no time to check this place every other day so

Bug Prediction at Google

2011-12-15 Thread Robert Clipsham
I just read this pretty interesting article on the Google Engineering Tools website, thought it might interest some people here: http://google-engtools.blogspot.com/2011/12/bug-prediction-at-google.html ( http://goo.gl/2O6YT = a short link in case the above one gets wrapped) It basically

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Hans Uhlig
On 12/14/2011 1:16 AM, Jacob Carlborg wrote: On 2011-12-14 10:08, Long Chang wrote: I use dwt and tango for some project recent. Cool to here that's someone is using DWT. Before dwt2 and minid and other cool project is ready for d2, I will still need D1. Exactly and see, the D1 users

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Andrei Alexandrescu
On 12/15/11 11:44 AM, Mattbeui wrote: I am C programmer, but I had already did a little OO programming in Python and Delphi. So after look for a growth in my studies and enter definetly in OO programming, I found a video on youtube from Andrei Alexandrescu. And I got hooked since then. But that

Re: Bug Prediction at Google

2011-12-15 Thread Andrew Wiley
On Thu, Dec 15, 2011 at 6:04 PM, Robert Clipsham rob...@octarineparrot.com wrote: I just read this pretty interesting article on the Google Engineering Tools website, thought it might interest some people here: http://google-engtools.blogspot.com/2011/12/bug-prediction-at-google.html (

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Walter Bright
On 12/15/2011 4:18 PM, Andrei Alexandrescu wrote: People who consider D need to contemplate one crisp and coherent offer. Right. And we make D2 work or we fail completely.

Re: Any plans to make it possible to call C++ functions that reside in a namespace?

2011-12-15 Thread Walter Bright
On 12/14/2011 1:47 PM, Dejan Lekic wrote: As subject says. I am pretty much happy with the current C++ support. The only thing I need is to be able to call functions from namespace(s). Any plans to add this feature? I hadn't planned to, but it's a good idea. I suggest adding it as an

auto testing (was: Bug Prediction at Google)

2011-12-15 Thread Brad Roberts
On Thu, 15 Dec 2011, Andrew Wiley wrote: On Thu, Dec 15, 2011 at 6:04 PM, Robert Clipsham rob...@octarineparrot.com wrote: I really think github needs built in review tools (more advanced than just pull requests) to allow things like the auto-tester to be run, or algorithms like this to

Re: What can be done to reduce executable size?

2011-12-15 Thread Andrei Alexandrescu
On 12/10/11 9:39 AM, Bane wrote: Short term and long term suggestions ? Anything we can do ? I heard it is some problem with linking dead code? import std.stdio; int main(){ writefln(Hello Bloat!); return 0; } dmd -release -O hello.d On Windows: v1.071 = 339 Kb v2.056 = 1017 Kb It looks

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Gour
On Thu, 15 Dec 2011 16:42:26 -0800 Walter Bright newshou...@digitalmars.com wrote: Right. And we make D2 work or we fail completely. Please, make it work! Sincerely, Gour -- As a strong wind sweeps away a boat on the water, even one of the roaming senses on which the mind focuses can

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Gour
On Thu, 15 Dec 2011 17:52:48 -0600 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: It is reasonable to expect that people with an interest in D have had all chances to see it and sufficient channels to chime in. Sure. It is unreasonable that someone should knock on every D1 user out

D branding (was Re: D1 to be discontinued on December 31, 2012)

2011-12-15 Thread Gour
On Thu, 15 Dec 2011 18:18:24 -0600 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: We need to contract D's brand. People who consider D need to contemplate one crisp and coherent offer. Mine would be to write general-purpose multi-platform GUI application, but it seems it's dependant

Re: What can be done to reduce executable size?

2011-12-15 Thread Jonathan M Davis
On Thursday, December 15, 2011 21:40:57 Andrei Alexandrescu wrote: On 12/10/11 9:39 AM, Bane wrote: Short term and long term suggestions ? Anything we can do ? I heard it is some problem with linking dead code? import std.stdio; int main(){ writefln(Hello Bloat!); return 0;

Re: .dmg installer for OSX?

2011-12-15 Thread Jacob Carlborg
On 2011-12-15 21:53, Sean Kelly wrote: On Dec 15, 2011, at 4:47 AM, Michel Fortin wrote: On 2011-12-15 11:33:15 +, Ruslan Mullakhmetovtiaba...@gmail.com said: Probably, Mac App Store instalation would be the best? I don't know, do Apple policies allow to install a command line utilities

Deprecated typedef

2011-12-15 Thread Jacob Carlborg
I know that this might be too late but wouldn't it be possible to defer the error message about typedef to later in the compile phase. Making it possible to put a typedef in a version statement, something like: version (D_Version2) {} else { typedef int foo; } This would allow to both

Yeah, well maybe...

2011-12-15 Thread Peter
I don't like you. Surely I hate you 10 times, no, moreso, but that is not the point. ? As the virus lives? It is that, huh. Didn't I fuck up then.

Class for fetching a web page and parse into DOM

2011-12-15 Thread breezes
Is there a class that can fetch a web page from the internet? And is std.xml the right module for parsing it into a DOM tree?

Re: Restrict access to critical functions

2011-12-15 Thread deadalnix
Le 14/12/2011 13:48, Timon Gehr a écrit : On 12/14/2011 01:28 PM, Kagamin wrote: Goal would be to have a possibility to compile and let run code from random people (some of them perhaps evil minded), watch over the processes and kill them, if they take too long or use up too much memory. I

Re: Class for fetching a web page and parse into DOM

2011-12-15 Thread Adam D. Ruppe
On Thursday, 15 December 2011 at 09:55:22 UTC, breezes wrote: Is there a class that can fetch a web page from the internet? And is std.xml the right module for parsing it into a DOM tree? You might want to use my dom.d

Re: Restrict access to critical functions

2011-12-15 Thread Jonathan M Davis
On Thursday, December 15, 2011 13:57:21 deadalnix wrote: Even haskell has non pure functions (IO monad for exemple). Actually, Haskell is a 100% purely functional language. Monads are completely pure. They're _how_ Haskell manages to be pure with I/O, when every functional language before them

Re: Restrict access to critical functions

2011-12-15 Thread Timon Gehr
On 12/15/2011 06:04 PM, Jonathan M Davis wrote: On Thursday, December 15, 2011 13:57:21 deadalnix wrote: Even haskell has non pure functions (IO monad for exemple). Actually, Haskell is a 100% purely functional language. Not entirely. For example:

Re: Class for fetching a web page and parse into DOM

2011-12-15 Thread Nick Sabalausky
Adam D. Ruppe destructiona...@gmail.com wrote in message news:nlccexskkftzaapfd...@dfeed.kimsufi.thecybershadow.net... On Thursday, 15 December 2011 at 09:55:22 UTC, breezes wrote: Is there a class that can fetch a web page from the internet? And is std.xml the right module for parsing it

[Issue 7108] ICE: TraitsExp::semantic(Scope*) 2.056 - 2.057 regression - segfault

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7108 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7112] New: Add function in core.sys.posix.signal

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7112 Summary: Add function in core.sys.posix.signal Product: D Version: future Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 7113] New: Final switch does not work with shared enum value

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7113 Summary: Final switch does not work with shared enum value Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7114] New: Cannot define const struct in function

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7114 Summary: Cannot define const struct in function Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 7114] Cannot define const struct in function

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7114 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6534] const struct definition inside functions too

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6534 bearophile_h...@eml.cc changed: What|Removed |Added CC||zan77...@nifty.com ---

[Issue 6208] Parameter storage classes are ignored in template function deducing.

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6208 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7115] New: sort function is broken with large arrays

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7115 Summary: sort function is broken with large arrays Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 7115] sort function is broken with large arrays

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7115 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #1

[Issue 7115] sort function is broken with large arrays

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7115 --- Comment #2 from deadalnix deadal...@gmail.com 2011-12-15 13:58:57 PST --- (In reply to comment #1) This would be a great opportunity to finally deprecate that abomination. Also, I think this only happens when the element type is byte? I

[Issue 6951] dependency parameter (-deps) crashes dmd in release build

2011-12-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6951 --- Comment #5 from Adrian Veith adr...@veith-system.de 2011-12-15 14:21:52 PST --- Created an attachment (id=1053) example code how to crash dmd the crash seems only to happen if both switches -noboundscheck and -deps=bug.dep are used. if

  1   2   >