On Thursday, 22 October 2015 at 17:19:07 UTC, Idan Arye wrote:
Now, in your case, since vals is a static array, it should be
possible to know it's value at compile time. Maybe if there was
a `tupleof` for static arrays?
Ask and ye shall receive.
On Thu, 22 Oct 2015 11:55:37 +, Nordlöw wrote:
> What's wrong?
HashSet has a disabled default constructor; you need to supply the
allocator instance to the constructor here https://github.com/nordlow/
justd/blob/master/containers_ex.d#L17
Hi folks, I'm having trouble setting up dmd on a fresh system. The short
of it is nothing in dmd.conf seems to be taken into account.
Furthermore, sections such as [Environment] are rejected with the error
message:
Error: Use 'NAME=value' syntax, not '[ENVIRONMENT]'
What happened?
Thanks,
Hi everyone,
LDC 0.16.0, the LLVM-based D compiler, is available for download!
This release is based on the 2.067.1 frontend and standard
library and supports LLVM 3.1-3.7 (OS X: no support for 3.3).
Don't miss to check if your preferred system is supported by this
release. We also have a
OK, I think I figured the problem: Unicode!
I have the following repro with DMD64 D Compiler v2.068.2 on Ubuntu 15
(the default installation). If there's no ~/dmd.conf, running 'dmd'
alone displays the options.
If there's a zero byte dmd.conf, things still work.
If there's a dmd.conf in
On Thursday, 22 October 2015 at 15:23:34 UTC, Szymon Gatner wrote:
On Thursday, 22 October 2015 at 15:22:16 UTC, Szymon Gatner
wrote:
On Wednesday, 21 October 2015 at 23:40:15 UTC, Elie Morisse
wrote:
It's been a while since the last update, so here's a quick
one before making the jump to LDC
On Thursday, 22 October 2015 at 17:32:34 UTC, Justin Whear wrote:
On Thu, 22 Oct 2015 11:55:37 +, Nordlöw wrote:
What's wrong?
HashSet has a disabled default constructor; you need to supply
the allocator instance to the constructor here
https://github.com/nordlow/
On 21-Oct-2015 19:13, Ola Fosheim Grøstad wrote:
5. Lock-free data structures.
More generally - concurrent. It may have fine-grained locking, it may be
obstruction-free or even wait-free.
--
Dmitry Olshansky
On 21-Oct-2015 19:21, Shriramana Sharma wrote:
Shriramana Sharma wrote:
iterating through a
string as a range will produce each semantically meaningful Unicode
character rather than each UTF-8 or UTF-16 codepoint, it does make sense
to do this.
Dear me... I meant UTF-8 encoded byte, rather
On Wednesday, 21 October 2015 at 20:50:29 UTC, Andrei
Alexandrescu wrote:
Better late than later.
http://wiki.dlang.org/Vision/2015H2_(draft)
Destroy. After we make this good I'll rename it and make it
official.
Andrei
Emphasize vibe.d
No significant progress. There has been pushback
On Wednesday, 21 October 2015 at 11:05:12 UTC, Andrei
Alexandrescu wrote:
Andrei
Exiting, times ahead!
One thing that has caught my attention lately:
I believe one way of making `std.experimental.allocator` usage
(more) automatic is to add subtypes of containers for specific
limited access
On Wednesday, 21 October 2015 at 18:56:25 UTC, Jonathan M Davis
wrote:
LOL. Yeah. That's a pretty epic change of topic; it's not even
_close_ to the original anymore.
How about this D Code of Conduct: do the stuff.
On 21-Oct-2015 20:35, Jacob Carlborg wrote:
On 2015-10-21 16:13, Shriramana Sharma wrote:
Why is it a mistake? That seems a very sane thing, although somewhat
quirky.
Since ElementType is a Range primitive, and apparently iterating
through a
string as a range will produce each semantically
On Wednesday, 21 October 2015 at 22:36:46 UTC, Andrei
Alexandrescu wrote:
On 10/21/2015 05:50 PM, Guillaume Chatelet wrote:
For C++ vector and string I have a pull request available but
it will
not work until name mangling works correctly and the linux/OSX
C++ name
mangling is utterly broken
Am 22.10.2015 um 00:15 schrieb Zz:
On Wednesday, 21 October 2015 at 22:12:32 UTC, Zz wrote:
On Wednesday, 21 October 2015 at 19:17:52 UTC, Andrei Alexandrescu wrote:
On 10/21/2015 02:18 PM, Zz wrote:
While looking at containers take a look at Jiri Soukup's work some good
ideas could come
On Wednesday, 21 October 2015 at 11:05:12 UTC, Andrei
Alexandrescu wrote:
Internally, functional containers take advantage of common
substructure and immutability to share actual data. The classic
resource for defining and implementing functional containers is
On Wednesday, 22 July 2015 at 13:30:12 UTC, gameyan wrote:
We Provide the best Character Modelling & Regging animation
Service Worldwide. we design high & low poly 3D character
modeling, rigging, animation, game assets with special effects
and more. If any one is interested in any work done
On Wednesday, 21 October 2015 at 22:49:16 UTC, Marco Leise wrote:
God forbid anyone implement such nonsense into D !
That would be the last thing we need
Slight nitpick, but what I suggested for our hypothetical
situation was only to apply for auto, once variable was assigned
to auto and
On Thursday, 22 October 2015 at 01:54:47 UTC, Sebastiaan Koppe
wrote:
On Wednesday, 21 October 2015 at 17:38:14 UTC, Jacob Carlborg
wrote:
You can have a look at Grafana [1]. Then you can have a real
time graph, if that's of interest. In addition to that the
graphs are a lot nicer :)
I
On 22-Oct-2015 04:30, Mattcoder wrote:
On Wednesday, 21 October 2015 at 14:42:58 UTC, Andrei Alexandrescu wrote:
...
Interesting numbers, I think it's ~1200 avg?
Maybe I'm too lazy, but I'm still using the 2.066 (Oct. 2014)! :)
A good sign actually... Who would dare to stay a couple of
How do I convert a `string` containing Unicode escape sequences
such as "\u" into UTF-8?
On Thursday, 22 October 2015 at 18:28:50 UTC, Ali Çehreli wrote:
If you already have a piece of memory, it is trivial to convert
it to a slice in D:
auto slice = existing_pointer[0 .. number_of_elements];
http://ddili.org/ders/d.en/pointers.html#ix_pointers.slice%20from%20pointer
The
On 22-Oct-2015 18:57, Shriramana Sharma wrote:
I tried:
import std.stdio;
void main()
{
int [5] vals = [1, 2, 3, 4, 5];
writefln("A = %d, B = %d, C = %d, D = %d, E = %d", vals []);
}
but got thrown an exception that "%d is not a valid specifier for a range".
The Python
On 10/22/2015 11:20 AM, pineapple wrote:
> I'd like to use fread and fwrite in place of File.rawRead and
> File.rawWrite which force the creation of an array where I'd rather
> specify a buffer location and length.
Would you not create that buffer? :)
If you already have a piece of memory, it
On 2015-10-22 19:43, Andrei Alexandrescu wrote:
Hi folks, I'm having trouble setting up dmd on a fresh system. The short
of it is nothing in dmd.conf seems to be taken into account.
Furthermore, sections such as [Environment] are rejected with the error
message:
Error: Use 'NAME=value' syntax,
On 2015-10-22 19:58, ketmar wrote:
seems that OS X version is the one with old [Environment], so it fails.
There's no point in having different sections on OS X, because all
libraries are universal.
--
/Jacob Carlborg
On Thursday, 22 October 2015 at 15:57:05 UTC, Shriramana Sharma
wrote:
I tried:
import std.stdio;
void main()
{
int [5] vals = [1, 2, 3, 4, 5];
writefln("A = %d, B = %d, C = %d, D = %d, E = %d", vals []);
}
but got thrown an exception that "%d is not a valid specifier
for a
https://issues.dlang.org/show_bug.cgi?id=15236
Jack Stouffer changed:
What|Removed |Added
Blocks||13409
--
https://issues.dlang.org/show_bug.cgi?id=13409
Jack Stouffer changed:
What|Removed |Added
Depends on||15236
--
On 10/22/2015 01:58 PM, ketmar wrote:
i believe that envs now should be:
[Environment32]
or
[Environment64]
seems that OS X version is the one with old [Environment], so it fails.
Tried both of them, nothing works. Also, the preexisting dmd on ubuntu
fails like this:
dmd: inifile.c:141:
Answered my own question: Turns out File.getFP() does exactly
what I needed
On Thursday, October 22, 2015 08:10 PM, Nordlöw wrote:
> How do I convert a `string` containing Unicode escape sequences
> such as "\u" into UTF-8?
Ali explained that "\u" is already UTF-8.
But if you actually want to interpret such escape sequences from user input
or some such, then
On Thursday, 22 October 2015 at 15:10:58 UTC, pineapple wrote:
What does if(isIntegral!T) do? It looks like it would verify
that the template type is a discrete number?
It doesn't verify, but filters: you can have several templates
with the same name, when filter doesn't match, compiler tries
On Thursday, 22 October 2015 at 19:16:36 UTC, Nordlöw wrote:
Can somebody point out in which function/file DMD does this
decoding?
std.conv.parseEscape includes this logic.
But why is it private?
https://issues.dlang.org/show_bug.cgi?id=15236
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from
On Thu, 22 Oct 2015 19:41:08 +, Nordlöw wrote:
> My existing call to
>
> auto set = HashSet!(E, Allocator)();
>
> works for Mallocator as in
>
> https://github.com/nordlow/justd/blob/master/containers_ex.d#L17
>
> but not for
>
> InSituRegion!(1024*1024, T.alignof)
>
> Why?
On Thursday, 22 October 2015 at 19:43:04 UTC, Jacob Carlborg
wrote:
On 2015-10-21 23:49, Laeeth Isharc wrote:
Objective C??
The initial support for Objective-C will be available in the
upcoming release [1].
[1] http://dlang.org/changelog/2.069.0.html#objective-c-support
Should this not
On Thursday, 22 October 2015 at 19:16:00 UTC, Laeeth Isharc wrote:
We really do need to stop hiding our light under a bushel.
Thinking in marketing terms doesn't always come easy to
technically minded people, and I understand why, but ultimately
the community benefits a great deal from people
https://issues.dlang.org/show_bug.cgi?id=15236
Issue ID: 15236
Summary: std.range.chain cannot chain a std.range.repeat string
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: normal
I'd like to use fread and fwrite in place of File.rawRead and
File.rawWrite which force the creation of an array where I'd
rather specify a buffer location and length. I'd like to do this
using a File object but the handle for the C stream is a private
member and I can't find any way to access
On Thursday, 22 October 2015 at 17:01:55 UTC, Jeffery wrote:
... (I don't see how wrapping breaks encapsulation, in fact, it
adds another layer of encapsulation, which isn't breaking it,
is it?)
The work argument was my whole point though. If the compiler
internally wrapped all unwrapped
On Thursday, 22 October 2015 at 18:24:57 UTC, Justin Whear wrote:
We've got two new openings at EMSI, one of which will work
daily in D. For the other D experience is a big plus.
Data Engineer:
http://www.jobs.net/jobs/economic-modeling/en-us/job/United-States/
https://issues.dlang.org/show_bug.cgi?id=15234
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment
https://issues.dlang.org/show_bug.cgi?id=13981
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment
https://issues.dlang.org/show_bug.cgi?id=15233
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||ice
CC|
On Thursday, 22 October 2015 at 18:23:08 UTC, Andrei Alexandrescu
wrote:
On 10/22/2015 09:08 AM, Walter Bright wrote:
On 10/21/2015 1:38 PM, Laeeth Isharc wrote:
On Wednesday, 21 October 2015 at 19:03:56 UTC, Suliman wrote:
Could anybody reddit this benchmark?
done
On Thursday, 22 October 2015 at 16:29:19 UTC, bitwise wrote:
Maybe look at the code next time before you LOL..
My point would be the same regardless. Range!(const T) and
const(Range!T) - and Container!(const T) and const(Container!T) -
have no relation as far as the compiler is
i believe that envs now should be:
[Environment32]
or
[Environment64]
seems that OS X version is the one with old [Environment], so it
fails.
On Thursday, 22 October 2015 at 18:40:06 UTC, anonymous wrote:
On Thursday, October 22, 2015 08:10 PM, Nordlöw wrote:
How do I convert a `string` containing Unicode escape
sequences such as "\u" into UTF-8?
Ali explained that "\u" is already UTF-8.
But if you actually want to
On Thursday, 22 October 2015 at 14:57:22 UTC, BBasile wrote:
On Wednesday, 21 October 2015 at 16:59:09 UTC, Jack Stouffer
wrote:
On Tuesday, 20 October 2015 at 12:46:51 UTC, BBasile wrote:
On Monday, 19 October 2015 at 19:56:15 UTC, Jack Stouffer
wrote:
On Monday, 19 October 2015 at 15:03:52
On 2015-10-21 23:49, Laeeth Isharc wrote:
Objective C??
The initial support for Objective-C will be available in the upcoming
release [1].
[1] http://dlang.org/changelog/2.069.0.html#objective-c-support
--
/Jacob Carlborg
On 10/22/2015 11:10 AM, Nordlöw wrote:
How do I convert a `string` containing Unicode escape sequences such as
"\u" into UTF-8?
It's already UTF-8 because it's a 'string'. :)
import std.stdio;
void main() {
auto s = "\u1234";
foreach (codeUnit; s) {
writefln("%02x %08b",
hm. sorry, i forgot to mention that i'm using git HEAD. it seems
to work ok in HEAD.
just checked 2.068.2, freshly downloaded, and it seems to work
fine (at least 32-bit version). it looks like you have something
weird with your system. maybe some environment var set to
something strange?
On Thursday, 22 October 2015 at 18:20:07 UTC, pineapple wrote:
I'd like to use fread and fwrite in place of File.rawRead and
File.rawWrite which force the creation of an array where I'd
rather specify a buffer location and length.
D's arrays *are* just buffer locations and lengths with a few
On Thursday, 22 October 2015 at 19:13:20 UTC, Nordlöw wrote:
* Drop the backslash and the 'u'.
* Parse as a hexadecimal integer, and cast to dchar.
* Use std.utf.encode to convert to UTF-8. std.conv.to can
probably do it
too, and possibly simpler, but would allocate.
Also be aware of the
exactly! i just added BOM to dmd.conf, and got the same assertion.
Hello. I have a class:
abstract class Addon
{
public activate(){...}
...
}
its children:
class A: Addon {... }
class B: Addon {... }
How do I create an array of subclasses Addon? For example, one
could to do so:
T[2] addons = [new A(), new B()];
foreach(T addon; addons){
https://issues.dlang.org/show_bug.cgi?id=15214
--- Comment #3 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/371fe97fb740893e2d8c52c7b09183b44d6f3b46
fix Issue 15214 - ICE in
https://issues.dlang.org/show_bug.cgi?id=15039
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/1df5afebe4274ef2ab382076d569b91835f832c4
fix Issue 15039 -
This works:
abstract class Addon {
public void activate() {
}
}
class A: Addon {}
class B: Addon {}
void main() {
Addon[2] addons = [new A(), new B()];
}
This works too:
Addon[] addons = [new A(), new B()];
I am happy to report that even the following works with dmd
On Thursday, 22 October 2015 at 11:55:39 UTC, Nordlöw wrote:
https://github.com/nordlow/justd/blob/master/containers_ex.d
The current GitHub of containers_ex.d (using dmd git master)
version works if justd repo is cloned recursively.
At
https://github.com/nordlow/justd/blob/master/containers_ex.d
I want to benchmark Economic Modelings container packages.
Specifically HashSet with different allocators.
But when I try to use `LocalAllocator` defined as
alias LocalAllocator = InSituRegion!(n, T.alignof);
at
https://issues.dlang.org/show_bug.cgi?id=15039
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=15236
Jack Stouffer changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=13409
Issue 13409 depends on issue 15236, which changed state.
Issue 15236 Summary: std.range.chain cannot chain a std.range.repeat string
https://issues.dlang.org/show_bug.cgi?id=15236
What|Removed |Added
Am Thu, 22 Oct 2015 21:50:33 +0200
schrieb Jacob Carlborg :
> On 2015-10-22 19:43, Andrei Alexandrescu wrote:
> > Hi folks, I'm having trouble setting up dmd on a fresh system. The short
> > of it is nothing in dmd.conf seems to be taken into account.
> > Furthermore, sections such
On Thursday, 22 October 2015 at 11:57:37 UTC, Nordlöw wrote:
On Thursday, 22 October 2015 at 11:55:39 UTC, Nordlöw wrote:
https://github.com/nordlow/justd/blob/master/containers_ex.d
The current GitHub of containers_ex.d (using dmd git master)
version works if justd repo is cloned
On 22.10.2015 21:13, Nordlöw wrote:
Hmm, why isn't this already in Phobos?
I think parsing only Unicode escape sequences is not a common task. You
usually need to parse some larger language of which escape sequences are
only a part. For example, parsing JSON or XML are common tasks, and we
On Thursday, 22 October 2015 at 03:34:17 UTC, Joakim wrote:
Someone needs to write up a good translation of a C++ project
to D, showing how the code is better in D and particularly
demonstrating D idioms instead. The ongoing DDMD project,
translating the dmd frontend from C++ to D, may be a
On Thursday, 22 October 2015 at 17:13:48 UTC, Jonathan M Davis
wrote:
On Thursday, 22 October 2015 at 16:29:19 UTC, bitwise wrote:
Maybe look at the code next time before you LOL..
My point would be the same regardless. Range!(const T) and
const(Range!T) - and Container!(const T) and
... or, it turns out, sdc doesn't like it when you forget to rewrite
`void main()` as `int main()`, and its error messages are still in the cryptic
stage :-P
Onwards and upwards, then ... :-)
On 18/10/15 19:58, Joseph Rushton Wakeling via Digitalmars-d-learn wrote:
Turns out even `return
On Wednesday, 21 October 2015 at 20:06:41 UTC, Andrei
Alexandrescu wrote:
On 10/21/2015 03:38 PM, Jonathan M Davis wrote:
On Wednesday, 21 October 2015 at 19:19:23 UTC, Andrei
Alexandrescu wrote:
I'd say let's first have a Pope before becoming more Catholic
than
him. -- Andrei
I confess
On Wednesday, 21 October 2015 at 20:50:29 UTC, Andrei
Alexandrescu wrote:
Better late than later.
http://wiki.dlang.org/Vision/2015H2_(draft)
Destroy. After we make this good I'll rename it and make it
official.
Andrei
Would be cool if we could find ideas for the next GSoC that
aligns
On 22.10.2015 06:14, Shriramana Sharma wrote:
anonymous wrote:
Huh. I can't find any specification on this, but apparently the local
overload set shadows any imported overload sets completely.
Should I file a bug on this then?
I'm not sure. Maybe make a thread on the main group first. It's
On Thursday, 22 October 2015 at 19:16:00 UTC, Laeeth Isharc wrote:
On Thursday, 22 October 2015 at 18:23:08 UTC, Andrei
Alexandrescu wrote:
On 10/22/2015 09:08 AM, Walter Bright wrote:
[...]
This has been a homerun. Congratulations for this work and
also for publicizing it! (Consider it
On Tuesday, 20 October 2015 at 17:58:07 UTC, tcak wrote:
On Tuesday, 20 October 2015 at 17:01:19 UTC, karabuta wrote:
I hope I am wrong, but dlangui seems to be abandoned for some
time after all the hard work that went into it. I really like
it since it was easy to setup and get things
Reminder...
Ali
On 10/16/2015 02:35 PM, Ali Çehreli wrote:
We are meeting at Innowest and you are eating pizza! :)
Innowest has graciously accepted to be our venue sponsor going forward:
http://innowest.org/
Here is the meeting announcement:
Am Thu, 22 Oct 2015 06:10:56 -0700
schrieb Walter Bright :
> On 10/21/2015 3:40 PM, Laeeth Isharc wrote:
> > Have you thought about writing up your experience with writing fast json?
> > A bit
> > like Walter's Dr Dobbs's article on wielding a profiler to speed up
On Wednesday, 21 October 2015 at 11:25:17 UTC, Kagamin wrote:
https://issues.dlang.org/show_bug.cgi?id=15027 It's a general
problem with alias this being an incomplete subtyping.
IMHO, alias this is a disaster for templated code - e.g. it's way
too easy for something to pass a template
On Thursday, 22 October 2015 at 22:06:47 UTC, Nordlöw wrote:
Can't I use InSituRegion in this way?
No.
InSituRegion is not copyable. Try creating a
`HashSet!(InSituRegion*)` instead.
https://issues.dlang.org/show_bug.cgi?id=15237
Issue ID: 15237
Summary: BOM in dmd.conf not supported
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority:
On Thursday, 22 October 2015 at 18:02:08 UTC, Kagamin wrote:
Cool, is that a value type QString? Really? Then functions in
Qt5 demo should accept QString by ref to better match C++.
Not sure if I already announced it here but one major change a
few months ago is that all C++ classes are now
On Thursday, 22 October 2015 at 06:28:06 UTC, Suliman wrote:
Does it's mean, that Calypso can be work as plugin for Clang?
As a LDC plugin, so that LDC doesn't depend on Clang.
On Thursday, 22 October 2015 at 15:22:16 UTC, Szymon Gatner wrote:
Wow, this is fantastic. What about Windows and
On Thursday, 22 October 2015 at 16:15:23 UTC, Shriramana Sharma
wrote:
I wanted a D equivalent to:
http://doc.qt.io/qt-5/qdatastream.html
https://docs.python.org/3/library/pickle.html
and saw that one is under construction:
http://wiki.dlang.org/Review/std.serialization
But till it's
While working on updating and improving Lionello Lunesu's
proposed fix for DMD issue #259, I have come across a value range
propagation related issue with the dchar type.
The patch adds VRP-based compile-time evaluation of integer type
comparisons, where possible. This caused the following
On Thursday, 22 October 2015 at 23:23:50 UTC, Elie Morisse wrote:
MSVC hasn't been tested since 5 months ago. Calypso built by
MSVC compiles basic examples but last time we tried none of the
C++ standard lib test cases worked. Maybe it's better now that
the template support is more robust
On Thursday, 22 October 2015 at 02:35:34 UTC, rcorre wrote:
Come to think of it, SuperStruct actually sounds pretty similar
to std.range.chooseAmong (which I just realized exists).
It seems to work quite nicely as an alternative to choose that
works with any types as opposed to just ranges:
On Thursday, 22 October 2015 at 20:54:01 UTC, Marco Leise wrote:
Am Thu, 22 Oct 2015 06:10:56 -0700
schrieb Walter Bright :
On 10/21/2015 3:40 PM, Laeeth Isharc wrote:
> Have you thought about writing up your experience with
> writing fast json? A bit like
https://issues.dlang.org/show_bug.cgi?id=15238
Issue ID: 15238
Summary: Heisenbug running std.random unittests
Product: D
Version: D2
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority:
On Wednesday, 21 October 2015 at 20:50:29 UTC, Andrei
Alexandrescu wrote:
Better late than later.
http://wiki.dlang.org/Vision/2015H2_(draft)
Destroy. After we make this good I'll rename it and make it
official.
Andrei
"DConf 2016 in Berlin is slated to be a larger event than before."
I
On Thursday, 22 October 2015 at 05:17:29 UTC, Cauterite wrote:
On Thursday, 22 October 2015 at 04:25:01 UTC, MobPassenger
wrote:
On Thursday, 22 October 2015 at 04:01:16 UTC, Mike Parker
wrote:
On Thursday, 22 October 2015 at 03:19:49 UTC, MobPassenger
wrote:
code:
---
struct Foo
{
bool
On Thursday, 22 October 2015 at 01:50:08 UTC, Rikki Cattermole
wrote:
On 22/10/15 9:50 AM, Andrei Alexandrescu wrote:
Better late than later.
http://wiki.dlang.org/Vision/2015H2_(draft)
Destroy. After we make this good I'll rename it and make it
official.
Andrei
Can we add priority for
https://issues.dlang.org/show_bug.cgi?id=15233
Issue ID: 15233
Summary: TypeTuple causes segfault in dmd 2.68.2
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
On Thursday, 22 October 2015 at 03:34:17 UTC, Joakim wrote:
Someone needs to write up a good translation of a C++ project
to D, showing how the code is better in D and particularly
demonstrating D idioms instead. The ongoing DDMD project,
translating the dmd frontend from C++ to D, may be a
On Wednesday, 21 October 2015 at 23:21:21 UTC, Brian Schott wrote:
dfmt is a formatter for D source code.
Changes from 0.4.0:
* #189: Better formatting for "in" expressions where the right
side of the "in" operator is a function literal.
* #190: Fix a bug where whitespace was removed from
On 22/10/15 10:49 PM, Jonathan M Davis wrote:
On Thursday, 22 October 2015 at 01:50:08 UTC, Rikki Cattermole wrote:
On 22/10/15 9:50 AM, Andrei Alexandrescu wrote:
Better late than later.
http://wiki.dlang.org/Vision/2015H2_(draft)
Destroy. After we make this good I'll rename it and make it
On Thursday, 22 October 2015 at 06:14:34 UTC, DarkRiDDeR wrote:
T[2] addons = [new A(), new B()];
Until pretty recently the compiler was a little picky about the
types here so you might have to explicitly cast the first element
to the base clas type.
T[2] addons = [cast(T) new A(), new
On Thursday, 22 October 2015 at 13:58:56 UTC, Adam D. Ruppe wrote:
D's templates are easy (you actually used one in there, the
Generator is one!)
Try this:
import std.concurrency;
Generator!T sequence(T)(T i){
return new Generator!T({
yield(i);
while(i > 1){
On 23/10/15 3:13 AM, Jack Stouffer wrote:
On Thursday, 22 October 2015 at 09:49:30 UTC, Jonathan M Davis wrote:
Has anyone come up with a proposal for review for possible Phobos
inclusion? That's usually the holdup on that sort of thing, not a
vision document.
- Jonathan M Davis
On Thursday, 22 October 2015 at 13:29:06 UTC, DarkRiDDeR wrote:
I don't need the base class data. How to create a array of
subclasses objects with the derived data members?
The language is implemented in this way. You have already have
the answer:
writeln(Core.users.name)
Out:
USERS
1 - 100 of 160 matches
Mail list logo