This code:
import std.stdio;
import std.datetime;
void main()
{
SysTime t = SysTime.init;
writeln(t);
}
results in segfault with dmd-2.068.2
Is it ok?
Backtrace:
#0 0x004733f3 in std.datetime.SysTime.adjTime() const ()
#1 0x004730b9 in
On Monday, 5 October 2015 at 00:23:21 UTC, Jonathan M Davis wrote:
On Sunday, October 04, 2015 14:42:48 bitwise via
Digitalmars-d-learn wrote:
Since D is moving towards a phobos with no GC, what will
happen to things that are classes like Condition and Mutex?
Phobos and druntime will always
On Monday, October 05, 2015 18:12:06 tchaloupka via Digitalmars-d-learn wrote:
> This code:
>
> import std.stdio;
> import std.datetime;
>
> void main()
> {
> SysTime t = SysTime.init;
> writeln(t);
> }
>
> results in segfault with dmd-2.068.2
>
> Is it ok?
It is by design, albeit
On 06/10/15 11:26 AM, holo wrote:
On Monday, 5 October 2015 at 21:00:38 UTC, Vladimir Panteleev wrote:
On Monday, 5 October 2015 at 19:43:39 UTC, holo wrote:
@Vladimir where can i check or do you know when next version of
phobos will be available?
You can use Digger to get the latest version
On Monday, October 05, 2015 11:48:51 Marc Schütz via Digitalmars-d-learn wrote:
> On Monday, 5 October 2015 at 10:30:02 UTC, Jonathan M Davis wrote:
> > On Monday, October 05, 2015 09:07:34 Marc Schütz via
> > Digitalmars-d-learn wrote:
> >> I don't think math would be a problem. There are some
On Saturday, 3 October 2015 at 23:58:39 UTC, Rikki Cattermole
wrote:
On 04/10/15 2:31 AM, holo wrote:
On Saturday, 3 October 2015 at 12:50:58 UTC, Rikki Cattermole
wrote:
On 04/10/15 1:49 AM, holo wrote:
On Saturday, 3 October 2015 at 12:22:11 UTC, Rikki
Cattermole wrote:
On 04/10/15 1:09
Development environments are very personal, and perhaps it's just
my age and not always wanting to learn what the kids are using
today, but I personally find strategic writeflns more helpful
than an IDE for debugging. Still, there comes a point when that
isn't enough.
Ketmar mentioned
On Monday, 5 October 2015 at 17:40:24 UTC, bitwise wrote:
You may be right. I wrote a simple download manager in D using
message passing. It was a little awkward at first, but in
general, the spawn/send/receive API seems very intuitive. It
feels awkward because the data you're working with is
On Sunday, 4 October 2015 at 21:57:44 UTC, Jonathan M Davis wrote:
When appending, b to a, the elements in b are being copied onto
the end of a, and presumably it works in this case, because a
ubyte is implicitly convertible to char. But all it's doing is
converting the individual elements.
On Monday, October 05, 2015 05:58:32 Alexander via Digitalmars-d-learn wrote:
> Is it just me, or is not posix termios.h implemented in phobos?
> (git), I am looking at core.sys.linux.termios but all I get there
> is a few enums(B57600, B115200, etc..)?
There's a core.sys.posix.termios and
Is it just me, or is not posix termios.h implemented in phobos?
(git), I am looking at core.sys.linux.termios but all I get there
is a few enums(B57600, B115200, etc..)?
On Sunday, 4 October 2015 at 14:31:43 UTC, BBasile wrote:
On Friday, 2 October 2015 at 09:15:13 UTC, Dmitri wrote:
On Friday, 2 October 2015 at 04:50:59 UTC, BBasile wrote:
On Friday, 2 October 2015 at 04:46:51 UTC, BBasile wrote:
On Friday, 2 October 2015 at 04:24:11 UTC, Adam D. Ruppe
On Monday, 5 October 2015 at 08:19:26 UTC, Per Nordlöw wrote:
Is there an (official or unoffical) prerelease version of the
Phobos docs, typically for studying std.allocator?
It would be nice to have the D servers auto-generate this every
time a PR is merged into druntime/phobos.
Is there an (official or unoffical) prerelease version of the
Phobos docs, typically for studying std.allocator?
It would be nice to have the D servers auto-generate this every
time a PR is merged into druntime/phobos.
On Monday, 5 October 2015 at 08:19:26 UTC, Per Nordlöw wrote:
Is there an (official or unoffical) prerelease version of the
Phobos docs, typically for studying std.allocator?
It would be nice to have the D servers auto-generate this every
time a PR is merged into druntime/phobos.
In each PR
On Sunday, 4 October 2015 at 21:57:44 UTC, Jonathan M Davis wrote:
On Sunday, October 04, 2015 16:13:47 skilion via
Digitalmars-d-learn wrote:
Is this allowed by the language or it is a compiler bug ?
void main() {
char[] a = "abc".dup;
ubyte[] b = [1, 2, 3];
a = b; // cannot
On 10/5/15 1:40 PM, bitwise wrote:
On Monday, 5 October 2015 at 00:23:21 UTC, Jonathan M Davis wrote:
On Sunday, October 04, 2015 14:42:48 bitwise via Digitalmars-d-learn
wrote:
Since D is moving towards a phobos with no GC, what will happen to
things that are classes like Condition and Mutex?
On Monday, 5 October 2015 at 19:43:39 UTC, holo wrote:
@Vladimir where can i check or do you know when next version of
phobos will be available?
You can use Digger to get the latest version of D:
https://github.com/CyberShadow/Digger
On Monday, 5 October 2015 at 19:57:21 UTC, Laeeth Isharc wrote:
Adam's work on terminal is quite nice - runs on Linux and
Windows (maybe OSX) and it has mouse support and you can
display images inline, which can be useful for some purposes.
Command history and easy to add shortcuts.
The
On Monday, 5 October 2015 at 20:18:18 UTC, Laeeth Isharc wrote:
On Monday, 5 October 2015 at 17:40:24 UTC, bitwise wrote:
You may be right. I wrote a simple download manager in D using
message passing. It was a little awkward at first, but in
general, the spawn/send/receive API seems very
On Monday, 5 October 2015 at 21:00:38 UTC, Vladimir Panteleev
wrote:
On Monday, 5 October 2015 at 19:43:39 UTC, holo wrote:
@Vladimir where can i check or do you know when next version
of phobos will be available?
You can use Digger to get the latest version of D:
On Monday, 5 October 2015 at 09:53:09 UTC, Per Nordlöw wrote:
On Monday, 5 October 2015 at 08:45:54 UTC, John Colvin wrote:
http://dlang.org/phobos/index.html it's on the sidebar
I can't find allocator there (yet) in tree.
http://dlang.org/phobos-prerelease/std_experimental_allocator.html
On Monday, 5 October 2015 at 10:46:20 UTC, John Colvin wrote:
I can't find allocator there (yet) in tree.
http://dlang.org/phobos-prerelease/std_experimental_allocator.html
Why?
because the website needs updating.
In the mean-time, `digger build --with=website`
Ahh, nice!
There is a weird rule on how compiler treats alias this for the N
and S types bellow.
As you can see, somehow S losses it's type and ends up a plain
string withing the Algebraic type. I would expect that all types
should be the treated the same, why a string alias will be
different then a
On Monday, 5 October 2015 at 08:45:54 UTC, John Colvin wrote:
http://dlang.org/phobos/index.html it's on the sidebar
That was too easy. Thanks!
On Monday, 5 October 2015 at 08:45:54 UTC, John Colvin wrote:
http://dlang.org/phobos/index.html it's on the sidebar
I can't find allocator there (yet) in tree.
http://dlang.org/phobos-prerelease/std_experimental_allocator.html
Why?
On Monday, 5 October 2015 at 09:04:17 UTC, Marc Schütz wrote:
Example:
http://dtest.thecybershadow.net/results/222c23bc3a5255fff85139b32277a6b9c0402815/ca92fc9f966c135b895f305595aaf43a4e66872d/
Thanks!
On Monday, October 05, 2015 09:07:34 Marc Schütz via Digitalmars-d-learn wrote:
> On Sunday, 4 October 2015 at 21:57:44 UTC, Jonathan M Davis wrote:
> > On Sunday, October 04, 2015 16:13:47 skilion via
> > Digitalmars-d-learn wrote:
> >> Is this allowed by the language or it is a compiler bug ?
>
On Monday, 5 October 2015 at 10:30:02 UTC, Jonathan M Davis wrote:
On Monday, October 05, 2015 09:07:34 Marc Schütz via
Digitalmars-d-learn wrote:
I don't think math would be a problem. There are some obvious
rules that would likely just work with most existing code:
char + int = char
char -
29 matches
Mail list logo