On Monday, 28 December 2015 at 14:42:43 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 11:13:57 UTC, Martin Nowak wrote:
We're branching for 2.070 soon, would be nice if this can make
it, but only if it's really ready.
Whooohooo!
Thanks!
Ilya
I'm writing a blog post giving an
On Tuesday, 29 December 2015 at 16:28:52 UTC, Robert burner
Schadek wrote:
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko
wrote:
OK, lets discuss every function.
That is acceptably the problem. It is not about the
documentation of the functions it is about the documentation
On Tuesday, 29 December 2015 at 18:08:52 UTC, Andrei Alexandrescu
wrote:
On 12/29/2015 11:28 AM, Robert burner Schadek wrote:
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko
wrote:
OK, lets discuss every function.
That is acceptably the problem. It is not about the
cpp.cpp:
class Oops {
public:
virtual ~Oops() {}
virtual int number() const { return 42; }
};
Oops* newOops() {
return new Oops;
}
d.d:
import std.stdio;
extern(C++) {
interface Oops {
int number() const;
}
Oops newOops();
}
void main() {
auto oops =
On Tuesday, 29 December 2015 at 04:37:44 UTC, Nick B wrote:
Would you know what is required to get good performance ?
I can guess. However without actually implementing it my guess is
as good as any.
I would probably look at HHVM, and see what is easy to
reimplement in D.
On Tuesday, 29 December 2015 at 18:32:23 UTC, Atila Neves wrote:
The problem here is that I don't know what the workaround is.
The one I used (well, last time I tried this) was to just put a
dummy function in the D interface that is a placeholder for it.
interface C++Class {
// at the
On Tuesday, 29 December 2015 at 17:17:05 UTC, Jack Stouffer wrote:
On Monday, 28 December 2015 at 14:42:43 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 11:13:57 UTC, Martin Nowak
wrote:
We're branching for 2.070 soon, would be nice if this can
make it, but only if it's really
https://issues.dlang.org/show_bug.cgi?id=15483
--- Comment #1 from thomas.bock...@gmail.com ---
Perhaps related: https://issues.dlang.org/show_bug.cgi?id=15159
--
https://issues.dlang.org/show_bug.cgi?id=15483
Issue ID: 15483
Summary: static if prevents inlining
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
On 12/29/2015 11:28 AM, Robert burner Schadek wrote:
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko wrote:
OK, lets discuss every function.
That is acceptably the problem. It is not about the documentation of the
functions it is about the documentation binding the functions
On Tuesday, 29 December 2015 at 14:26:48 UTC, Rikki Cattermole
wrote:
Okay, I remember you saying something a bit different on IRC
(at least to my understanding).
Well, I'm still a bit iffy on it, to attach a name I used the
first member of the enum which might not pass review muster in
dmd
On Tuesday, 29 December 2015 at 15:42:32 UTC, Robert burner
Schadek wrote:
On Monday, 28 December 2015 at 22:39:45 UTC, Ilya Yaroshenko
wrote:
1. First paragraph was replaced by your variant.
2. Binary representation was moved to Slice type documentation.
3. Small "Quick Start" was added, so
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko
wrote:
OK, lets discuss every function.
That is acceptably the problem. It is not about the documentation
of the functions it is about the documentation binding the
functions together and the documentation giving the idea of the
https://issues.dlang.org/show_bug.cgi?id=15159
thomas.bock...@gmail.com changed:
What|Removed |Added
CC||thomas.bock...@gmail.com
---
On Tuesday, 29 December 2015 at 09:26:31 UTC, Alex wrote:
The problem is, that the last line with the reduce does not
compile. Why?
If you get an error, it is imperative that you tell us what it is.
For the record, this code:
import std.bitmanip;
import std.stdio;
On Tuesday, 29 December 2015 at 14:51:37 UTC, Márcio Martins
wrote:
On Tuesday, 29 December 2015 at 13:54:56 UTC, Jack Stouffer
wrote:
On Tuesday, 29 December 2015 at 13:30:47 UTC, Márcio Martins
wrote:
If I am reading the code right, the number of dimensions must
always be known at compile
On Tuesday, 29 December 2015 at 13:30:47 UTC, Márcio Martins
wrote:
On Tuesday, 29 December 2015 at 07:45:14 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 22:39:45 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 21:43:35 UTC, Robert burner
Schadek wrote:
[...]
Agreed
V Tue, 29 Dec 2015 17:42:26 +
Alex Parrill via Digitalmars-d-learn
napsáno:
> On Tuesday, 29 December 2015 at 09:26:31 UTC, Alex wrote:
> > The problem is, that the last line with the reduce does not
> > compile. Why?
>
> If you get an error, it is
https://issues.dlang.org/show_bug.cgi?id=15483
hst...@quickfur.ath.cx changed:
What|Removed |Added
Keywords||performance
CC|
https://issues.dlang.org/show_bug.cgi?id=14255
--- Comment #7 from hst...@quickfur.ath.cx ---
https://github.com/D-Programming-Language/dmd/pull/5325
--
Hello, thanks for stopping in. I am fuddling through some
exercises on a certain website, and I have come across a very
frustrating bug I can't seem to fix.
The Problem:
Given a square matrix of size N×N, calculate the absolute
difference between the sums of its diagonals.
Sample Input:
3
On Wednesday, 30 December 2015 at 01:36:56 UTC, Michael S wrote:
auto matrix_size = readln;
Change that to
auto matrix_size = readln.strip;
and you should be in business. readln() returns any leading
spaces and the newline character at the end of the line too,
which is why to is
On Tuesday, 29 December 2015 at 21:19:19 UTC, Jack Stouffer wrote:
On Tuesday, 29 December 2015 at 17:38:06 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 17:17:05 UTC, Jack Stouffer
wrote:
...
First draft: http://jackstouffer.com/hidden/nd_slice.html
Please critique.
Looks
On Tuesday, 29 December 2015 at 21:19:19 UTC, Jack Stouffer wrote:
On Tuesday, 29 December 2015 at 17:38:06 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 17:17:05 UTC, Jack Stouffer
wrote:
On Monday, 28 December 2015 at 14:42:43 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December
On 12/29/2015 10:20 AM, Adam D. Ruppe wrote:
On Tuesday, 29 December 2015 at 14:26:48 UTC, Rikki Cattermole wrote:
Okay, I remember you saying something a bit different on IRC (at least
to my understanding).
Well, I'm still a bit iffy on it, to attach a name I used the first
member of the
On 30/12/15 1:32 PM, Andrei Alexandrescu wrote:
On 12/29/2015 10:20 AM, Adam D. Ruppe wrote:
On Tuesday, 29 December 2015 at 14:26:48 UTC, Rikki Cattermole wrote:
Okay, I remember you saying something a bit different on IRC (at least
to my understanding).
Well, I'm still a bit iffy on it, to
On Wednesday, 30 December 2015 at 00:24:38 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 21:19:19 UTC, Jack Stouffer
wrote:
On Tuesday, 29 December 2015 at 17:38:06 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 17:17:05 UTC, Jack Stouffer
wrote:
[...]
Thank you
On Monday, 28 December 2015 at 13:10:59 UTC, Charles wrote:
On Monday, 28 December 2015 at 12:24:17 UTC, Ola Fosheim
Grøstad wrote:
https://www.techempower.com/benchmarks/
The entries for vibe.d are either doing very poorly or fail to
complete. Maybe someone should look into this?
Sönke is
https://issues.dlang.org/show_bug.cgi?id=14255
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--
On Wednesday, 30 December 2015 at 01:38:32 UTC, Adam D. Ruppe
wrote:
On Wednesday, 30 December 2015 at 01:36:56 UTC, Michael S wrote:
auto matrix_size = readln;
Change that to
auto matrix_size = readln.strip;
and you should be in business. readln() returns any leading
spaces and the
On Wednesday, 30 December 2015 at 00:32:31 UTC, Andrei
Alexandrescu wrote:
Then why document it?
Just on principle, a documentation tool probably shouldn't be
limiting the author's ability to document...
This might just be a bug in dmd btw. Looking at the ddoc spec
page, it says
https://issues.dlang.org/show_bug.cgi?id=14255
--- Comment #6 from hst...@quickfur.ath.cx ---
Got bitten by this today. I have an old version of dmd for bootstrapping
purposes in /usr/src/d/install, and git checkout of dmd in /usr/src/d/dmd. This
setup used to work fine, except that recently, due
On 12/29/2015 05:31 AM, Russel Winder via Digitalmars-d wrote:
> BTW Any preferences as to what to do with the other two copies? I was
> wondering about handing them out at ACCU 2016 as prizes for something
> or other.
Thank you! That sounds great. Or you can do anything else that you want
On Tuesday, 29 December 2015 at 17:59:15 UTC, Stefan Koch wrote:
On Tuesday, 29 December 2015 at 04:37:44 UTC, Nick B wrote:
Would you know what is required to get good performance ?
I can guess. However without actually implementing it my guess
is as good as any.
I would probably look at
On Tuesday, 29 December 2015 at 17:38:06 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 17:17:05 UTC, Jack Stouffer
wrote:
On Monday, 28 December 2015 at 14:42:43 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 11:13:57 UTC, Martin Nowak
wrote:
We're branching for 2.070
https://issues.dlang.org/show_bug.cgi?id=12233
--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/04700217971964fdc8edb1798eaa669ec37fa7e9
rename TypeInfo's
On 12/29/15 4:57 AM, tsbockman wrote:
Trying to compile this:
void main() @safe
{
import std.stdio;
stdout.flush();
}
Fails with this message:
Error: safe function 'main' cannot access __gshared data 'stdout'
Is this necessary? If so, what are the synchronization requirements for
On Wednesday, 30 December 2015 at 01:03:39 UTC, Ilya Yaroshenko
wrote:
On Wednesday, 30 December 2015 at 00:24:38 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29 December 2015 at 21:19:19 UTC, Jack Stouffer
wrote:
On Tuesday, 29 December 2015 at 17:38:06 UTC, Ilya Yaroshenko
wrote:
On Tuesday, 29
On 12/29/2015 09:09 PM, Adam D. Ruppe wrote:
Putting one item per page is far more important than I even realized
before getting into this.
We already have that:
https://dlang.org/library/std/array/join.html
If I search for dlang array join that the third hit on google if I'm
logged in, and
On Tuesday, 29 December 2015 at 22:49:36 UTC, Nick B wrote:
On Monday, 28 December 2015 at 13:10:59 UTC, Charles wrote:
On Monday, 28 December 2015 at 12:24:17 UTC, Ola Fosheim
Grøstad wrote:
https://www.techempower.com/benchmarks/
The entries for vibe.d are either doing very poorly or fail
On Wednesday, 30 December 2015 at 00:24:38 UTC, Ilya Yaroshenko
wrote:
Awesome!
Please find my notes below.
Thanks for the feedback. Good thing I posted this here before
releasing it.
Funny thing, when I made the D example use the mean lambda
function, it got way faster. Even with the
Jacob Carlborg writes:
> On 2015-12-28 20:02, Dan Olson wrote:
>
>> That is Plan B.2
>
> I'm working on implementing native TLS for OS X in DMD. I think I've
> figured out how everything works. Unless you already know how it
> works, I could tell you what I have figured out.
I know
Hi,
Does `pragma(inline, true)` force DMD compiler to inline function
when `-inline` was _not_ defined?
I am failing to get a good disassembled code with obj2asm/otool
:-(
Best, Ilya
On Friday, 30 October 2015 at 07:19:14 UTC, rsw0x wrote:
https://github.com/Microsoft/microsoft-pdb
Well, they finally added CodeView support to llvm, good to see
them coming around:
http://phoronix.com/scan.php?page=news_item=Microsoft-Adds-LLVM-CodeView
Somebody should probably check the
On 12/18/2015 04:06 PM, Jack Stouffer wrote:
On Thursday, 17 December 2015 at 13:59:14 UTC, Andrei Alexandrescu wrote:
On 12/17/2015 03:07 AM, Mike Parker wrote:
On Wednesday, 16 December 2015 at 21:05:27 UTC, Andrei Alexandrescu
wrote:
What would be a good code font to use for those?
On Wednesday, 30 December 2015 at 06:16:23 UTC, Jack Stouffer
wrote:
On Wednesday, 30 December 2015 at 00:24:38 UTC, Ilya Yaroshenko
wrote:
[...]
Thanks for the feedback. Good thing I posted this here before
releasing it.
[...]
means in your code is lazy variable :)
You may want to made
Hi there,
a silly question from me for the turn of the year... I apparently
missing the forest through the trees.
The first part of the code works as expected:
[code]
int[] arr8 = [1,2,3,4,5];
int sum = 0;
foreach(int summand; arr8)
{
sum += summand;
}
https://github.com/libtrading/libtrading/blob/master/docs/quickstart.md
Nice project - I did not know about it! Thanks!
Major problem in writing a library which implements FIX protocols
is lack of a good XML package. Yes, we have std.xml but it is far
from good, and as we all know, it needs
On Tuesday, 29 December 2015 at 13:30:47 UTC, Márcio Martins
wrote:
If I am reading the code right, the number of dimensions must
always be known at compile time, right?
Not necessarily. The dimensions for this slice are computed at
runtime.
```
auto slice = 1000.iota.sliced(5, 6, 7);
```
Adam, I wonder could we also have information since what Phobos
version particular symbol is available from. For an example, from
which version of Phobos we have findSkip() ??
On Tuesday, 29 December 2015 at 05:00:48 UTC, Rikki Cattermole
wrote:
From what Adam has said, definitely won't be happening with
DDOC.
There is simply no symbol to attach the comment to.
Well, not definitely, it was really easy to do in libdparse (a
two line diff) and probably similarly
On 2015-12-28 20:02, Dan Olson wrote:
That is Plan B.2
I'm working on implementing native TLS for OS X in DMD. I think I've
figured out how everything works. Unless you already know how it works,
I could tell you what I have figured out.
--
/Jacob Carlborg
On Mon, 2015-12-28 at 11:12 -0800, Ali Çehreli via Digitalmars-d wrote:
>
[…]
> CVu is for ACCU members only but Overload is freely available online
> as
> well (both are actually print magazines):
>
> http://accu.org/index.php/journal
>
> Quoting from the most-recent Overload PDF:
>
>
On Mon, 2015-12-28 at 18:14 +, Jakob Jenkov via Digitalmars-d
wrote:
>
[…]
> What would the topics be?
Anything to do with programming that a professional programmer would be
interested. CVu is the membership magazine/journal of ACCU but does a
lot of technical content. Overload was the
https://issues.dlang.org/show_bug.cgi?id=15482
Issue ID: 15482
Summary: new uuid.d forbids to link statically with other
libraries
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
On Tuesday, 29 December 2015 at 13:54:56 UTC, Jack Stouffer wrote:
On Tuesday, 29 December 2015 at 13:30:47 UTC, Márcio Martins
wrote:
If I am reading the code right, the number of dimensions must
always be known at compile time, right?
Not necessarily. The dimensions for this slice are
On 2015-12-27 21:42, anonymous wrote:
The caret seems to be a bit high maybe, but otherwise that's how it's
supposed to look. Feel free to criticize, of course.
Aha, then there's no problem :)
--
/Jacob Carlborg
On 30/12/15 3:24 AM, Adam D. Ruppe wrote:
On Tuesday, 29 December 2015 at 05:00:48 UTC, Rikki Cattermole wrote:
From what Adam has said, definitely won't be happening with DDOC.
There is simply no symbol to attach the comment to.
Well, not definitely, it was really easy to do in libdparse (a
Trying to compile this:
void main() @safe
{
import std.stdio;
stdout.flush();
}
Fails with this message:
Error: safe function 'main' cannot access __gshared data
'stdout'
Is this necessary? If so, what are the synchronization
requirements for access to `stdout`?
On Tuesday, 29 December 2015 at 07:45:14 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 22:39:45 UTC, Ilya Yaroshenko
wrote:
On Monday, 28 December 2015 at 21:43:35 UTC, Robert burner
Schadek wrote:
[...]
Agreed
1. First paragraph was replaced by your variant.
2. Binary
On Tuesday, 29 December 2015 at 14:13:54 UTC, Dejan Lekic wrote:
Adam, I wonder could we also have information since what Phobos
version particular symbol is available from. For an example,
from which version of Phobos we have findSkip() ??
Yeah, I was thinking about that too. The info isn't
61 matches
Mail list logo