On Sunday, 13 June 2021 at 12:46:29 UTC, Financial Wiz wrote:
What are some of the best Financial Libraries for D? I would
like to be able to aggregate as much accurate information as
possible.
A number of numerical libraries kind of like numpy
https://code.dlang.org/search?q=Mir
D
On Sunday, 13 June 2021 at 17:49:50 UTC, vit wrote:
Is possible create and use scope output range allocated on
stack in @safe code?
Example:
```d
//-dip1000
struct OutputRange{
private bool valid = true;
private void* ptr;
int count = 0;
void
On Sunday, 13 June 2021 at 22:32:16 UTC, Bastiaan Veelo wrote:
On Sunday, 13 June 2021 at 12:46:29 UTC, Financial Wiz wrote:
What are some of the best Financial Libraries for D? I would
like to be able to aggregate as much accurate information as
possible.
Thanks.
I am not into financials,
On Sunday, 13 June 2021 at 12:46:29 UTC, Financial Wiz wrote:
What are some of the best Financial Libraries for D? I would
like to be able to aggregate as much accurate information as
possible.
Thanks.
I am not into financials, but these libs show up in a search:
On Sunday, 13 June 2021 at 15:45:53 UTC, Justin Choi wrote:
I've tried looking through the documentation but can't find an
explanation for why you can use it without parenthesis.
https://dlang.org/spec/function.html#optional-parenthesis
(Some exceptions regarding delegates and function
On Sunday, 13 June 2021 at 10:02:45 UTC, cc wrote:
it seems to work as expected with the same C# code. Does D
explicitly disallow slices as an extern(C) export parameter
type?
The spec says that there is no equivalent to type[]. You get a
type* instead.
On Sunday, 13 June 2021 at 17:18:46 UTC, ag0aep6g wrote:
On Sunday, 13 June 2021 at 16:27:18 UTC, vit wrote:
Why I can take address of Foo variable but not Bar?
```d
//-dip1000
struct Foo{
private double d;
}
struct Bar{
private void* ptr;
}
void main()@safe{
///this is OK:
On Sunday, 13 June 2021 at 16:27:18 UTC, vit wrote:
Why I can take address of Foo variable but not Bar?
```d
//-dip1000
struct Foo{
private double d;
}
struct Bar{
private void* ptr;
}
void main()@safe{
///this is OK:
{
scope Foo x;
scope ptr =
}
Why I can take address of Foo variable but not Bar?
```d
//-dip1000
struct Foo{
private double d;
}
struct Bar{
private void* ptr;
}
void main()@safe{
///this is OK:
{
scope Foo x;
scope ptr =
}
///Error: cannot take address of `scope` local `x` in
On Sun, Jun 13, 2021 at 03:45:53PM +, Justin Choi via Digitalmars-d-learn
wrote:
> I'm currently learning D right now, and I was wondering why certain
> functions like std.stdio.readln can work both with and without
> parenthesis for the function call. I've tried looking through the
>
On Sunday, 13 June 2021 at 15:45:53 UTC, Justin Choi wrote:
I'm currently learning D right now, and I was wondering why
certain functions like std.stdio.readln can work both with and
without parenthesis for the function call. I've tried looking
through the documentation but can't find an
I'm currently learning D right now, and I was wondering why
certain functions like std.stdio.readln can work both with and
without parenthesis for the function call. I've tried looking
through the documentation but can't find an explanation for why
you can use it without parenthesis.
Thank you very much guys.
What are some of the best Financial Libraries for D? I would like
to be able to aggregate as much accurate information as possible.
Thanks.
D under dmd/Win10/64-bit currently seems to store strings
(slices) internally like so:
```d
static struct DString {
size_t length;
immutable(char)* ptr;
}
static assert(DString.sizeof == string.sizeof);
string s = "abcde";
DString d;
memcpy(, , s.sizeof);
assert(d.length ==
15 matches
Mail list logo