On Thursday, 12 January 2017 at 07:24:43 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 15:33:36 UTC, Sai wrote:
After all, when someone wants a cross platform D GUI library,
the ONLY current usable choice is DLangUI.
I disagree. There is no need for a pure D GUI library. It is a
On Wednesday, 11 January 2017 at 15:33:36 UTC, Sai wrote:
On Wednesday, 11 January 2017 at 09:17:45 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable
On Wednesday, 11 January 2017 at 15:56:46 UTC, Chris Wright wrote:
On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote:
If you need some GUI, DLangUI is just a "dub build" away.
How does DLangUI do with screen readers and magnifiers?
Very poorly, I guess. It does not use native controls and
On Thursday, 12 January 2017 at 04:54:18 UTC, DRex wrote:
Hi,
I am trying to link C and D (using GCC and GDC) and I am
wondering (I could find no answers on google) if it is possible
to compile C headers into object files and link them to D? I
have a large code base of C headers and am not
Hi,
I am trying to link C and D (using GCC and GDC) and I am
wondering (I could find no answers on google) if it is possible
to compile C headers into object files and link them to D? I
have a large code base of C headers and am not at a point where I
can translate them all to D in one go,
On Monday, 2 January 2017 at 11:15:02 UTC, Russel Winder wrote:
On Sun, 2017-01-01 at 16:04 -0800, Walter Bright via
Digitalmars-d wrote:
On 1/1/2017 3:55 PM, deadalnix wrote:
On Debian and Fedora DMD is not an option
GDC is on Debian but seemingly not on Fedora.
I run DMD and GDC both on
https://issues.dlang.org/show_bug.cgi?id=17085
Issue ID: 17085
Summary: [std.traits] Documentation for all traits under
SomethingTypeOf missing
Product: D
Version: D2
Hardware: All
URL:
On Thursday, 12 January 2017 at 02:12:01 UTC, Mike Parker wrote:
On Wednesday, 11 January 2017 at 23:12:30 UTC, Nordlöw wrote:
On Wednesday, 11 January 2017 at 22:19:58 UTC, Andrew Hall
wrote:
also, why nogc?
Because C-functions never use the D garbage collector :)
They should also be
On Thursday, 12 January 2017 at 02:12:01 UTC, Mike Parker wrote:
They should also be marked nothrow.
Which I see they are.
On Wednesday, 11 January 2017 at 23:12:30 UTC, Nordlöw wrote:
On Wednesday, 11 January 2017 at 22:19:58 UTC, Andrew Hall
wrote:
also, why nogc?
Because C-functions never use the D garbage collector :)
They should also be marked nothrow. That and @nogc should
generally be applied to all C
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote:
Hi,
I am currently trying to create a function
makeMultidimensionalArray which allocates memory for a
multidimensional array. It is very similar with [1],
the difference being that it is uninitialized. Here is the code:
auto
On Wednesday, 11 January 2017 at 22:19:58 UTC, Andrew Hall wrote:
also, why nogc?
Because C-functions never use the D garbage collector :)
On Wednesday, 11 January 2017 at 22:18:53 UTC, Andrew Hall wrote:
On Wednesday, 11 January 2017 at 22:14:03 UTC, Nordlöw wrote:
One important thing...you've forgotten to qualify the D
wrapper functions as `pure @nogc`.
in the actual bindings, I did include pure & nothrow however
I've not
On Wednesday, 11 January 2017 at 22:14:03 UTC, Nordlöw wrote:
One important thing...you've forgotten to qualify the D wrapper
functions as `pure @nogc`.
in the actual bindings, I did include pure & nothrow however
I've not had time in the wrapper.
On Wednesday, 11 January 2017 at 21:52:57 UTC, Andrew Hall wrote:
Basically, gmp.h is split up into 4 files:
gmp.d, integer.d, floating.d & rational.d.
these are all public import'd by package.d so if you would like
the contents of all of gmp.h,
import deimos.gmp. However if you only need the
On Wednesday, 11 January 2017 at 18:32:36 UTC, Nordlöw wrote:
On Wednesday, 11 January 2017 at 13:53:18 UTC, Andrew Hall
wrote:
I was planning on extending this wrapper but since you have
one, you may as well have the test cases.
Great. I'll merge mine and your's stuff and put it in
https://issues.dlang.org/show_bug.cgi?id=16382
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #1
On Wednesday, 11 January 2017 at 03:49:42 UTC, Joakim wrote:
On Tuesday, 10 January 2017 at 18:48:17 UTC, Ignacious wrote:
[...]
It's probably not easier, and in any case, android-x86 won't be
supported, largely because I don't have any working x86 devices.
[...]
Ok, well the x86 thing
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote:
Hi,
I am currently trying to create a function
makeMultidimensionalArray which allocates memory for a
multidimensional array. It is very similar with [1],
the difference being that it is uninitialized. Here is the code:
auto
On Wednesday, 11 January 2017 at 19:39:17 UTC, Ali Çehreli wrote:
return choose(lengths.length == 1, one!T(alloc,
lengths[0]), two!T(alloc, lengths));
Well, choose is the right tool when the choice can only be made
at runtime. That would be uncommon for dimensionality.
Anyhow mentioning
On Wednesday, 11 January 2017 at 19:30:05 UTC, Stefan Koch wrote:
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu
wrote:
Hi,
I am currently trying to create a function
makeMultidimensionalArray which allocates memory for a
multidimensional array. It is very similar with [1],
the
On Wednesday, 11 January 2017 at 09:17:45 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable (and already being
used in industry).
Or are you talking
On 01/11/2017 11:30 AM, Stefan Koch wrote:
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote:
Hi,
I am currently trying to create a function makeMultidimensionalArray
which allocates memory for a multidimensional array. It is very
similar with [1],
the difference being that it
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote:
auto makeMultidimensionalArray(T, Allocator)(auto ref Allocator
alloc, size_t[] lengths)
{
if (lengths.length == 1)
Looks like `static if` would fix your specific problem.
On Wednesday, 11 January 2017 at 19:23:10 UTC, Razvan Nitu wrote:
Hi,
I am currently trying to create a function
makeMultidimensionalArray which allocates memory for a
multidimensional array. It is very similar with [1],
the difference being that it is uninitialized. Here is the code:
[...]
On 1/11/2017 2:09 AM, Chris wrote:
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
Yes. I can't because anything I post gets autobanned.
Why is that?
Probably because I posted links to articles I wrote myself. I didn't know at the
time it was against their rules.
Hi,
I am currently trying to create a function
makeMultidimensionalArray which allocates memory for a
multidimensional array. It is very similar with [1],
the difference being that it is uninitialized. Here is the code:
auto makeMultidimensionalArray(T, Allocator)(auto ref Allocator
alloc,
https://issues.dlang.org/show_bug.cgi?id=17080
--- Comment #4 from Sprink ---
(In reply to Marenz from comment #3)
> I have been encouraged by Uplink|DMD to reopen this issue as it differs in a
> few aspects to the one it is marked a duplicate of:
>
> The issue 3720
On Wednesday, 11 January 2017 at 13:53:18 UTC, Andrew Hall wrote:
I was planning on extending this wrapper but since you have
one, you may as well have the test cases.
Great. I'll merge mine and your's stuff and put it in
https://github.com/nordlow/gmp-d.git
Could you please give some
https://issues.dlang.org/show_bug.cgi?id=17080
Marenz changed:
What|Removed |Added
Status|RESOLVED|REOPENED
On Wednesday, 11 January 2017 at 15:39:49 UTC, Guillaume Piolat
wrote:
On Wednesday, 11 January 2017 at 06:14:35 UTC, Era Scarecrow
wrote:
Suddenly reminds me some of the speedup assembly I was writing
for wideint, but seems I lost my code. too bad, the 128bit
multiply had sped up and the
https://issues.dlang.org/show_bug.cgi?id=3720
Ketmar Dark changed:
What|Removed |Added
CC|
On Tuesday, 26 July 2016 at 13:32:00 UTC, Suliman wrote:
Ideally I need algorithm that can return bool if one polygon
overlapped/intersected by another. But I do not know math.
After some googling I found topic on SO[1] about point
inside/outside polygon. It's not directly what I need, but as
https://issues.dlang.org/show_bug.cgi?id=17080
Sprink changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=3720
Sprink changed:
What|Removed |Added
CC||dl...@supradigital.org
On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote:
> If you need some GUI, DLangUI is just a "dub build" away.
How does DLangUI do with screen readers and magnifiers?
>From what I'm seeing, neither GTK+ nor Qt work with screen readers anad
other assistive technologies. wxWidgets has some
On Wednesday, 11 January 2017 at 06:14:35 UTC, Era Scarecrow
wrote:
Suddenly reminds me some of the speedup assembly I was writing
for wideint, but seems I lost my code. too bad, the 128bit
multiply had sped up and the division needed some work.
I'm a taker if you have some algorithm to
On Wednesday, 11 January 2017 at 09:17:45 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable (and already being
used in industry).
Or are you talking
https://issues.dlang.org/show_bug.cgi?id=16470
Nemanja Boric <4bur...@gmail.com> changed:
What|Removed |Added
CC||4bur...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=16470
bitter.ta...@gmx.com changed:
What|Removed |Added
CC||bitter.ta...@gmx.com
--- Comment #3
On Wednesday, 11 January 2017 at 12:50:15 UTC, Nordlöw wrote:
On Wednesday, 11 January 2017 at 10:29:26 UTC, Andrew Hall
wrote:
https://github.com/andrew-m-h/libgmp
Nice. I'll make use of it in my high-level wrapper at
https://github.com/nordlow/phobos-next/blob/master/src/gmp.d
instead of
On 2017-01-11 13:33, Guillaume Chatelet wrote:
I'm not at all an expert on D bindings, I found the following links:
- This page explains the procedure: http://wiki.dlang.org/D_binding_for_C
- But this one too: http://dlang.org/spec/interfaceToC.html
- This page seems out of date:
On Wednesday, 11 January 2017 at 00:26:27 UTC, Ali Çehreli wrote:
@property char* p() {
Should be
@property inout(char)* p() inout
Thanks!
On Wednesday, 11 January 2017 at 12:53:13 UTC, Andrew Hall wrote:
https://code.dlang.org/packages/libgmp
See also
http://forum.dlang.org/thread/imoaobpfaggyphjox...@forum.dlang.org
I've been writing D bindings for GMP the multi-precision numeric
library. I know Dlang has bignum, but GMP is still the fastest
library for extremely large numbers.
I've thus far written header interface for all of gmp.h minus the
mpn_t functions (low level natural numbers). And I'm in the
On Wednesday, 11 January 2017 at 10:29:26 UTC, Andrew Hall wrote:
https://github.com/andrew-m-h/libgmp
Nice. I'll make use of it in my high-level wrapper at
https://github.com/nordlow/phobos-next/blob/master/src/gmp.d
instead of my hand-coded externs.
It is currently well tested (unittests
On Wednesday, 11 January 2017 at 11:34:55 UTC, Andrew Hall wrote:
Cheers, I've done as you suggest, and 'libgmp' is registered
under DUB. Feel free to have a look at the code because this is
the first binding I've written in D. That said, it does have a
test suite (unit tests) that do work.
On Tuesday, 10 January 2017 at 11:46:22 UTC, Laeeth Isharc wrote:
On Saturday, 7 January 2017 at 13:17:35 UTC, extrawurst wrote:
Hi guys,
the last 2 weeks I jumped on a new toy project: An Alexa Skill
written in D.
It is a skill that allows me to voice control my TV receiver
with commands
On Wednesday, 11 January 2017 at 10:52:40 UTC, Guillaume Chatelet
wrote:
On Wednesday, 11 January 2017 at 10:29:26 UTC, Andrew Hall
wrote:
I've been writing D bindings for GMP and I was wondering if
they warrant inclusion in the Deimos git repo. I know Dlang
has bignum, but GMP is still the
On Monday, 9 January 2017 at 19:36:18 UTC, aberba wrote:
Turns out my question was answered somewhere on vibe.d website
For those situations where more control is required, it is
possible to simply declare parameters of type HTTPServerRequest
or HTTPServerResponse to give a method full
https://issues.dlang.org/show_bug.cgi?id=17074
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/e4516073a3e0d5d92499fc6e1a5b184eb4e87f31
Fix Issue 17074: extern(C++, keyword) crashes compiler
This
On Wednesday, 11 January 2017 at 10:29:26 UTC, Andrew Hall wrote:
I've been writing D bindings for GMP and I was wondering if
they warrant inclusion in the Deimos git repo. I know Dlang has
bignum, but GMP is still the fastest library for extremely
large numbers.
The repos is in 'Deimos'
On Saturday, 7 January 2017 at 21:39:18 UTC, Timothee Cour wrote:
* -transition=safe/-dip1000
=> not mentioned in http://dlang.org/changelog/2.073.0.html
That's deliberate, as you can't even use it with writeln yet.
* std.experimental.ndslice has been deprecated. The
synchronization between
I've been writing D bindings for GMP and I was wondering if they
warrant inclusion in the Deimos git repo. I know Dlang has
bignum, but GMP is still the fastest library for extremely large
numbers.
The repos is in 'Deimos' format so if you care to use it, please
tell me how to proceed.
On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:
Yes. I can't because anything I post gets autobanned.
Why is that?
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable (and already being
used in industry).
Or are you talking about including it into Phobos? That's not
the best idea, it
On 11 January 2017 at 02:40, Manu via Digitalmars-d
wrote:
> On 10 January 2017 at 19:04, Iain Buclaw via Digitalmars-d
> wrote:
>>
>> On 10 January 2017 at 09:22, Manu via Digitalmars-d
>> wrote:
>> > Can
On 11 January 2017 at 02:50, Manu via Digitalmars-d
wrote:
>
>
> On 11 January 2017 at 11:40, Manu wrote:
>>
>> On 10 January 2017 at 19:04, Iain Buclaw via Digitalmars-d
>> wrote:
>>>
>>>
>>> Does double == float on
58 matches
Mail list logo