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 Walter Bright
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. Walter, Andrei, you must make absolutely 100% that

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: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Russel Winder
On Thu, 2012-05-24 at 11:47 +0200, deadalnix wrote: Le 24/05/2012 11:42, Walter Bright a écrit : [...] Why not attend? I'd love to do that, but it will be impossible for me. Coming from europe just for a conference (it imply take holidays and a quite expansive travel) isn't really

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 11:47, deadalnix wrote: Why not attend? I'd love to do that, but it will be impossible for me. Coming from europe just for a conference (it imply take holidays and a quite expansive travel) isn't really realistic. And I'm pretty sure other europeans can confirm how frustrating

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Regan Heath
On Thu, 24 May 2012 11:56:56 +0100, Jacob Carlborg d...@me.com wrote: On 2012-05-24 11:47, deadalnix wrote: Why not attend? I'd love to do that, but it will be impossible for me. Coming from europe just for a conference (it imply take holidays and a quite expansive travel) isn't really

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Russel Winder
Should shift this to somewhere other than announce? On Thu, 2012-05-24 at 12:38 +0100, Regan Heath wrote: On Thu, 24 May 2012 11:56:56 +0100, Jacob Carlborg d...@me.com wrote: On 2012-05-24 11:47, deadalnix wrote: Why not attend? I'd love to do that, but it will be impossible for me.

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Guillaume Chatelet
On 05/24/2012 11:47 AM, deadalnix wrote: 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!

Re: Visual D 0.3.32 maintenance release

2012-05-24 Thread Don Clugston
On 13/05/12 21:28, Walter Bright wrote: On 5/13/2012 5:31 AM, Rainer Schuetze wrote: With the workflow of bugzilla/svn it was just copy and pasting the diff into the bug report. I understand it is easier on Walter's side, though. Yes, it is definitely easier on my side. But consider that the

Re: Visual D 0.3.32 maintenance release

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 09:30:01 -0400, Don Clugston d...@nospam.com wrote: On 13/05/12 21:28, Walter Bright wrote: On 5/13/2012 5:31 AM, Rainer Schuetze wrote: With the workflow of bugzilla/svn it was just copy and pasting the diff into the bug report. I understand it is easier on Walter's side,

Re: Visual D 0.3.32 maintenance release

2012-05-24 Thread David Nadlinger
On Thursday, 24 May 2012 at 13:30:03 UTC, Don Clugston wrote: Would be good to know why. Probably (warning: unverified hypothesis ahead) because Phobos has much less »clear-cut« bugs – often, it's missing/restricted/clumsy functionality instead of obvious bugs. Also, Bugzilla has something

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread David Nadlinger
On Thursday, 24 May 2012 at 12:26:10 UTC, Russel Winder wrote: ACCU 2013 will be preceded by or followed by the C++ standards committee meeting, so the committee will be there. A good reason to have more D than C++ seessions :-) Great idea – but wasn't ACCU one of those conferences that are

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Robert Clipsham
On 24/05/2012 15:59, David Nadlinger wrote: On Thursday, 24 May 2012 at 12:26:10 UTC, Russel Winder wrote: ACCU 2013 will be preceded by or followed by the C++ standards committee meeting, so the committee will be there. A good reason to have more D than C++ seessions :-) Great idea – but

Re: D Conference 2012 - Sep 26-29 at the Banker's Suite and Ballroom in Astoria, Oregon

2012-05-24 Thread Paul D. Anderson
Here it is! http://astoriaseminar.com/index.html On Thursday, 17 May 2012 at 21:38:32 UTC, Paul D. Anderson wrote: On Wednesday, 22 February 2012 at 22:07:26 UTC, Walter Bright wrote: Pricing isn't set yet, nor has a web site been set up yet, this is just a heads up to reserve the dates on

Re: Visual D 0.3.32 maintenance release

2012-05-24 Thread Artur Skawina
On 05/24/12 15:52, Steven Schveighoffer wrote: On Thu, 24 May 2012 09:30:01 -0400, Don Clugston d...@nospam.com wrote: On 13/05/12 21:28, Walter Bright wrote: On 5/13/2012 5:31 AM, Rainer Schuetze wrote: With the workflow of bugzilla/svn it was just copy and pasting the diff into the bug

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Russel Winder
On Thu, 2012-05-24 at 16:59 +0200, David Nadlinger wrote: [...] Great idea – but wasn't ACCU one of those conferences that are prohibitively expensive if your trip isn't paid by some company (might misremember that, though)? Being a student sucks… ;) U yes. It is a relatively

Re: Robert Schadek's Distributed Multithreaded Caching D Compiler

2012-05-24 Thread Nick Sabalausky
Regan Heath re...@netmail.co.nz wrote in message news:op.wes9aqg154x...@puck.auriga.bhead.co.uk... On Thu, 24 May 2012 11:56:56 +0100, Jacob Carlborg d...@me.com wrote: On 2012-05-24 11:47, deadalnix wrote: Why not attend? I'd love to do that, but it will be impossible for me. Coming from

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 07:42, Walter Bright wrote: Pretty much that. However, this requires that the user install git first. dget is all about reducing friction. dget can also be extended to get things from other repositories without changing the user interface, and it can have a builtin mapping of

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 07:57, Walter Bright wrote: And dget is a one or two day project, and doesn't require much of any design. Then suddenly you want to be able to easily download dependencies and install all code in a central location on disk, i.e. a package manager. But since the original tool

Re: GitHub for Windows

2012-05-24 Thread Nick Sabalausky
Sean Kelly s...@invisibleduck.org wrote in message news:mailman.1031.1337823511.24740.digitalmar...@puremagic.com... On May 23, 2012, at 3:06 PM, Walter Bright newshou...@digitalmars.com wrote: On 5/22/2012 2:55 PM, Nick Sabalausky wrote: I'm sure Google Docs is fast(-ish) on that 64-bit

Re: Does D have structural sharing of immutable collections?

2012-05-24 Thread Roman D. Boiko
On Thursday, 24 May 2012 at 01:00:52 UTC, Jonathan M Davis wrote: As part of my thesis work, I wrote a program which was counting possible tokens in code (as part of an AI attempting to learn about a programming language), which required a map of tokens to the number of times that they'd been

Re: GitHub for Windows

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 08:48, Nick Sabalausky wrote: If the app is designed correctly, it won't involve a browser in the first place. So true, so true. -- /Jacob Carlborg

Re: GitHub for Windows

2012-05-24 Thread simendsjo
On Thu, 24 May 2012 00:03:59 +0200, Walter Bright newshou...@digitalmars.com wrote: On 5/23/2012 2:57 PM, Steven Schveighoffer wrote: On Wed, 23 May 2012 16:29:36 -0400, Steven Schveighoffer schvei...@yahoo.com wrote: On Wed, 23 May 2012 16:04:30 -0400, Walter Bright

Re: Is the D community lacking development tools?

2012-05-24 Thread Mikael Lindsten
On Tuesday, 22 May 2012 at 11:21:14 UTC, Roman D. Boiko wrote: On Tuesday, 22 May 2012 at 10:59:04 UTC, Jacob Carlborg wrote: On 2012-05-22 12:03, Roman D. Boiko wrote: http://d-coding.com/2012/05/22/is-the-d-community-lacking-development-tools.html I agree with basically everything in that

Re: GitHub for Windows

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 07:13:06 UTC, Jacob Carlborg wrote: On 2012-05-24 08:48, Nick Sabalausky wrote: If the app is designed correctly, it won't involve a browser in the first place. So true, so true. Where is the Like button? :)

Re: Is the D community lacking development tools?

2012-05-24 Thread Roman D. Boiko
On Thursday, 24 May 2012 at 07:55:28 UTC, Mikael Lindsten wrote: On Tuesday, 22 May 2012 at 11:21:14 UTC, Roman D. Boiko wrote: On Tuesday, 22 May 2012 at 10:59:04 UTC, Jacob Carlborg wrote: On 2012-05-22 12:03, Roman D. Boiko wrote:

Re: dget - getting code from github

2012-05-24 Thread Russel Winder
On Wed, 2012-05-23 at 16:14 -0700, Walter Bright wrote: Currently, getting D code from github is a multistep process, that isn't always obvious. I propose the creation of a dget program, which will: Sounds like you are asking for the same thing that the go program provides for Go. Except

Re: GitHub for Windows

2012-05-24 Thread Dmitry Olshansky
On 24.05.2012 0:04, Walter Bright wrote: On 5/22/2012 9:13 AM, Andrei Alexandrescu wrote: Macs computers are the first laptops reliable enough to be handled as an appliance - e.g. the sleep mode works well enough that I can casually lift the laptop off the couch while watching TV, open it,

Re: dget - getting code from github

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 08:13:29 UTC, Russel Winder wrote: On Wed, 2012-05-23 at 16:14 -0700, Walter Bright wrote: Currently, getting D code from github is a multistep process, that isn't always obvious. I propose the creation of a dget program, which will: Sounds like you are asking for

Re: dget - getting code from github

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 05:51:38 UTC, Jonathan M Davis wrote: On Thursday, May 24, 2012 12:45:57 Ary Manzana wrote: I think it's better to focus on a package manager that will make this 'dget' program obsolete. Though dget would be a pretty good name for a D package manager. - Jonathan

Re: Does D have structural sharing of immutable collections?

2012-05-24 Thread Paulo Pinto
On Wednesday, 23 May 2012 at 21:12:04 UTC, Jonathan M Davis wrote: On Wednesday, May 23, 2012 20:51:31 Roman D. Boiko wrote: On Wednesday, 23 May 2012 at 18:39:02 UTC, Stewart Gordon wrote: On 23/05/2012 16:05, Roman D. Boiko wrote: snip I need some immutable collections for my D Compiler

Re: forcing weak purity

2012-05-24 Thread Don Clugston
On 24/05/12 02:26, Alex Rønne Petersen wrote: On 23-05-2012 19:16, deadalnix wrote: Le 23/05/2012 17:29, Don Clugston a écrit : There's a huge difference between a global collection *may* be performed from a pure function vs it *must* be possible to force a global collection from a pure

Re: GitHub for Windows

2012-05-24 Thread Nick Sabalausky
Walter Bright newshou...@digitalmars.com wrote in message news:jpjmkb$1mm6$1...@digitalmars.com... I find the new Win7 to be much too clever. I think that's a very good way of putting it. For example, if you move a window up against the top edge of the screen, it switches to full screen.

Re: GitHub for Windows

2012-05-24 Thread Nick Sabalausky
Paulo Pinto pj...@progtools.org wrote in message news:tvtwsxghjzkkuczrb...@forum.dlang.org... On Thursday, 24 May 2012 at 07:13:06 UTC, Jacob Carlborg wrote: On 2012-05-24 08:48, Nick Sabalausky wrote: If the app is designed correctly, it won't involve a browser in the first place. So

Re: GitHub for Windows

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 09:30:06 UTC, Nick Sabalausky wrote: Paulo Pinto pj...@progtools.org wrote in message news:tvtwsxghjzkkuczrb...@forum.dlang.org... On Thursday, 24 May 2012 at 07:13:06 UTC, Jacob Carlborg wrote: On 2012-05-24 08:48, Nick Sabalausky wrote: If the app is designed

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 02:23, Alex Rønne Petersen wrote: Maybe this should be part of whatever package manager the community ends up using. I think several people have been / are working on such programs. I still am, although slowly:

Re: GitHub for Windows

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 09:56, Paulo Pinto wrote: On Thursday, 24 May 2012 at 07:13:06 UTC, Jacob Carlborg wrote: On 2012-05-24 08:48, Nick Sabalausky wrote: If the app is designed correctly, it won't involve a browser in the first place. So true, so true. Where is the Like button? :) We don't

Re: dget - getting code from github

2012-05-24 Thread Russel Winder
On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an language without official package manager support, I curse myself. On the other hand Debian, Fedora, FreeBSD, MacOSX, etc. already have package managements systems. A problem is that Windows

Re: dget - getting code from github

2012-05-24 Thread Russel Winder
On Thu, 2012-05-24 at 10:29 +0200, Paulo Pinto wrote: [...] Go get still has an issue with version dependencies, as it gets latest. I wasn't trying to say it was perfect, apologies if that impression came across. I was trying to say that there was a model of source code organization for

Re: dget - getting code from github

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 11:50, Russel Winder wrote: On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an language without official package manager support, I curse myself. On the other hand Debian, Fedora, FreeBSD, MacOSX, etc. already have package

Re: GitHub for Windows

2012-05-24 Thread Nick Sabalausky
Dmitry Olshansky dmitry.o...@gmail.com wrote in message news:jpkqol$rmt$1...@digitalmars.com... 3. erratic issues with sharing directories. Sharing was simple with XP - one click to share, another to unshare. Win7 has a maze of dialog boxes and alternate ways of doing it, some work, some

Re: Who said that Node.js scales ?

2012-05-24 Thread Sönke Ludwig
Am 23.05.2012 16:46, schrieb Kagamin: On Wednesday, 23 May 2012 at 13:42:34 UTC, Sönke Ludwig wrote: http://news.rejectedsoftware.com/ Looks like it runs on Node.js :) Why so slow? ;) Actually, I'm not sure. It runs fast for me at least now and it could be that I was still doing

Re: GitHub for Windows

2012-05-24 Thread Nick Sabalausky
Jacob Carlborg d...@me.com wrote in message news:jpkvqi$153n$1...@digitalmars.com... We don't want Like buttons and similar. That's why we use newsgroups, mailing lists and so on. That similes are displayed as images (in Thunderbird at least) is almost too much. :) It may sound petty, and

Re: tuple of ranges - findSplit

2012-05-24 Thread Dmitry Olshansky
On 24.05.2012 1:56, Tove wrote: I'm currently designing an interface, which conceptually is similar to findSplit... so I decided to peek at/learn from Phobos... findSplit returns a tuple result containing three ranges tuple(haystack[0 .. pos1],haystack[pos1 .. pos2], haystack[pos2 ..

Re: GitHub for Windows

2012-05-24 Thread Nick Sabalausky
Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.wer3hmsreav7ka@steves-laptop... On Tue, 22 May 2012 06:54:23 -0400, Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: Oh, so it's that time of the week again already? Time for MS to change their minds once again on

Re: dget - getting code from github

2012-05-24 Thread Tobias Pankrath
On Thursday, 24 May 2012 at 09:50:33 UTC, Russel Winder wrote: On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an language without official package manager support, I curse myself. On the other hand Debian, Fedora, FreeBSD, MacOSX, etc. already

Re: GitHub for Windows

2012-05-24 Thread Mirko Pilger
And Vista doesn't pop-up tons of shit everytime the pointer gets near the bottom of the screen. I'd never be able to get any work done if I had (barely-distinguishable) mini-screenshots constantly popping up to help me all time like Win7 loves to do. just turn aero off. the win 7 desktop then

Re: GitHub for Windows

2012-05-24 Thread Mirko Pilger
We don't want Like buttons and similar. That's why we use newsgroups, mailing lists and so on. That similes are displayed as images (in Thunderbird at least) is almost too much. :) i've never seen smilies in mails or ng posts using thunderbird. dunno. i guess i turned it off ages ago.

Re: GitHub for Windows

2012-05-24 Thread Dmitry Olshansky
On 24.05.2012 13:58, Nick Sabalausky wrote: - There's a Vista laptop I sometimes borrow usage of. When transferring files with my XP machine, I used to use Win file sharing (always seemed to be good enough on XP--XP setups). It worked fine for awhile, and then one day without warning it

Re: dget - getting code from github

2012-05-24 Thread Kevin Cox
On May 24, 2012 6:43 AM, Tobias Pankrath tob...@pankrath.net wrote: On Thursday, 24 May 2012 at 09:50:33 UTC, Russel Winder wrote: On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an language without official package manager support, I curse

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 11:50, Russel Winder wrote: On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an language without official package manager support, I curse myself. On the other hand Debian, Fedora, FreeBSD, MacOSX, etc. already have package

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 12:02, Alex Rønne Petersen wrote: Huh, it does? I've always found those tools ridiculously easy and great to work with. I've also found those very easy to use. -- /Jacob Carlborg

Re: dget - getting code from github

2012-05-24 Thread Tobias Pankrath
Also, for switching versions all you have to do is change on variable. I'm sure there are things like this for other systems but I use arch and I see a solution to your problem. I'm using arch, too. The problem are the people, who don't :-) In the end, it should be possible to just get

Re: dget - getting code from github

2012-05-24 Thread Kevin Cox
On May 24, 2012 7:03 AM, Jacob Carlborg d...@me.com wrote: Mac OS X doesn't have one out of the box, App Store doesn't count. -- /Jacob Carlborg IIRC there is one that a ton of people use, is it called macports?

Re: dget - getting code from github

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 10:50:57 UTC, Kevin Cox wrote: On May 24, 2012 6:43 AM, Tobias Pankrath tob...@pankrath.net wrote: On Thursday, 24 May 2012 at 09:50:33 UTC, Russel Winder wrote: On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an

Re: dget - getting code from github

2012-05-24 Thread Kevin Cox
On May 24, 2012 7:08 AM, Tobias Pankrath tob...@pankrath.net wrote: I'm using arch, too. The problem are the people, who don't :-) I know what you are saying but package managers were beautiful things that made it stupidly simple to install software. But we are slowly going back to windoze

Re: dget - getting code from github

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 09:53:38 UTC, Russel Winder wrote: On Thu, 2012-05-24 at 10:29 +0200, Paulo Pinto wrote: [...] Go get still has an issue with version dependencies, as it gets latest. I wasn't trying to say it was perfect, apologies if that impression came across. I was trying to

Re: dget - getting code from github

2012-05-24 Thread Ary Manzana
On 5/24/12 6:08 PM, Kevin Cox wrote: On May 24, 2012 7:03 AM, Jacob Carlborg d...@me.com mailto:d...@me.com wrote: Mac OS X doesn't have one out of the box, App Store doesn't count. -- /Jacob Carlborg IIRC there is one that a ton of people use, is it called macports? That, bust

Re: dget - getting code from github

2012-05-24 Thread Regan Heath
On Thu, 24 May 2012 10:50:15 +0100, Russel Winder rus...@winder.org.uk wrote: On Thu, 2012-05-24 at 10:34 +0200, Paulo Pinto wrote: [...] Every time I need to do something in an language without official package manager support, I curse myself. On the other hand Debian, Fedora, FreeBSD,

Re: Let's schedule WinAPI ASCII functions for deprecation!

2012-05-24 Thread Regan Heath
On Wed, 23 May 2012 20:54:44 +0100, Jacob Carlborg d...@me.com wrote: On 2012-05-23 20:34, Stewart Gordon wrote: What is C encoding? Since C doesn't really have a concept of encodings it would be whatever a given application/library decides it is. All the more reason to use byte/ubyte

Re: Let's schedule WinAPI ASCII functions for deprecation!

2012-05-24 Thread Regan Heath
On Wed, 23 May 2012 21:13:47 +0100, Michael p...@m1xa.com wrote: approximately 32,000 characters... I know it ;) But it's platform specific kung-fu. And, if you start to dig a bit things can get a bit hairy in places:

Re: Let's schedule WinAPI ASCII functions for deprecation!

2012-05-24 Thread Denis Shelomovskij
23.05.2012 0:41, Walter Bright написал: Secondly, as a matter of principle, we are not going to fix, improve, refactor, or re-engineer the Windows API, nor any other operating system API, nor the C Standard Library, no matter how tempting that may be. The job of the D interface modules is to

C linkage is fun

2012-05-24 Thread Alex Rønne Petersen
Just a little gotcha I ran into today: import core.memory; extern (C) void gc_collect() { assert(false, nope!); } void main() { GC.collect(); } -- Alex Rønne Petersen a...@lycus.org http://lycus.org

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 13:30, Regan Heath wrote: Odd.. a language specific package support would mean /one/ set of steps/documentation/etc for telling new users how to do it, instead of a vague check your platform documentation or similar. Plus, having language specific tools means complete control of

Re: dget - getting code from github

2012-05-24 Thread Jacob Carlborg
On 2012-05-24 13:08, Kevin Cox wrote: On May 24, 2012 7:03 AM, Jacob Carlborg d...@me.com mailto:d...@me.com wrote: Mac OS X doesn't have one out of the box, App Store doesn't count. -- /Jacob Carlborg IIRC there is one that a ton of people use, is it called macports? Yes, but

Re: C linkage is fun

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 14:06, Alex Rønne Petersen wrote: Just a little gotcha I ran into today: import core.memory; extern (C) void gc_collect() { assert(false, nope!); } void main() { GC.collect(); } BTW, this is particularly fun if your gc_collect function has arguments and tries to read those!

Re: C linkage is fun

2012-05-24 Thread Robert Clipsham
On 24/05/2012 13:06, Alex Rønne Petersen wrote: Just a little gotcha I ran into today: import core.memory; extern (C) void gc_collect() { assert(false, nope!); } void main() { GC.collect(); } I believe this is by design - the linker will only look for gc_collect() in a library if it isn't

Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed to arbitrarily leak and the programmer has to actually expect this to happen? I really, really hope that this is

Live code analysis in DCT

2012-05-24 Thread Roman D. Boiko
http://d-coding.com/2012/05/24/performing-live-analysis-in-dct.html

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Thor
On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed to arbitrarily leak and the programmer has

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 14:33, Thor wrote: On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed to

Re: C linkage is fun

2012-05-24 Thread Paulo Pinto
On Thursday, 24 May 2012 at 12:18:14 UTC, Robert Clipsham wrote: On 24/05/2012 13:06, Alex Rønne Petersen wrote: Just a little gotcha I ran into today: import core.memory; extern (C) void gc_collect() { assert(false, nope!); } void main() { GC.collect(); } I believe this is by design -

Re: GitHub for Windows

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 06:29:25 -0400, Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.wer3hmsreav7ka@steves-laptop... Although I would replace Vista in your narrative with Win7. Vista was a horrible abortion that

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Michel Fortin
On 2012-05-24 12:21:01 +, Alex Rønne Petersen a...@lycus.org said: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed to arbitrarily leak and the programmer

Re: GitHub for Windows

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 03:23:24 -0400, simendsjo simend...@gmail.com wrote: On Thu, 24 May 2012 00:03:59 +0200, Walter Bright newshou...@digitalmars.com wrote: On 5/23/2012 2:57 PM, Steven Schveighoffer wrote: On Wed, 23 May 2012 16:29:36 -0400, Steven Schveighoffer schvei...@yahoo.com

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Thor
On Thursday, 24 May 2012 at 12:38:45 UTC, Alex Rønne Petersen wrote: On 24-05-2012 14:33, Thor wrote: On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Peter Alexander
On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed to arbitrarily leak and the programmer has

Re: GitHub for Windows

2012-05-24 Thread simendsjo
On Thu, 24 May 2012 14:45:50 +0200, Steven Schveighoffer schvei...@yahoo.com wrote: On Thu, 24 May 2012 03:23:24 -0400, simendsjo simend...@gmail.com wrote: On Thu, 24 May 2012 00:03:59 +0200, Walter Bright newshou...@digitalmars.com wrote: I checked that, but there was some other issue

Re: forcing weak purity

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 04:58:56 -0400, Don Clugston d...@nospam.com wrote: On 24/05/12 02:26, Alex Rønne Petersen wrote: On 23-05-2012 19:16, deadalnix wrote: Le 23/05/2012 17:29, Don Clugston a écrit : There's a huge difference between a global collection *may* be performed from a pure

Re: Live code analysis in DCT

2012-05-24 Thread dennis luehring
Am 24.05.2012 14:25, schrieb Roman D. Boiko: http://d-coding.com/2012/05/24/performing-live-analysis-in-dct.html for ideas look at the (dead) decent ide - nice examples of great features http://www.youtube.com/user/asterite compile-time view

Re: Does D have structural sharing of immutable collections?

2012-05-24 Thread Craig Dillabaugh
On Wednesday, 23 May 2012 at 22:39:33 UTC, Roman D. Boiko wrote: On Wednesday, 23 May 2012 at 22:25:35 UTC, Steven Schveighoffer wrote: I looked up how it could be done, the one thing I was not sure of was the parent node. If you can have multiple references to the same subtree, how do you

Re: Live code analysis in DCT

2012-05-24 Thread Joseph Rushton Wakeling
On 24/05/12 14:25, Roman D. Boiko wrote: http://d-coding.com/2012/05/24/performing-live-analysis-in-dct.html Regarding another one of your posts (since I don't see a way to comment on your blog), you wrote Please note, that DCT license is Boost and I would like to keep this license for all

Re: Does D have structural sharing of immutable collections?

2012-05-24 Thread Roman D. Boiko
On Thursday, 24 May 2012 at 13:15:30 UTC, Craig Dillabaugh wrote: I am not sure if I entirely understand your problem, but would a persistent search tree work? See: http://www.sciencedirect.com/science/article/pii/002289900342 I have a small write up on them from a course I took years ago:

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 08:54:45 -0400, Peter Alexander peter.alexander...@gmail.com wrote: On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced

Re: Destructor nonsense on dlang.org

2012-05-24 Thread deadalnix
Le 24/05/2012 14:54, Peter Alexander a écrit : On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 09:47:23 -0400, deadalnix deadal...@gmail.com wrote: Le 24/05/2012 14:54, Peter Alexander a écrit : On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Michel Fortin
On 2012-05-24 13:38:01 +, Steven Schveighoffer schvei...@yahoo.com said: However, I'd tend to believe Java implementations will attempt to invoke all finalizers of objects left on the heap at program shutdown. In Java you can call System.runFinalizersOnExit(true), but the default is

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Russel Winder
On Thu, 2012-05-24 at 09:38 -0400, Steven Schveighoffer wrote: [...] However, I'd tend to believe Java implementations will attempt to invoke all finalizers of objects left on the heap at program shutdown. As far as I am aware Java implementations do no finalization on exit unless

Re: Sparse matrix solver libraries

2012-05-24 Thread Jens Mueller
Vic Kelson wrote: On Wednesday, 23 May 2012 at 15:27:54 UTC, Trass3r wrote: You might want to check out https://github.com/cristicbz/scid I had found scid. For some of my work, BLAS and LAPACK are fine (full matrices), and I can use it for small problems on this project. But for large

Re: Live code analysis in DCT

2012-05-24 Thread Ary Manzana
On 5/24/12 20:02 , dennis luehring wrote: Am 24.05.2012 14:25, schrieb Roman D. Boiko: http://d-coding.com/2012/05/24/performing-live-analysis-in-dct.html for ideas look at the (dead) decent ide - nice examples of great features http://www.youtube.com/user/asterite Maybe this playlist is

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 14:48, Thor wrote: On Thursday, 24 May 2012 at 12:38:45 UTC, Alex Rønne Petersen wrote: On 24-05-2012 14:33, Thor wrote: On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 15:49, Steven Schveighoffer wrote: On Thu, 24 May 2012 09:47:23 -0400, deadalnix deadal...@gmail.com wrote: Le 24/05/2012 14:54, Peter Alexander a écrit : On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The

Re: Live code analysis in DCT

2012-05-24 Thread Roman D. Boiko
On Thursday, 24 May 2012 at 14:23:27 UTC, Ary Manzana wrote: On 5/24/12 20:02 , dennis luehring wrote: Am 24.05.2012 14:25, schrieb Roman D. Boiko: http://d-coding.com/2012/05/24/performing-live-analysis-in-dct.html for ideas look at the (dead) decent ide - nice examples of great features

Re: Live code analysis in DCT

2012-05-24 Thread Roman D. Boiko
On Thursday, 24 May 2012 at 13:21:58 UTC, Joseph Rushton Wakeling wrote: [from here: http://d-coding.com/2012/05/24/contributing-to-dct.html ] Is there any real reason for such a decision, beyond aesthetics? The whole point of permissive licences such as MIT and Boost is that you can

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 15:38, Steven Schveighoffer wrote: On Thu, 24 May 2012 08:54:45 -0400, Peter Alexander peter.alexander...@gmail.com wrote: On Thursday, 24 May 2012 at 12:21:02 UTC, Alex Rønne Petersen wrote: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 16:00, Michel Fortin wrote: On 2012-05-24 13:38:01 +, Steven Schveighoffer schvei...@yahoo.com said: However, I'd tend to believe Java implementations will attempt to invoke all finalizers of objects left on the heap at program shutdown. In Java you can call

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 16:03, Russel Winder wrote: On Thu, 2012-05-24 at 09:38 -0400, Steven Schveighoffer wrote: [...] However, I'd tend to believe Java implementations will attempt to invoke all finalizers of objects left on the heap at program shutdown. As far as I am aware Java implementations do

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Alex Rønne Petersen
On 24-05-2012 14:43, Michel Fortin wrote: On 2012-05-24 12:21:01 +, Alex Rønne Petersen a...@lycus.org said: Hi, http://dlang.org/class.html#Destructor The garbage collector is not guaranteed to run the destructor for all unreferenced objects. What the *hell*? So resources are allowed

Re: dget - getting code from github

2012-05-24 Thread David Nadlinger
On Wednesday, 23 May 2012 at 23:14:19 UTC, Walter Bright wrote: Anyone want to implement such? It ought to be fairly straightforward, and will be a nice timesaver for a lot of people. Oh, and maybe I'm a bit to pessimistic on that, but a project that takes »only one or two days« and »doesn't

Re: Destructor nonsense on dlang.org

2012-05-24 Thread Steven Schveighoffer
On Thu, 24 May 2012 10:30:02 -0400, Alex Rønne Petersen a...@lycus.org wrote: On 24-05-2012 15:49, Steven Schveighoffer wrote: On Thu, 24 May 2012 09:47:23 -0400, deadalnix deadal...@gmail.com wrote: Le 24/05/2012 14:54, Peter Alexander a écrit : On Thursday, 24 May 2012 at 12:21:02

  1   2   3   >