[Issue 15027] cannot pass arguments of type DirEntry to std.file functions

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15027 --- Comment #15 from Rainer Schuetze --- >Check this out: >https://github.com/D-Programming-Language/phobos/pull/3694 This is pretty much the workaround given by Kenji above. It has the downside that you have to copy the full

Beta D 2.069.0-b1

2015-10-07 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin

Re: D and microservices

2015-10-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 7 October 2015 at 17:31:12 UTC, Atila Neves wrote: My "Go vs D vs C vs Erlang" MQTT shootout was based on a colleague claiming that Go would win because concurrency is its thing. I called his bluff since despite Go having a (AFAIK) very good scheduler, I didn't see how vibe.d

Re: D and microservices

2015-10-07 Thread extrawurst via Digitalmars-d
On Tuesday, 6 October 2015 at 17:54:48 UTC, Russel Winder wrote: On Tue, 2015-10-06 at 16:21 +, Dejan Lekic via Digitalmars-d wrote: On Tuesday, 6 October 2015 at 16:12:12 UTC, Russel Winder wrote: > [...] As far as I know, there is no implementation of microservices as we see in the

[Issue 15170] New: default arguments from expression tuple don't work

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15170 Issue ID: 15170 Summary: default arguments from expression tuple don't work Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid

DSFML reaches version 2.1

2015-10-07 Thread Jeremy DeHaan via Digitalmars-d-announce
It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!) DSFML(along with its backend DSFMLC) is a binding and a wrapper for SFML - the Simple and Fast Multimedia Library. It does

Re: D 2015/2016 Vision?

2015-10-07 Thread Paulo Pinto via Digitalmars-d
On Tuesday, 6 October 2015 at 20:43:42 UTC, bitwise wrote: On Tuesday, 6 October 2015 at 18:43:42 UTC, Jonathan M Davis wrote: On Tuesday, 6 October 2015 at 18:10:42 UTC, bitwise wrote: On Tuesday, 6 October 2015 at 17:20:39 UTC, Jonathan M Davis wrote: I'm not sure what else I can say. The

Re: D 2015/2016 Vision?

2015-10-07 Thread ponce via Digitalmars-d
On Wednesday, 7 October 2015 at 07:24:03 UTC, Paulo Pinto wrote: That no, but this yes (at least in C#): using (LevelManager mgr = new LevelManager()) { // // Somewhere in the call stack Texture text = mgr.getTexture(); } --> All level resources gone that require manual

Re: DSFML reaches version 2.1

2015-10-07 Thread Andrea Fontana via Digitalmars-d-announce
On Wednesday, 7 October 2015 at 06:43:18 UTC, Jeremy DeHaan wrote: It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!) Nice job!

Re: D 2015/2016 Vision?

2015-10-07 Thread Paulo Pinto via Digitalmars-d
On Wednesday, 7 October 2015 at 07:35:05 UTC, ponce wrote: On Wednesday, 7 October 2015 at 07:24:03 UTC, Paulo Pinto wrote: That no, but this yes (at least in C#): using (LevelManager mgr = new LevelManager()) { // // Somewhere in the call stack Texture text =

Re: D 2015/2016 Vision?

2015-10-07 Thread Sebastiaan Koppe via Digitalmars-d
On Wednesday, 7 October 2015 at 02:41:12 UTC, Walter Bright wrote: On 10/6/2015 7:04 PM, bitwise wrote: On Wednesday, 7 October 2015 at 01:27:27 UTC, Walter Bright wrote: On 10/4/2015 11:02 AM, bitwise wrote: For example, streams. No streams. InputRanges. This is too vague to really

Re: Is Anything Holding you back?

2015-10-07 Thread Kagamin via Digitalmars-d
On Tuesday, 6 October 2015 at 16:38:06 UTC, Jan Johansson wrote: I know about that too, the KnownType is applied to types that the DataContractSerializer (not the XmlSerializer) must be aware of before it can serialize the type (you enlist the type to the serializer). Thanks. For a general

Re: D 2015/2016 Vision?

2015-10-07 Thread Dmitry Olshansky via Digitalmars-d
On 06-Oct-2015 23:44, ponce wrote: On Tuesday, 6 October 2015 at 17:20:39 UTC, Jonathan M Davis wrote: Unfortunately, it is quite common to need both virtual functions and deterministic destruction. It isn't helpful to disregard the problem by saying "you should have used a struct", in many

Re: Is Anything Holding you back?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 07:08:39 UTC, extrawurst wrote: Method 1: Adding a static c'tor to every module does not work very long in practice (as experienced first handed) cause you are in "cyclic c'tor hell" very quick... The cyclic dependency checking in druntime makes static

Re: DSFML reaches version 2.1

2015-10-07 Thread Dmitry via Digitalmars-d-announce
Thank you!

Re: Varargs and default arguments

2015-10-07 Thread anonymous via Digitalmars-d-learn
On Wednesday 07 October 2015 02:22, Steven Schveighoffer wrote: > On 10/6/15 4:27 PM, anonymous wrote: [...] >> void foo(T...)(string str=null, T args = T.init) { [...] > I find it quite fascinating that in anonymous' solution, the T.init > doesn't ever actually get used! It's not used with

[Issue 15027] cannot pass arguments of type DirEntry to std.file functions

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15027 --- Comment #14 from Walter Bright --- Check this out: https://github.com/D-Programming-Language/phobos/pull/3694 --

Re: Is Anything Holding you back?

2015-10-07 Thread extrawurst via Digitalmars-d
On Monday, 5 October 2015 at 09:08:56 UTC, Jonas Drewsen wrote: On Monday, 5 October 2015 at 06:18:45 UTC, Manu wrote: [...] [...] The first method is bad because you need to mixin code manually for each module you have. The second method is bad because you need to keep the "registration"

Re: Bug? 0 is less than -10

2015-10-07 Thread Andrea Fontana via Digitalmars-d-learn
On Wednesday, 7 October 2015 at 05:27:12 UTC, Laeeth Isharc wrote: On Wednesday, 7 October 2015 at 02:53:32 UTC, Steven Schveighoffer wrote: On 10/6/15 7:21 PM, Laeeth Isharc wrote: could we have ssize_t defined in phobos somewhere so your code ends up being portable ;) (It's trivial to do,

Re: Moving back to .NET

2015-10-07 Thread Kagamin via Digitalmars-d
On Wednesday, 7 October 2015 at 05:36:15 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 6 October 2015 at 17:07:27 UTC, Chris wrote: Ok, and do you have a plan or a concrete wish list that you could hand over to the core developers? What features would be indispensable or are of utmost

Re: D 2015/2016 Vision?

2015-10-07 Thread rumbu via Digitalmars-d
On Wednesday, 7 October 2015 at 07:35:05 UTC, ponce wrote: On Wednesday, 7 October 2015 at 07:24:03 UTC, Paulo Pinto wrote: That no, but this yes (at least in C#): using (LevelManager mgr = new LevelManager()) { // // Somewhere in the call stack Texture text =

Re: D and microservices

2015-10-07 Thread Mengu via Digitalmars-d
On Tuesday, 6 October 2015 at 23:01:43 UTC, Laeeth Isharc wrote: On Tuesday, 6 October 2015 at 19:31:20 UTC, Mengu wrote: a half of it is the buzz and other half of is not. remember people talking about reactjs, go and rails being buzz? they were the same. we have built an online payment

Re: Moving back to .NET

2015-10-07 Thread Dejan Lekic via Digitalmars-d
Who cares? - Good luck in the .NET world.

D language implementation of DigitalOcean API

2015-10-07 Thread Laeeth Isharc via Digitalmars-d
Digital Ocean provide cloud infrastructure (KVM servers). They serve a somewhat different market to Amazon's AWS and similar offering a much less complex product for a significantly lower price (especially if you pay the sticker price for Amazon). Unlike some other VPN providers, their

[Issue 15176] [REG2.069b1] ICE(glue.c):separate compilation with -inline crash in glue.c

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15176 --- Comment #1 from Kenji Hara --- Introduced in: https://github.com/D-Programming-Language/dmd/pull/5166 --

Re: Threading Questions

2015-10-07 Thread bitwise via Digitalmars-d-learn
On Wednesday, 7 October 2015 at 09:09:36 UTC, Kagamin wrote: On Sunday, 4 October 2015 at 04:24:55 UTC, bitwise wrote: I use C#(garbage collected) for making apps/games, and while, _in_theory_, the GC is supposed to protect you from leaks, memory is not the only thing that can leak. Threads

[Issue 15176] New: [REG2.069b1] ICE(glue.c):separate compilation with -inline crash in glue.c

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15176 Issue ID: 15176 Summary: [REG2.069b1] ICE(glue.c):separate compilation with -inline crash in glue.c Product: D Version: D2 Hardware: x86 OS: Windows

Re: Go, D, and the GC

2015-10-07 Thread Shachar Shemesh via Digitalmars-d
On 07/10/15 12:58, Timon Gehr wrote: Shachar struct S{ @disable this(); @disable enum init=0; } void main(){ S s; // error auto d=S.init; // error } An honest question. Would that also cover all cases where init is being used implicitly by the compiler? I will need

[Issue 12558] try/catch allows implicit catching of Errors without specifying any Exception type

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12558 --- Comment #11 from Vladimir Panteleev --- (In reply to Vladimir Panteleev from comment #10) > The pull request exists, Andrej filed it in the URL field: > > https://github.com/D-Programming-Language/dmd/pull/3482 This

Re: Beta D 2.069.0-b1

2015-10-07 Thread Suliman via Digitalmars-d-announce
On Wednesday, 7 October 2015 at 22:33:09 UTC, Martin Nowak wrote: First beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin Is it DDMD based release?

Re: Beta D 2.069.0-b1

2015-10-07 Thread drug via Digitalmars-d-announce
08.10.2015 01:33, Martin Nowak пишет: First beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin Cool! References to `cmp`, `std.experimental.allocator` reference to current

Re: D and microservices

2015-10-07 Thread Martin Nowak via Digitalmars-d
On Wednesday, 7 October 2015 at 19:58:55 UTC, Ola Fosheim Grøstad wrote: If C++17 does stackless coroutines right then it probably will surpass both Go and D in terms of memory locality, initialization performance and memory usage; and therefore throughput as well. We might be able to reuse

Re: Categorizing Ranges

2015-10-07 Thread Mike Parker via Digitalmars-d
On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote: What to put into the XXX? Thanks for the brainstorming session everyone. I'm on a deadline so I need to pick something and go with it. This thread has simplified things for me.

[Issue 12624] Internal error: backend\cgobj.c 2313 with Rebindable!(immutable TimeZone) in std.datetime

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12624 --- Comment #1 from Jonathan M Davis --- Still happens with the latest master, though now it spits out Internal error: backend\cgobj.c 2332 --

Re: Beta D 2.069.0-b1

2015-10-07 Thread extrawurst via Digitalmars-d-announce
On Wednesday, 7 October 2015 at 22:33:09 UTC, Martin Nowak wrote: First beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin `The -property switch has been deprecated.` Does

[Issue 15167] [REG2.069-devel] conflicting error with repeated alias declaration

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15167 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #4 from

Re: D 2015/2016 Vision?

2015-10-07 Thread bitwise via Digitalmars-d
On Wednesday, 7 October 2015 at 13:15:11 UTC, Paulo Pinto wrote: On Wednesday, 7 October 2015 at 12:56:32 UTC, bitwise wrote: On Wednesday, 7 October 2015 at 07:24:03 UTC, Paulo Pinto wrote: On Tuesday, 6 October 2015 at 20:43:42 UTC, bitwise wrote: [...] That no, but this yes (at least in

Re: Categorizing Ranges

2015-10-07 Thread Mike Parker via Digitalmars-d
On Wednesday, 7 October 2015 at 18:26:29 UTC, qznc wrote: Selective Although, then stride fits better into Selective than into Iterative. On the other hand, iterative seems not that fitting to me. lockstep might also be Compositional. I actually agree with you about iterative, but I hadn't

Re: Go, D, and the GC

2015-10-07 Thread Kapps via Digitalmars-d
On Wednesday, 7 October 2015 at 14:50:52 UTC, Jonathan M Davis wrote: On Wednesday, 7 October 2015 at 14:13:38 UTC, Meta wrote: On Wednesday, 7 October 2015 at 09:59:05 UTC, Timon Gehr wrote: struct S{ @disable this(); @disable enum init=0; } void main(){ S s; // error auto

Tell GC to use shared memory

2015-10-07 Thread tcak via Digitalmars-d-learn
Is it possible to modify GC (without rebuilding the compiler), so it uses a given shared memory area instead of heap for allocations?

[Issue 13727] std.stdio.File not thread-safe

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13727 Vladimir Panteleev changed: What|Removed |Added Keywords||pull ---

[Issue 15037] method TypeInfo.init shadows built-in init property

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15037 ag0ae...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 12233] Attempting to use TypeInfo.init results in a compiler error due to lack of 'this'.

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12233 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #3 from

Re: Tell GC to use shared memory

2015-10-07 Thread ketmar via Digitalmars-d-learn
On Thursday, 8 October 2015 at 04:38:43 UTC, tcak wrote: Is it possible to modify GC (without rebuilding the compiler), so it uses a given shared memory area instead of heap for allocations? sure. you don't need to rebuild the compiler, only druntime.

Re: DSFML reaches version 2.1

2015-10-07 Thread Jeremy DeHaan via Digitalmars-d-announce
On Wednesday, 7 October 2015 at 17:13:13 UTC, Jeremy DeHaan wrote: On Wednesday, 7 October 2015 at 16:44:30 UTC, Israel wrote: On Wednesday, 7 October 2015 at 06:43:18 UTC, Jeremy DeHaan wrote: It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming,

[Issue 7066] You can redefine .init and .stringof without error

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7066 --- Comment #7 from Jonathan M Davis --- (In reply to timon.gehr from comment #6) > (In reply to Walter Bright from comment #1) > > They're actually supposed to be overridable at the moment. I had thought > > there might

Re: Go, D, and the GC

2015-10-07 Thread Meta via Digitalmars-d
On Wednesday, 7 October 2015 at 18:38:34 UTC, Timon Gehr wrote: On 10/07/2015 04:13 PM, Meta wrote: On Wednesday, 7 October 2015 at 09:59:05 UTC, Timon Gehr wrote: struct S{ @disable this(); @disable enum init=0; } void main(){ S s; // error auto d=S.init; // error } That's

Re: D 2015/2016 Vision?

2015-10-07 Thread Marc Schütz via Digitalmars-d
On Tuesday, 6 October 2015 at 17:03:07 UTC, bitwise wrote: On Tuesday, 6 October 2015 at 06:45:47 UTC, Jonathan M Davis wrote: On Monday, 5 October 2015 at 23:08:37 UTC, bitwise wrote: Well, again that has it's pros and cons. This is why I just want a normal language solution like DIP74.

Re: D and microservices

2015-10-07 Thread Russel Winder via Digitalmars-d
On Tue, 2015-10-06 at 15:07 -0400, Nick Sabalausky via Digitalmars-d wrote: > […] > > Felt stupid for not being hip to this "microservices" thing you say, > so > just looked it up. But it sounds to me like it's basically just a > buzz-driven rediscovery of the basic principles of proper >

Re: D and microservices

2015-10-07 Thread Russel Winder via Digitalmars-d
On Wed, 2015-10-07 at 07:15 +, extrawurst via Digitalmars-d wrote: > […] > > I have never used Go, but isn't what you describe exactly what > vibe.d is doing using Fibers ? As I understand it, vibe.d is a single threaded event-loop with fibres. In this sense it is equivalent in architecture

Re: Compilation error

2015-10-07 Thread Loic via Digitalmars-d-learn
On Tuesday, 15 September 2015 at 15:25:27 UTC, Loic wrote: On Tuesday, 15 September 2015 at 12:37:46 UTC, Adam D. Ruppe wrote: On Tuesday, 15 September 2015 at 09:17:26 UTC, Loic wrote: Error: cannot find source code for runtime library file 'object.d' How did you install dmd? The installer

Re: Go, D, and the GC

2015-10-07 Thread Timon Gehr via Digitalmars-d
On 10/05/2015 12:57 PM, Shachar Shemesh wrote: On 05/10/15 13:39, Marc Schütz wrote: On Monday, 5 October 2015 at 09:25:30 UTC, Shachar Shemesh wrote: What's more, init is used even if you @disable this(). The following compile and does what you'd expect (but not what you want): struct S {

[Issue 15171] New: private/protected/package default construction

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15171 Issue ID: 15171 Summary: private/protected/package default construction Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: D 2015/2016 Vision?

2015-10-07 Thread Namespace via Digitalmars-d
On Wednesday, 7 October 2015 at 09:49:27 UTC, Marc Schütz wrote: On Tuesday, 6 October 2015 at 17:03:07 UTC, bitwise wrote: On Tuesday, 6 October 2015 at 06:45:47 UTC, Jonathan M Davis wrote: On Monday, 5 October 2015 at 23:08:37 UTC, bitwise wrote: Well, again that has it's pros and cons.

Re: Moving back to .NET

2015-10-07 Thread Kagamin via Digitalmars-d
On Wednesday, 7 October 2015 at 09:25:10 UTC, Ola Fosheim Grøstad wrote: That's wonderfully undefined. A pragmatic compiled language can be anything from ATS to compiled Python. If you want to know what D is in details, see dlang.org for language spec. Static analysis is a focus and

Re: TIOBE october

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 03:26:37 UTC, Laeeth Isharc wrote: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html d up from 31 in march. Just below scala, sas, and fortran. No doubt noisy, and possibly news about Andrei leaving Facebook had an influence. They changed the

Re: D and microservices

2015-10-07 Thread Joakim via Digitalmars-d
On Tuesday, 6 October 2015 at 19:07:32 UTC, Nick Sabalausky wrote: Felt stupid for not being hip to this "microservices" thing you say, so just looked it up. But it sounds to me like it's basically just a buzz-driven rediscovery of the basic principles of proper encapsulation and Unix

Re: D 2015/2016 Vision?

2015-10-07 Thread Marc Schütz via Digitalmars-d
On Wednesday, 7 October 2015 at 10:44:50 UTC, Jonathan M Davis wrote: Having ref-counting built into the language will allow us to make it more efficient and provide some safety guarantees that can't necessarily be provided in a struct, but it doesn't make it so that no one can misuse

Re: Threading Questions

2015-10-07 Thread Kagamin via Digitalmars-d-learn
On Sunday, 4 October 2015 at 04:24:55 UTC, bitwise wrote: I use C#(garbage collected) for making apps/games, and while, _in_theory_, the GC is supposed to protect you from leaks, memory is not the only thing that can leak. Threads need to be stopped, graphics resources need to be released,

Re: Moving back to .NET

2015-10-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 7 October 2015 at 08:17:32 UTC, Kagamin wrote: The target is a pragmatic compiled language. That's wonderfully undefined. A pragmatic compiled language can be anything from ATS to compiled Python. Static analysis is a focus and believed to be done with relatively simple and

Re: D 2015/2016 Vision?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 10:50:35 UTC, Namespace wrote: Language-supported ref-counting wouldn't fix that. As long as you're allowed to put a ref-counted object inside of a GC-managed object, it's possible that the GC will ultimately managed the lifetime of your ref-counted object - or

Re: D 2015/2016 Vision?

2015-10-07 Thread Namespace via Digitalmars-d
Well, except that then it's less obvious that an object is ref-counted and less likely that the programmer using it will realize that the object expects to have a deterministic lifetime. So, it might actually make the situation worse and make it so that programmers are more likely to get

Re: D 2015/2016 Vision?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 10:03:44 UTC, Namespace wrote: On Wednesday, 7 October 2015 at 09:49:27 UTC, Marc Schütz wrote: Really, I don't get why everyone wants to have builtin refcounting, when all that's required is a working way to make escape-proof references. Because there is no

Re: D and microservices

2015-10-07 Thread Dicebot via Digitalmars-d
On Wednesday, 7 October 2015 at 10:50:47 UTC, Russel Winder wrote: What do you mean by microservice examples? It is infrastructure methodology, not specific code thing, any simple network service can be viewed as microservice. At the Web services application level it is having a small

Re: D 2015/2016 Vision?

2015-10-07 Thread Marc Schütz via Digitalmars-d
On Wednesday, 7 October 2015 at 10:03:44 UTC, Namespace wrote: Because there is no guarantee that others, who use your code, get it right and use those constructs. The obvious way would be to make the constructor private and only provide a factory method returning a Scoped!Texture2D. I just

[Issue 15149] [REG2.068.1] Linker error with separate compilation

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15149 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1f59030b3af81efe67139ecb0c7d3f6e2312d5a7 fix Issue 15149 - Linker

[Issue 15149] [REG2.068.1] Linker error with separate compilation

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15149 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Is Anything Holding you back?

2015-10-07 Thread Johannes Pfau via Digitalmars-d
Am Wed, 07 Oct 2015 08:41:30 + schrieb Jonathan M Davis : > On Wednesday, 7 October 2015 at 07:08:39 UTC, extrawurst wrote: > > Method 1: Adding a static c'tor to every module does not work > > very long in practice (as experienced first handed) cause you > > are in

Re: D and microservices

2015-10-07 Thread Russel Winder via Digitalmars-d
On Tue, 2015-10-06 at 18:56 +, Dicebot via Digitalmars-d wrote: > On Tuesday, 6 October 2015 at 16:12:12 UTC, Russel Winder wrote: > > Has anyone got a small example of microservices using D, with > > Vibe.d or otherwise, that I can make use of? I need some > > examples of small

Re: D 2015/2016 Vision?

2015-10-07 Thread Namespace via Digitalmars-d
Language-supported ref-counting wouldn't fix that. As long as you're allowed to put a ref-counted object inside of a GC-managed object, it's possible that the GC will ultimately managed the lifetime of your ref-counted object - or even that it will never be destroyed, because it simply isn't

Re: Is Anything Holding you back?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 10:03:11 UTC, Johannes Pfau wrote: Am Wed, 07 Oct 2015 08:41:30 + schrieb Jonathan M Davis : On Wednesday, 7 October 2015 at 07:08:39 UTC, extrawurst wrote: > Method 1: Adding a static c'tor to every module does not > work very long in

Re: D 2015/2016 Vision?

2015-10-07 Thread Namespace via Digitalmars-d
On Wednesday, 7 October 2015 at 11:27:49 UTC, Marc Schütz wrote: On Wednesday, 7 October 2015 at 10:03:44 UTC, Namespace wrote: Because there is no guarantee that others, who use your code, get it right and use those constructs. The obvious way would be to make the constructor private and

Re: DSFML reaches version 2.1

2015-10-07 Thread suliman via Digitalmars-d-announce
Perfect!!! Big thanks! I think not only one are tired from GTK, and need simple and compact gui lib

Re: D 2015/2016 Vision?

2015-10-07 Thread bitwise via Digitalmars-d
On Wednesday, 7 October 2015 at 05:13:06 UTC, Walter Bright wrote: On 10/6/2015 7:57 PM, bitwise wrote: Again though, if I have to restate what I've been arguing for as simply as possible, it's that I want to use RAII and polymorphism at the same time, as a natural language solution. DIP74

Re: DSFML reaches version 2.1

2015-10-07 Thread Erika Quinn via Digitalmars-d-announce
It's great to see all this work finally come to fruition, congrats Jebbs! (DSFML is totally worth checking out; I've been using it in my project for a couple years now)

Re: D 2015/2016 Vision?

2015-10-07 Thread Paulo Pinto via Digitalmars-d
On Wednesday, 7 October 2015 at 12:56:32 UTC, bitwise wrote: On Wednesday, 7 October 2015 at 07:24:03 UTC, Paulo Pinto wrote: On Tuesday, 6 October 2015 at 20:43:42 UTC, bitwise wrote: [...] That no, but this yes (at least in C#): using (LevelManager mgr = new LevelManager()) { //

Re: Moving back to .NET

2015-10-07 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 7 October 2015 at 10:18:16 UTC, Kagamin wrote: If you want to know what D is in details, see dlang.org for language spec. No, that is backwards. :-) The language spec is the product. What is needed is a definition of what the problem area is (e.g. use cases). problem area ->

[Issue 15174] New: Add or undocument --tmpdir switch

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15174 Issue ID: 15174 Summary: Add or undocument --tmpdir switch Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1

[Issue 15175] New: rdmd --loop and --eval now complain about std.stream deprecation warnings

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15175 Issue ID: 15175 Summary: rdmd --loop and --eval now complain about std.stream deprecation warnings Product: D Version: D2 Hardware: All OS: All

Re: DSFML reaches version 2.1

2015-10-07 Thread Jeremy DeHaan via Digitalmars-d-announce
On Wednesday, 7 October 2015 at 12:44:13 UTC, suliman wrote: Perfect!!! Big thanks! I think not only one are tired from GTK, and need simple and compact gui lib It's not really a gui library. I mean, you could use it as such I guess, but it's more for game development.

Re: Compilation error

2015-10-07 Thread Loic via Digitalmars-d-learn
On Wednesday, 7 October 2015 at 12:08:08 UTC, Loic wrote: On Tuesday, 15 September 2015 at 15:25:27 UTC, Loic wrote: On Tuesday, 15 September 2015 at 12:37:46 UTC, Adam D. Ruppe wrote: On Tuesday, 15 September 2015 at 09:17:26 UTC, Loic wrote: Error: cannot find source code for runtime library

[Issue 15162] byDchar calls empty twice in a row

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15162 John Colvin changed: What|Removed |Added CC|

Re: D 2015/2016 Vision?

2015-10-07 Thread bitwise via Digitalmars-d
On Wednesday, 7 October 2015 at 09:49:27 UTC, Marc Schütz wrote: RefCounted isn't implemented for classes, but there's no reason why it shouldn't work. Really, I don't get why everyone wants to have builtin refcounting, when all that's required is a working way to make escape-proof

Re: TIOBE october

2015-10-07 Thread Laeeth Isharc via Digitalmars-d
On Wednesday, 7 October 2015 at 10:55:21 UTC, Jonathan M Davis wrote: On Wednesday, 7 October 2015 at 03:26:37 UTC, Laeeth Isharc wrote: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html d up from 31 in march. Just below scala, sas, and fortran. No doubt noisy, and possibly

Re: Bug? 0 is less than -10

2015-10-07 Thread Laeeth Isharc via Digitalmars-d-learn
On Wednesday, 7 October 2015 at 07:38:44 UTC, Andrea Fontana wrote: On Wednesday, 7 October 2015 at 05:27:12 UTC, Laeeth Isharc wrote: On Wednesday, 7 October 2015 at 02:53:32 UTC, Steven Schveighoffer wrote: On 10/6/15 7:21 PM, Laeeth Isharc wrote: could we have ssize_t defined in phobos

Re: D 2015/2016 Vision?

2015-10-07 Thread bitwise via Digitalmars-d
On Wednesday, 7 October 2015 at 07:24:03 UTC, Paulo Pinto wrote: On Tuesday, 6 October 2015 at 20:43:42 UTC, bitwise wrote: On Tuesday, 6 October 2015 at 18:43:42 UTC, Jonathan M Davis wrote: On Tuesday, 6 October 2015 at 18:10:42 UTC, bitwise wrote: On Tuesday, 6 October 2015 at 17:20:39 UTC,

Categorizing Ranges

2015-10-07 Thread Mike Parker via Digitalmars-d
I'm looking for ideas on how to label the ranges returned from take and drop. Some examples of what I think are appropriate categories for other types of ranges: Generative - iota, recurrence, sequence Compositional - chain, roundRobin, transposed Iterative - retro, stride, lockstep XXX -

Re: Categorizing Ranges

2015-10-07 Thread Big Daddy via Digitalmars-d
On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote: I'm looking for ideas on how to label the ranges returned from take and drop. Some examples of what I think are appropriate categories for other types of ranges: Generative - iota, recurrence, sequence Compositional - chain,

Re: Go, D, and the GC

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 14:13:38 UTC, Meta wrote: On Wednesday, 7 October 2015 at 09:59:05 UTC, Timon Gehr wrote: struct S{ @disable this(); @disable enum init=0; } void main(){ S s; // error auto d=S.init; // error } That's just awful. Being able to declare a

Re: Go, D, and the GC

2015-10-07 Thread Meta via Digitalmars-d
On Wednesday, 7 October 2015 at 09:59:05 UTC, Timon Gehr wrote: struct S{ @disable this(); @disable enum init=0; } void main(){ S s; // error auto d=S.init; // error } That's just awful.

Re: Is Anything Holding you back?

2015-10-07 Thread Johannes Pfau via Digitalmars-d
Am Wed, 07 Oct 2015 10:50:38 + schrieb Jonathan M Davis : > On Wednesday, 7 October 2015 at 10:03:11 UTC, Johannes Pfau wrote: > > Am Wed, 07 Oct 2015 08:41:30 + > > schrieb Jonathan M Davis : > > > >> On Wednesday, 7 October 2015 at 07:08:39 UTC,

Re: D 2015/2016 Vision?

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 11:21:04 UTC, Namespace wrote: Well, except that then it's less obvious that an object is ref-counted and less likely that the programmer using it will realize that the object expects to have a deterministic lifetime. So, it might actually make the situation

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-07 Thread Trass3r via Digitalmars-d
On Tuesday, 6 October 2015 at 22:39:01 UTC, Ulrich Küttler wrote: Yes, this is an explanation. Thanks. So the argument being C++ customs. Now that you mention it, this seems to be the argument in Eric's D4128 paper, too. I was hoping for a somewhat deeper reasoning. Out of curiously, I am

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 16:33:21 UTC, John Colvin wrote: On Wednesday, 7 October 2015 at 14:59:28 UTC, Trass3r wrote: On Tuesday, 6 October 2015 at 22:39:01 UTC, Ulrich Küttler wrote: Yes, this is an explanation. Thanks. So the argument being C++ customs. Now that you mention it, this

Re: Categorizing Ranges

2015-10-07 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, 7 October 2015 at 16:54:00 UTC, Meta wrote: On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote: I'm looking for ideas on how to label the ranges returned from take and drop. Some examples of what I think are appropriate categories for other types of ranges:

Re: D 2015/2016 Vision?

2015-10-07 Thread Atila Neves via Digitalmars-d
On Wednesday, 7 October 2015 at 17:02:51 UTC, Paulo Pinto wrote: On Wednesday, 7 October 2015 at 15:42:57 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 7 October 2015 at 13:15:11 UTC, Paulo Pinto wrote: In general, I advocate any form of automatic memory/resource management. With substructural

Re: Categorizing Ranges

2015-10-07 Thread H. S. Teoh via Digitalmars-d
On Wed, Oct 07, 2015 at 05:15:45PM +, Jonathan M Davis via Digitalmars-d wrote: > On Wednesday, 7 October 2015 at 16:54:00 UTC, Meta wrote: > >On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote: > >>I'm looking for ideas on how to label the ranges returned from take > >>and drop.

Re: D and microservices

2015-10-07 Thread Atila Neves via Digitalmars-d
On Wednesday, 7 October 2015 at 10:48:02 UTC, Russel Winder wrote: On Wed, 2015-10-07 at 07:15 +, extrawurst via Digitalmars-d wrote: […] I have never used Go, but isn't what you describe exactly what vibe.d is doing using Fibers ? As I understand it, vibe.d is a single threaded

[Issue 15037] method TypeInfo.init shadows built-in init property

2015-10-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15037 ag0ae...@gmail.com changed: What|Removed |Added Assignee|nob...@puremagic.com|ag0ae...@gmail.com --- Comment #1 from

Re: Categorizing Ranges

2015-10-07 Thread Ali Çehreli via Digitalmars-d
On 10/07/2015 09:15 AM, Mike Parker wrote: On Wednesday, 7 October 2015 at 15:43:44 UTC, Ali Çehreli wrote: Something like shortening, minimizing? Ali How about reductive? That's what I had in mind when I started thesaurusing for the other two. :) Ali

  1   2   >