Re: Livestreaming DConf?

2014-05-10 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/9/14, 5:28 PM, Kapps wrote: This would be cool, but I'd hope that it doesn't replace having videos posted to be viewable afterwards. Recording the talks is already a done deal. -- Andrei

Re: Livestreaming DConf?

2014-05-10 Thread Joseph Cassman via Digitalmars-d-announce
On Saturday, 10 May 2014 at 06:27:06 UTC, Andrei Alexandrescu wrote: On 5/9/14, 5:28 PM, Kapps wrote: This would be cool, but I'd hope that it doesn't replace having videos posted to be viewable afterwards. Recording the talks is already a done deal. -- Andrei Awesomeness! Joseph

Re: Livestreaming DConf?

2014-05-10 Thread Philpax via Digitalmars-d-announce
I'd definitely be interested in a stream. Looking forward to watching everyone's talks :)

Re: Livestreaming DConf?

2014-05-10 Thread luka8088 via Digitalmars-d-announce
On 9.5.2014. 21:48, Andrei Alexandrescu wrote: Hi folks, We at Facebook are very excited about the upcoming DConf 2014. In fact, so excited we're considering livestreaming the event for the benefit of the many of us who can't make it to Menlo Park, CA. Livestreaming entails additional

Re: Livestreaming DConf?

2014-05-10 Thread Mike Parker via Digitalmars-d-announce
On 5/10/2014 4:48 AM, Andrei Alexandrescu wrote: Hi folks, We at Facebook are very excited about the upcoming DConf 2014. In fact, so excited we're considering livestreaming the event for the benefit of the many of us who can't make it to Menlo Park, CA. Livestreaming entails additional costs

Re: Livestreaming DConf?

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-05-09 21:48, Andrei Alexandrescu wrote: Hi folks, We at Facebook are very excited about the upcoming DConf 2014. In fact, so excited we're considering livestreaming the event for the benefit of the many of us who can't make it to Menlo Park, CA. Livestreaming entails additional costs

New DCD and D-Scanner betas

2014-05-10 Thread Brian Schott via Digitalmars-d-announce
Tags: https://github.com/Hackerpilot/DCD/tree/0.3.0-beta5 https://github.com/Hackerpilot/Dscanner/tree/0.1.0-beta4 Diffs: https://github.com/Hackerpilot/Dscanner/compare/0.1.0-beta3...0.1.0-beta4 https://github.com/Hackerpilot/DCD/compare/0.3.0-beta4...0.3.0-beta5 DCD highlights: Now

Re: New DCD and D-Scanner betas

2014-05-10 Thread Brian Schott via Digitalmars-d-announce
Quick reminder: Please use the Github issue trackers instead of posting bug reports here.

Re: Emacs users: flycheck-dmd-dub

2014-05-10 Thread Atila Neves via Digitalmars-d-announce
Now using dub describe. Installable from melpa. On Thursday, 20 March 2014 at 07:17:04 UTC, Sönke Ludwig wrote: Am 19.03.2014 00:16, schrieb Atila Neves: V0.0.4 now supports both package.json and dub.json Atila There is one change that I would highly recommend - using the output of dub

Re: Livestreaming DConf?

2014-05-10 Thread Joakim via Digitalmars-d-announce
On Friday, 9 May 2014 at 19:48:20 UTC, Andrei Alexandrescu wrote: Hi folks, We at Facebook are very excited about the upcoming DConf 2014. In fact, so excited we're considering livestreaming the event for the benefit of the many of us who can't make it to Menlo Park, CA. Livestreaming

Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk

2014-05-10 Thread Jordi Sayol via Digitalmars-d-announce
There are new deb packages for TkD v1.0.3 beta, available at http://d-apt.sourceforge.net/ To install: $ sudo apt-get install libtkd-dev libtkd-doc To compile the TkD example (static linking): $ dmd `pkg-config --cflags --libs tkd-static` -J/usr/share/libtkd-doc/example/media/

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 10 May 2014 07:05, Wyatt via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 May 2014 at 16:12:00 UTC, Manu via Digitalmars-d wrote: I've been digging into research on the subject while I wait for test scripts to run, and my gut feeling is it's definitely possible to get GC at

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Paulo Pinto via Digitalmars-d
Am 10.05.2014 08:27, schrieb Manu via Digitalmars-d: On 10 May 2014 07:05, Wyatt via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 May 2014 at 16:12:00 UTC, Manu via Digitalmars-d wrote: ... The only option I know that works is Obj-C's solution, as demonstrated by a very

Re: -nofloat flag = should we destroy it?

2014-05-10 Thread Daniel Murphy via Digitalmars-d
Adam Sakareassen via Digitalmars-d wrote in message news:mailman.510.1399697057.2907.digitalmar...@puremagic.com... No float is probably important for OS kernel and device driver developers. The kernel of an operating system will usually not save the floating point registers during a

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Andrei Alexandrescu via Digitalmars-d
On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may potentially freeze execution. I am certain I would never notice ARC overhead on a profiler, and if I did, there are very simple methods to shift it elsewhere in the few specific

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Francesco Cattoglio via Digitalmars-d
On Saturday, 10 May 2014 at 07:08:04 UTC, Andrei Alexandrescu wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may potentially freeze execution. I am certain I would never notice ARC overhead on a profiler, and if I did,

Re: More radical ideas about gc and reference counting

2014-05-10 Thread w0rp via Digitalmars-d
On Saturday, 10 May 2014 at 07:42:05 UTC, Francesco Cattoglio wrote: On Saturday, 10 May 2014 at 07:08:04 UTC, Andrei Alexandrescu wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may potentially freeze execution. I am

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 10 May 2014 at 06:53:07 UTC, Paulo Pinto wrote: Am 10.05.2014 08:27, schrieb Manu via Digitalmars-d: On 10 May 2014 07:05, Wyatt via Digitalmars-d The problem when comparing iOS with Android, is that we aren't comparing ARC with GC. We are comparing a full OS, which we don't

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Nick B via Digitalmars-d
On Saturday, 10 May 2014 at 08:18:30 UTC, w0rp wrote: I've seen this discussion (it's almost performance-free, it's a performance killer) so many times, I can't even say who has the burden of proof anymore. I wish that someone would take the time and implement ARC in D. That's the only

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Xavier Bigand via Digitalmars-d
Le 10/05/2014 01:31, Francesco Cattoglio a écrit : On Friday, 9 May 2014 at 21:05:18 UTC, Wyatt wrote: But conversely, Manu, something has been bothering me: aren't you restricted from using most libraries anyway, even in C++? Decent or acceptable performance isn't anywhere near maximum, so

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Mike Parker via Digitalmars-d
On 5/10/2014 6:05 AM, Wyatt wrote: On Friday, 9 May 2014 at 16:12:00 UTC, Manu via Digitalmars-d wrote: Let's also bear in mind that Java's GC is worlds ahead of D's. Is Sun/Oracle reference implementation actually any good? Yes. Given all the man hours that have gone into it over the

Add support for Dub to DWT

2014-05-10 Thread Jacob Carlborg via Digitalmars-d
Cross-posting to get noticed: http://forum.dlang.org/thread/lkkrij$1r3j$1...@digitalmars.com#post-lkkrij:241r3j:241:40digitalmars.com -- /Jacob Carlborg

Re: More on Rust language

2014-05-10 Thread Douglas Peterson via Digitalmars-d
Rust is quite seductive (own point of view of course) in its traits system. They've found the right median line between OOP and TMP. I mean it's a realy nice concept.

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Xavier Bigand via Digitalmars-d
Le 10/05/2014 08:53, Paulo Pinto a écrit : Am 10.05.2014 08:27, schrieb Manu via Digitalmars-d: On 10 May 2014 07:05, Wyatt via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 May 2014 at 16:12:00 UTC, Manu via Digitalmars-d wrote: ... The only option I know that works is

Re: Parallel execution of unittests

2014-05-10 Thread Jacob Carlborg via Digitalmars-d
On 2014-05-09 13:57, Dicebot wrote: This is redundant as D unittest blocks are associated with symbols they are placed next to. I prefer to keep my tests in a separate directory. It introduces bunch of artificial annotations for something that can be taken care of by a single attribute as a

Re: More on Rust language

2014-05-10 Thread Xavier Bigand via Digitalmars-d
Le 10/05/2014 11:35, Douglas Peterson a écrit : Rust is quite seductive (own point of view of course) in its traits system. They've found the right median line between OOP and TMP. I mean it's a realy nice concept. Have you a direct link about traits? Cause I am almost unable to see their

Re: More on Rust language

2014-05-10 Thread Araq via Digitalmars-d
It increases the complexity to reason about code. No, that's wrong. Why it is wrong? Because it is much harder to reason about the same things without type system support.

Re: Ranges of char and wchar

2014-05-10 Thread Peter Alexander via Digitalmars-d
On Thursday, 8 May 2014 at 21:38:12 UTC, Andrei Alexandrescu wrote: Interesting. So then the range returned by format() will save everything passed to it, which means... int fun(int[] a) { auto before = format(Before: %s, a); foreach (ref e; a) ++e; auto after = format(After: %s, a);

Re: More on Rust language

2014-05-10 Thread Dicebot via Digitalmars-d
On Saturday, 10 May 2014 at 11:43:29 UTC, Xavier Bigand wrote: Le 10/05/2014 11:35, Douglas Peterson a écrit : Rust is quite seductive (own point of view of course) in its traits system. They've found the right median line between OOP and TMP. I mean it's a realy nice concept. Have you a

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 10 May 2014 19:07, Xavier Bigand via Digitalmars-d digitalmars-d@puremagic.com wrote: Le 10/05/2014 01:31, Francesco Cattoglio a écrit : On Friday, 9 May 2014 at 21:05:18 UTC, Wyatt wrote: But conversely, Manu, something has been bothering me: aren't you restricted from using most

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 10 May 2014 16:53, Paulo Pinto via Digitalmars-d digitalmars-d@puremagic.com wrote: Am 10.05.2014 08:27, schrieb Manu via Digitalmars-d: On 10 May 2014 07:05, Wyatt via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 May 2014 at 16:12:00 UTC, Manu via Digitalmars-d wrote:

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may potentially freeze execution. I am certain I would never notice ARC overhead on

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 10 May 2014 19:43, Xavier Bigand via Digitalmars-d digitalmars-d@puremagic.com wrote: I don't know well WP8 models, but this one must run smoothly : http://www.nokia.com/fr-fr/mobiles/telephone-portable/lumia1320/fiche-technique/ Just like Android phones, the battery is huge : 3400mAh It's

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Dicebot via Digitalmars-d
On Saturday, 10 May 2014 at 13:33:40 UTC, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Peter Alexander via Digitalmars-d
On Saturday, 10 May 2014 at 13:50:05 UTC, Dicebot wrote: On Saturday, 10 May 2014 at 13:33:40 UTC, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Peter Alexander via Digitalmars-d
On Saturday, 10 May 2014 at 13:33:40 UTC, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Xavier Bigand via Digitalmars-d
Le 10/05/2014 15:25, Manu via Digitalmars-d a écrit : On 10 May 2014 19:07, Xavier Bigand via Digitalmars-d digitalmars-d@puremagic.com wrote: Le 10/05/2014 01:31, Francesco Cattoglio a écrit : On Friday, 9 May 2014 at 21:05:18 UTC, Wyatt wrote: But conversely, Manu, something has been

Re: [OT] Go officially won't get generics

2014-05-10 Thread Nick Treleaven via Digitalmars-d
On 09/05/2014 18:25, brad clawsie wrote: The official mailing list has practically no mention of generics anymore. I think it comes up fairly regularly, despite the ML regulars being very anti-generics. This was posted just 2 months ago:

Re: From slices to perfect imitators: opByValue

2014-05-10 Thread Artur Skawina via Digitalmars-d
On 05/09/14 01:05, Sönke Ludwig via Digitalmars-d wrote: Am 09.05.2014 00:02, schrieb Timon Gehr: On 05/08/2014 06:30 PM, Sönke Ludwig wrote: Am 08.05.2014 18:10, schrieb Timon Gehr: On 05/08/2014 06:02 PM, monarch_dodra wrote: If you have const data referencing mutable data, then yes, you

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 00:23, Peter Alexander via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 10 May 2014 at 13:50:05 UTC, Dicebot wrote: On Saturday, 10 May 2014 at 13:33:40 UTC, Manu via Digitalmars-d wrote: It should be noted that reference counting can also cause large stalls

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Paulo Pinto via Digitalmars-d
Am 10.05.2014 15:37, schrieb Manu via Digitalmars-d: On 10 May 2014 19:43, Xavier Bigand via Digitalmars-d digitalmars-d@puremagic.com wrote: I don't know well WP8 models, but this one must run smoothly : http://www.nokia.com/fr-fr/mobiles/telephone-portable/lumia1320/fiche-technique/ Just

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 00:20, Peter Alexander via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 10 May 2014 at 13:33:40 UTC, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 01:44, Paulo Pinto via Digitalmars-d digitalmars-d@puremagic.com wrote: Am 10.05.2014 15:37, schrieb Manu via Digitalmars-d: On 10 May 2014 19:43, Xavier Bigand via Digitalmars-d digitalmars-d@puremagic.com wrote: I don't know well WP8 models, but this one must run smoothly :

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Andrei Alexandrescu via Digitalmars-d
On 5/10/14, 6:33 AM, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote: ARC overhead would have no meaningful impact on performance, GC may potentially freeze

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Paulo Pinto via Digitalmars-d
Am 10.05.2014 15:28, schrieb Manu via Digitalmars-d: On 10 May 2014 16:53, Paulo Pinto via Digitalmars-d digitalmars-d@puremagic.com wrote: Am 10.05.2014 08:27, schrieb Manu via Digitalmars-d: On 10 May 2014 07:05, Wyatt via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 9 May

Re: Suggestion to implement __traits(getImports, Scope)

2014-05-10 Thread captaindet via Digitalmars-d
On 2014-05-09 04:46, Mason McGill wrote: On Friday, 9 May 2014 at 04:09:46 UTC, captaindet wrote: by coincidence, i have use for this too. also thought __traits(allMembers, ...) would work. too bad it doesn't. is this a bug or expected behavior? /det Just out of curiosity, what's your use

Re: isUniformRNG

2014-05-10 Thread Joseph Rushton Wakeling via Digitalmars-d
On 09/05/14 02:42, Nick Sabalausky via Digitalmars-d wrote: There can technically be multiple instances, but yea, they're all effectively tied together. However, I'm leaning towards the belief that's correct behavior for a RNG. It's *definitely* correct for a crypto RNG - you certainly wouldn't

Re: From slices to perfect imitators: opByValue

2014-05-10 Thread sclytrack via Digitalmars-d
void main() { DemoStruct m; test(m); acceptor(immutable) i; I mean: acceptor(immutable) DemoStruct i test(i); }

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 02:15, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/10/14, 6:33 AM, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/9/14, 11:27 PM, Manu via Digitalmars-d wrote:

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Andrei Alexandrescu via Digitalmars-d
On 5/10/14, 10:03 AM, Manu via Digitalmars-d wrote: On 11 May 2014 02:15, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/10/14, 6:33 AM, Manu via Digitalmars-d wrote: On 10 May 2014 17:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote:

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Xavier Bigand via Digitalmars-d
Le 10/05/2014 17:58, Manu via Digitalmars-d a écrit : On 11 May 2014 01:44, Paulo Pinto via Digitalmars-d digitalmars-d@puremagic.com wrote: Am 10.05.2014 15:37, schrieb Manu via Digitalmars-d: On 10 May 2014 19:43, Xavier Bigand via Digitalmars-d digitalmars-d@puremagic.com wrote: I don't

radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread Xavier Bigand via Digitalmars-d
I am not sure about the title... All debates about memory management are interesting even if I am not sure to be able to help a lot on it, but I have some concerns about the time will elapse to get a valid answer. My concerns as Dlang user are : - Even if GC is the solution, how long I need

Re: radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread H. S. Teoh via Digitalmars-d
On Sat, May 10, 2014 at 09:16:54PM +0200, Xavier Bigand via Digitalmars-d wrote: [...] My concerns as Dlang user are : - Even if GC is the solution, how long I need suffer with destructor's issues (calls order)? Dtor calling order and GC are fundamentally incompatible. I don't think this

Re: radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread w0rp via Digitalmars-d
I think the reason people ask about improving the GC so frequently is that it's not clear when any potential future iprovements will come around. I think perhaps things may become more clear to those concerned if they were told who was working on GC, roughly when they can expect to see certain

Re: D for Android

2014-05-10 Thread Peter Alexander via Digitalmars-d
On Thursday, 8 May 2014 at 16:16:22 UTC, Joakim wrote: All you need to get going is to download the latest Android NDK (http://developer.android.com/tools/sdk/ndk/index.html) and run Android/x86 (http://www.android-x86.org/, I recommend the 4.3 build) in a VM. I'll put up some basic setup and

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Walter Bright via Digitalmars-d
On 5/10/2014 8:54 AM, Manu via Digitalmars-d wrote: I can't think of many situations where that wouldn't be the case. What sort of software is it not an issue to experience intermittent freezing? Batch programs, for example a compiler. Essentially any program that is not interactive and does

Re: FYI - mo' work on std.allocator

2014-05-10 Thread safety0ff via Digitalmars-d
On Tuesday, 6 May 2014 at 00:30:10 UTC, Brian Schott wrote: These are my biggest concerns with the allocator API: [Snip] 3. GC.removeRange is one of the slowest functions I've ever used. My allocator-backed binary tree implementation took 14 seconds to load a very large data set (compared

Re: radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread via Digitalmars-d
On Saturday, 10 May 2014 at 19:41:15 UTC, H. S. Teoh via Digitalmars-d wrote: On Sat, May 10, 2014 at 09:16:54PM +0200, Xavier Bigand via Digitalmars-d wrote: [...] My concerns as Dlang user are : - Even if GC is the solution, how long I need suffer with destructor's issues (calls order)?

Re: radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread via Digitalmars-d
On Saturday, 10 May 2014 at 19:17:02 UTC, Xavier Bigand wrote: - When we will able to see a performant GC implementation can satisfy someone like Manu :) ? Months, years, a decade? Never, Manu wants to do fine granularity allocations. - Same question if D migrate to ARC? You probably

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 08:40, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/10/2014 8:54 AM, Manu via Digitalmars-d wrote: I can't think of many situations where that wouldn't be the case. What sort of software is it not an issue to experience intermittent freezing? Batch

Re: isUniformRNG

2014-05-10 Thread Nick Sabalausky via Digitalmars-d
On 5/10/2014 12:34 PM, Joseph Rushton Wakeling via Digitalmars-d wrote: On 09/05/14 02:42, Nick Sabalausky via Digitalmars-d wrote: There can technically be multiple instances, but yea, they're all effectively tied together. However, I'm leaning towards the belief that's correct behavior

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 03:54, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/10/14, 10:03 AM, Manu via Digitalmars-d wrote: There is a black/white distinction though. It you can't make the freezing go away, it is _incompatible_ with certain classes of software. I don't

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 08:40, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 5/10/2014 8:54 AM, Manu via Digitalmars-d wrote: Recall too that D has significant opportunity to improve on ARC as implemented by other languages, You're essentially arguing that one is easy pickings

Re: radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread Manu via Digitalmars-d
On 11 May 2014 05:39, H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, May 10, 2014 at 09:16:54PM +0200, Xavier Bigand via Digitalmars-d wrote: - Same question if D migrate to ARC? I highly doubt D will migrate to ARC. ARC will probably become *possible*, but some

Re: More radical ideas about gc and reference counting

2014-05-10 Thread Walter Bright via Digitalmars-d
On 5/10/2014 8:58 PM, Manu via Digitalmars-d wrote: This is truly a niche usage case though, Come on! Like about 80% of the programs on any linux box? Like the OCR program I run? A payroll processing program? Any scientific numerical analysis program? Engineering programs? If you're

Re: radical ideas about GC and ARC : need to be time driven?

2014-05-10 Thread Paulo Pinto via Digitalmars-d
Am 11.05.2014 03:31, schrieb Ola Fosheim Grøstad ola.fosheim.grostad+dl...@gmail.com: On Saturday, 10 May 2014 at 19:41:15 UTC, H. S. Teoh via Digitalmars-d wrote: On Sat, May 10, 2014 at 09:16:54PM +0200, Xavier Bigand via Digitalmars-d wrote: [...] My concerns as Dlang user are : - Even if

Support for Dub

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-dwt
For those who haven't noticed Etienne Cimon has created a pull request [1] which adds support for Dub to the DWT project. Currently the DWT project is divided among a couple of git repositories: one of Windows, one for Linux, one for the Java API and one for snippets. These git repositories

Re: Avoiding __traits(getAttributes, ...) on alias

2014-05-10 Thread Philippe Sigaud via Digitalmars-d-learn
Vlad Levenfeld: but beware I've noticed that sometimes this is not equivalent to the previous version and I'm not sure how or why that happens. In particular I notice that mixin(const bool value = ~expr~;)); and const bool value = mixin(expr); are not the same, for some reason. What

Re: Avoiding __traits(getAttributes, ...) on alias

2014-05-10 Thread Vlad Levenfeld via Digitalmars-d-learn
because this works: foreach (type; mixin(`__traits (getAttributes, T.`~member~`)`)) static if (is (type == attribute)) return true;

Re: Avoiding __traits(getAttributes, ...) on alias

2014-05-10 Thread Vlad Levenfeld via Digitalmars-d-learn
I'm not really sure. Here is an example of the problem: const bool has_attribute (T, string member, alias attribute) () { static if (1) // ok mixin( `foreach (type; __traits (getAttributes, T.`~member~`))` `static if (is (type == attribute))` `return true;` );

Re: Avoiding __traits(getAttributes, ...) on alias

2014-05-10 Thread Vlad Levenfeld via Digitalmars-d-learn
I don't have any examples of the const bool thing not working, its just something I feel like I recall, though I could be mistaking it for the __traits example.

Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread FrankLike via Digitalmars-d-learn
I've been using VisualD for a long time without problems. If it makes you nervous, you can get the source from Github and compile it yourself. Hello,Meta When I compile the Visual D projects: at first,I compile the 'build' project,then get some error: --START ALL BUILD: PROJECT: c2d,

Re: Recommendation on option parsing

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-learn
On 2014-05-10 01:09, Chris Piker wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. Does anyone have a recommendation on which of the existing command line option parsing libraries floating around in the wild to use? If it

Re: Avoiding __traits(getAttributes, ...) on alias

2014-05-10 Thread Philippe Sigaud via Digitalmars-d-learn
else // doesn't compile, member is not accessible error foreach (type; __traits (getAttributes, mixin(`T.`~member))) static if (is (type == attribute)) return true; return false; Maybe its trying to use it inside of __traits that is causing it? Maybe __traits is

Inspecting lambda parameters

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-learn
I know that there are templates to inspect function parameters, like ParameterIdentifierTuple and ParameterTypeTuple. But these don't work for templated/untyped lambdas, they're apparently not callables. I don't expect ParameterTypeTuple to work, but it would be nice if

Re: Recommendation on option parsing

2014-05-10 Thread Robert Schadek via Digitalmars-d-learn
On 05/10/2014 01:09 AM, Chris Piker via Digitalmars-d-learn wrote: Phobos' std.getopt is a bit spare for my taste, as there is no builtin general help facility with word-wrapping. Does anyone have a recommendation on which of the existing command line option parsing libraries floating around

Curl Exception

2014-05-10 Thread Jack via Digitalmars-d-learn
First off a rant: I use the Code::Blocks IDE and at times it has been proven to a double-edged source because of various issueslike this one: http://forum.dlang.org/thread/ndeyzrifseipuebvy...@forum.dlang.org) and am now itching to search for other IDEs to suit my needs. Now on to the

Re: Curl Exception

2014-05-10 Thread Jack via Digitalmars-d-learn
On Saturday, 10 May 2014 at 13:02:39 UTC, Jack wrote: First off a rant: I use the Code::Blocks IDE and at times it has been proven to a double-edged source because of various issueslike this one: http://forum.dlang.org/thread/ndeyzrifseipuebvy...@forum.dlang.org) and am now itching to

Re: Avoiding __traits(getAttributes, ...) on alias

2014-05-10 Thread Vlad Levenfeld via Digitalmars-d-learn
Agreed, new bug report submitted.

Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread Meta via Digitalmars-d-learn
On Saturday, 10 May 2014 at 08:42:14 UTC, FrankLike wrote: I've been using VisualD for a long time without problems. If it makes you nervous, you can get the source from Github and compile it yourself. Hello,Meta When I compile the Visual D projects: at first,I compile the 'build'

Re: Inspecting lambda parameters

2014-05-10 Thread Meta via Digitalmars-d-learn
On Saturday, 10 May 2014 at 10:56:57 UTC, Jacob Carlborg wrote: I know that there are templates to inspect function parameters, like ParameterIdentifierTuple and ParameterTypeTuple. But these don't work for templated/untyped lambdas, they're apparently not callables. I don't expect

Re: Inspecting lambda parameters

2014-05-10 Thread Jacob Carlborg via Digitalmars-d-learn
On 2014-05-10 18:56, Meta wrote: Wasn't there recently a pull request to add TemplateArgsOf, or something like that. There's this pull request [1] that adds a couple of new traits that might help. Also, if you know what type the lambda is going to be instantiated with, you can turn it

Temporary silence output (stdout)

2014-05-10 Thread MarisaLovesUsAll via Digitalmars-d-learn
Hi! I sometimes got a useless messages in stdout from SDL_Image library, and I want to temporary silence it. How do I do?

Re: Temporary silence output (stdout)

2014-05-10 Thread Mark Isaacson via Digitalmars-d-learn
On Saturday, 10 May 2014 at 20:24:50 UTC, MarisaLovesUsAll wrote: Hi! I sometimes got a useless messages in stdout from SDL_Image library, and I want to temporary silence it. How do I do? Consider using either version or debug statements. If you want the messages to be opt-in, debug

Re: Temporary silence output (stdout)

2014-05-10 Thread Artur Skawina via Digitalmars-d-learn
On 05/10/14 22:24, MarisaLovesUsAll via Digitalmars-d-learn wrote: I sometimes got a useless messages in stdout from SDL_Image library, and I want to temporary silence it. How do I do? One way would be something like: import std.stdio; void writeOutput () { static c = 1;

Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread FrankLike via Digitalmars-d-learn
You have spaces in your path, which is not good. Put quotes around the file paths, like so: VSSDK100Install = C:\Program Files (x86)\Microsoft Visual Studio 2010 SDK SP1 WindowsSdkDir = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A Thank you.

Re: core.sync.rwmutex example

2014-05-10 Thread TheFlyingFiddle via Digitalmars-d-learn
On Friday, 9 May 2014 at 23:12:44 UTC, Charles Hixson via Digitalmars-d-learn wrote: But I'm worried about the receiving end. It needs, somehow, to ensure that the message it receives is the appropriate message, and that other messages don't get dropped while it's waiting for the

Configuring Phobos from the 1-click installer

2014-05-10 Thread Moses via Digitalmars-d-learn
After using the 1-click Ubuntu installer, I'm having trouble figuring out how to import standard library functions for Phobos. I get the message: Error: module io is in file 'std/std/io.d' which cannot be read import path[0] = /usr/include/dmd/phobos import path[1] =

Messy code in console

2014-05-10 Thread IceNature via Digitalmars-d-learn
When there are Chinese characters in the output, the console will display messy code.I change the encoding of the source file into UTF-8 or UTF-16,but the messy code is still there... I use the dmd 2.065,Visual Studio 2013 with VisualD. How to solve this problem?

Re: Messy code in console

2014-05-10 Thread Ali Çehreli via Digitalmars-d-learn
On 05/10/2014 07:19 PM, IceNature via Digitalmars-d-learn wrote: When there are Chinese characters in the output, the console will display messy code.I change the encoding of the source file into UTF-8 or UTF-16,but the messy code is still there... I use the dmd

Re: Configuring Phobos from the 1-click installer

2014-05-10 Thread Ali Çehreli via Digitalmars-d-learn
On 05/10/2014 07:12 PM, Moses wrote: After using the 1-click Ubuntu installer, I'm having trouble figuring out how to import standard library functions for Phobos. I get the message: Error: module io is in file 'std/std/io.d' which cannot be read Judging from the repeated stds up there I

Re: Down the VisualD0.3.38-1.exe ,found virus!

2014-05-10 Thread FrankLike via Digitalmars-d-learn
You have spaces in your path, which is not good. Put quotes around the file paths, like so: VSSDK100Install = C:\Program Files (x86)\Microsoft Visual Studio 2010 SDK SP1 WindowsSdkDir = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A Sorry,Meta, the problem still exists,but I compile

Re: Messy code in console

2014-05-10 Thread FrankLike via Digitalmars-d-learn
On Sunday, 11 May 2014 at 02:38:44 UTC, IceNature via Digitalmars-d-learn wrote: When there are Chinese characters in the output, the console will display messy code.I change the encoding of the source file into UTF-8 or UTF-16,but the messy code is still there... I use the

Re: Configuring Phobos from the 1-click installer

2014-05-10 Thread Moses via Digitalmars-d-learn
On Sunday, 11 May 2014 at 04:33:24 UTC, Ali Çehreli wrote: On 05/10/2014 07:12 PM, Moses wrote: After using the 1-click Ubuntu installer, I'm having trouble figuring out how to import standard library functions for Phobos. I get the message: Error: module io is in file 'std/std/io.d' which

[Issue 12727] New: GIT HEAD : DMD hangs up

2014-05-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12727 Issue ID: 12727 Summary: GIT HEAD : DMD hangs up Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1

[Issue 12727] GIT HEAD : DMD hangs up

2014-05-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12727 Temtaime temta...@gmail.com changed: What|Removed |Added Severity|critical|regression --- Comment #1 from

[Issue 12708] DMD threaded code running slower than single-threaded code

2014-05-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12708 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 12727] GIT HEAD : DMD hangs up

2014-05-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12727 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 12727] GIT HEAD : DMD hangs up

2014-05-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12727 --- Comment #3 from Vladimir Panteleev thecybersha...@gmail.com --- Introduced in https://github.com/D-Programming-Language/dmd/pull/3400 --

[Issue 12728] New: GIT HEAD : Error X is not of arithmetic type

2014-05-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12728 Issue ID: 12728 Summary: GIT HEAD : Error X is not of arithmetic type Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

  1   2   >