Re: Howto use an alternative Linker with DUB?

2014-11-16 Thread Mike Parker via Digitalmars-d-learn
On 11/16/2014 6:46 AM, univacc wrote: Hi, I am sitting in front of this problems for hours now and I need help: I need the a linker that is capable of delayed DLL loading and apparently, OPTLINK does not provide this option. unilink and Microsofts incremental linker support it so I would like

Re: Mixed Language Programming - e**x crashes

2014-11-16 Thread Kagamin via Digitalmars-d-learn
Well, the easiest thing is to see assembler generated at both sides and check if they are compatible. If they are not, try to interface via C ABI. You can also inspect value of X before calling EXP.

Operating on a Variadic Function Parameter Set

2014-11-16 Thread Nordlöw
If I have a variadic function such as in haystack.find(needles) what options do I have for defining needles in compile-time outside of this expression and call find() with this definition as arguments possibly multiple-times? Is std.typecons.Tuple my only option here? Further, is it

Re: Operating on a Variadic Function Parameter Set

2014-11-16 Thread Nordlöw
On Sunday, 16 November 2014 at 11:40:16 UTC, Nordlöw wrote: If I have a variadic function such as in haystack.find(needles) what options do I have for defining needles in compile-time outside of this expression and call find() with this definition as arguments possibly multiple-times?

Re: Precise TLS GC

2014-11-16 Thread Etienne via Digitalmars-d-learn
I realize this shouldn't belong in D.learn :) http://forum.dlang.org/thread/m4aahr$25qd$2...@digitalmars.com#post-m4aahr:2425qd:242:40digitalmars.com

Precise TLS GC

2014-11-16 Thread Etienne via Digitalmars-d-learn
I always wondered why we would use the shared keyword on GC allocations if only the stack can be optimized for TLS Storage. After thinking about how shared objects should work with the GC, it's become obvious that the GC should be optimized for local data. Anything shared would have to be

printing array of strings with writefln?

2014-11-16 Thread Artem Tarasov via Digitalmars-d-learn
writefln(%(%s-%), [a, b, c]) doesn't print the intended a-b-c but surrounds each string with double quotes - a-b-c, which I find inconsistent with the fact that writefln(%s, a string) prints the string without any quotes. How do I get the desired behaviour using just the format string?

Re: Operating on a Variadic Function Parameter Set

2014-11-16 Thread Nordlöw
On Sunday, 16 November 2014 at 11:40:16 UTC, Nordlöw wrote: If I have a variadic function such as in haystack.find(needles) what options do I have for defining needles in compile-time outside of this expression and call find() with this definition as arguments possibly multiple-times?

Re: printing array of strings with writefln?

2014-11-16 Thread JR via Digitalmars-d-learn
On Sunday, 16 November 2014 at 14:16:55 UTC, Artem Tarasov wrote: writefln(%(%s-%), [a, b, c]) doesn't print the intended a-b-c but surrounds each string with double quotes - a-b-c, which I find inconsistent with the fact that writefln(%s, a string) prints the string without any quotes. How

Re: printing array of strings with writefln?

2014-11-16 Thread Artem Tarasov via Digitalmars-d-learn
Thanks! The Ali's book is indeed superb, covering even such minor details.

Kitchen Offers Reviews

2014-11-16 Thread ayoayo via Digitalmars-d-learn
Don’t know why more companies can’t be like kitchen offers that offer a pay on delivery service. No need for big deposits.