On 2/4/2018 11:34 AM, Steven Schveighoffer wrote:
On 2/2/18 7:10 PM, Walter Bright wrote:
On 2/1/2018 6:09 AM, Steven Schveighoffer wrote:
On 1/31/18 9:58 PM, Walter Bright wrote:
On 1/31/2018 5:37 PM, Steven Schveighoffer wrote:
Where it breaks down is when you have many nested tags, and
On Monday, 5 February 2018 at 00:56:20 UTC, welkam wrote:
On Sunday, 4 February 2018 at 22:05:45 UTC, Dgame wrote:
I want to use a language and if I see problems which are
ignored I move on. That is how it is, no offense.
So you see a problem and do not work on fixing it then complain
that
On Monday, 5 February 2018 at 06:12:22 UTC, H. S. Teoh wrote:
On Mon, Feb 05, 2018 at 05:48:00AM +, FrankLike via
auto input = "48656c6c6f20776f726c6421";
auto str = input.chunks(2)
.map!(digits => cast(char) digits.to!ubyte(16))
On Monday, 5 February 2018 at 06:27:02 UTC, H. S. Teoh wrote:
On Sun, Feb 04, 2018 at 02:34:31PM -0500, Steven Schveighoffer
via Digitalmars-d wrote: [...]
I don't have a hard time with braces. It tends to be worse
with parentheses. Generally these are indented properly, and
not } all on
On Sunday, 4 February 2018 at 18:00:22 UTC, Russel Winder wrote:
On Fri, 2018-02-02 at 21:21 +, 12345swordy via
Digitalmars-d wrote:
[…]
Would it be easier for hire a proven manager(Or at least look
for mangers that are able to volunteer)?
What the D Foundation needs is a CEO who is a
On Monday, 5 February 2018 at 06:12:22 UTC, H. S. Teoh wrote:
On Mon, Feb 05, 2018 at 05:48:00AM +, FrankLike via
assert(str == "Hello world!");
Thanks.very good!
On Sun, Feb 04, 2018 at 02:34:31PM -0500, Steven Schveighoffer via
Digitalmars-d wrote:
[...]
> I don't have a hard time with braces. It tends to be worse with
> parentheses. Generally these are indented properly, and not } all
> on one line.
Wait till you see Lisp code. :-P
> Note: if
On Mon, Feb 05, 2018 at 05:48:00AM +, FrankLike via Digitalmars-d-learn
wrote:
> Now,I can get the string from hex string in compile time,but how to
> get it in run time?
>
> How to get it in run time?
[...]
Oh wait, I think I misunderstood your original question. Perhaps this is
closer to
On Mon, Feb 05, 2018 at 05:48:00AM +, FrankLike via Digitalmars-d-learn
wrote:
> Now,I can get the string from hex string in compile time,but how to
> get it in run time?
>
> How to get it in run time?
>
> Thanks.
import std.conv;
string hex = "900D1DEA";
uint value
On Sun, Feb 04, 2018 at 12:52:22PM +, Ur@nuz via Digitalmars-d-learn wrote:
> Getting compiler stack overflow when building my project, but still do
> not know how to localize piece of code that triggers this bug. Maybe
> this bug is already registered in bugzilla or someone could give some
>
Now,I can get the string from hex string in compile time,but how
to get it in run time?
How to get it in run time?
Thanks.
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote:
You want to produce Excel's? Excel-d but it faces the same
issue as being the only native project. What if the author ...
Since you mention this, there isn't just single author of
excel-d. If something happened to me, most likely
On 2/4/2018 2:27 PM, Boris-Barboris wrote:
Ability to interface with C using C header files of a target library\executable
as-is. Being able to understand the interfaces your operating system provides,
described on the language it uses, is a huge criteria to pick C for your
particular task.
An all-D MySQL/MariaDB client library:
https://github.com/mysql-d/mysql-native
--
I've tagged a release candidate ("v2.0.0-rc1") which, among other
various enhancements and cleanups, includes a redesign of prepared
statements which are now connection-independent
On Sunday, 4 February 2018 at 20:56:32 UTC, blahness wrote:
2. DMD just doesn't produce fast code compared to other modern
compilers. It's a shame LDC or GDC isn't the default D compiler.
For the core team improving DMD codegen is not a priority
On Friday, 2 February 2018 at 14:29:34 UTC, H. S. Teoh wrote:
Its semantics are not broken; it's just harder to use. Due to
const transitivity, it's an all-or-nothing deal. .tailConst
gives us the middle ground.
If the semantics of const means that users will have to write
.tailConst all
On Sunday, 4 February 2018 at 20:15:47 UTC, bpr wrote:
Which benefits of C are lost?
The ability to program on 16-bit platforms (yeah.. they still
exist ;-)
16bit doesn't matter? .. it matters to me.
https://issues.dlang.org/show_bug.cgi?id=18372
Timothee Cour changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=18372
Timothee Cour changed:
What|Removed |Added
Summary|error missing line number: |REG(2.072): error
https://issues.dlang.org/show_bug.cgi?id=18372
Issue ID: 18372
Summary: error missing line number: Error: undefined identifier
__va_list_tag
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
On Sunday, 4 February 2018 at 22:05:45 UTC, Dgame wrote:
I want to use a language and if I see problems which are
ignored I move on. That is how it is, no offense.
So you see a problem and do not work on fixing it then complain
that other people do the same. Ok.
On 2/4/2018 12:15 PM, bpr wrote:
Personally I agree that BetterC isn't a good alternative for C programmers.
Sure, you get some benefits of D, but you will lose many benefits of C
Which benefits of C are lost?
I'll chime in a bit on that. I recently converted the Digital Mars C++ front end
https://issues.dlang.org/show_bug.cgi?id=18371
Issue ID: 18371
Summary: allow default parameters after `...` (not just
template variadics, which are ok now)
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
https://issues.dlang.org/show_bug.cgi?id=18368
Timothee Cour changed:
What|Removed |Added
CC|
if necessary, to help with transition, one could add a hidden flag
`-log_when_issue_18315_occurred` that would log stacktrace (or maybe
user defined function) when hitting this condition at runtime:
```
void main(){ fun(int.min); }
void fun(int v){ writeln(v>0); }
```
dmd
thanks @aG0aep6G for this PR https://github.com/dlang/dmd/pull/7841 to fix it.
this should be in point release because:
* ldc2 has correct behavior
* the bug disappears with `-O`
so the argument that ppl would rely on it is moot
On Fri, Feb 2, 2018 at 6:37 AM, Steven Schveighoffer via
On Sunday, 4 February 2018 at 20:15:47 UTC, bpr wrote:
Which benefits of C are lost?
Ability to interface with C using C header files of a target
library\executable as-is. Being able to understand the interfaces
your operating system provides, described on the language it
uses, is a huge
https://issues.dlang.org/show_bug.cgi?id=18315
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #5 from
On Sunday, 4 February 2018 at 12:02:25 UTC, psychoticRabbit wrote:
On Sunday, 4 February 2018 at 10:31:17 UTC, Dgame wrote:
On Sunday, 4 February 2018 at 01:46:34 UTC, psychoticRabbit
wrote:
Your suggestions are welcome. Just don't tell people that if
they don't listen to them, then their
https://issues.dlang.org/show_bug.cgi?id=18370
Issue ID: 18370
Summary: std.algorithm.skipOver should handle BOMs
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=18369
Issue ID: 18369
Summary: std.algorithm.skipOver should be @nogc and nothrow
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Sunday, 4 February 2018 at 04:51:00 UTC, Jonathan Marler wrote:
How did it compare to the Go version?
I started implementing one myself as a learning experience and
recall I looked at the Go version a few times
(https://github.com/marler8997/hacknes). Mine was in C++
though since I was
Could you share your experience with us? How it compares to go
implementation? Did D made it harder or easier to implement
emulator?
On Sunday, 4 February 2018 at 11:14:43 UTC, JN wrote:
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote:
You want to produce PDFs? fpdf 2015-Apr-06, a very limited PDF
generation tool last updated 3 years go.
While not as trivial as just using a dub package, D easy
interop with C
Calypso (https://github.com/Syniurge/Calypso/) is the most promising
way to interface with C++, it requires 0 bindings and understands all
of C++ (templates etc); there are some caveats/kinks that are being
ironed out (and any help is welcome).
On Sun, Feb 4, 2018 at 4:37 AM, rjframe via
https://issues.dlang.org/show_bug.cgi?id=6138
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
---
On 2/2/18 7:10 PM, Walter Bright wrote:
On 2/1/2018 6:09 AM, Steven Schveighoffer wrote:
On 1/31/18 9:58 PM, Walter Bright wrote:
On 1/31/2018 5:37 PM, Steven Schveighoffer wrote:
Where it breaks down is when you have many nested tags, and you end
with )
Long ago, I adjusted my text
On Sunday, 4 February 2018 at 18:00:22 UTC, Russel Winder wrote:
What the D Foundation needs is a CEO who is a good CEO. Good
CTOs
rarely make good CEO, though it is possible.
Well, I don't think making some hard decisions about memory
management, which is the most apparent issue with D, is
https://issues.dlang.org/show_bug.cgi?id=18368
Issue ID: 18368
Summary: -X should print all static information on stdout if no
files are given
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=18367
Seb changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Seb
https://issues.dlang.org/show_bug.cgi?id=18367
Issue ID: 18367
Summary: dmd should not segfault on -X with libraries, but no
source files
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=13844
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=13844
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/bd783a518953aae7135fdb8bc62704e6e5e5a687
Fix Issue 13844 - core.stdc.config isn't listed in
On Fri, 2018-02-02 at 21:21 +, 12345swordy via Digitalmars-d wrote:
>
[…]
> Would it be easier for hire a proven manager(Or at least look for
> mangers that are able to volunteer)?
What the D Foundation needs is a CEO who is a good CEO. Good CTOs
rarely make good CEO, though it is possible.
On Sun, 2018-02-04 at 01:53 +, psychoticRabbit via Digitalmars-d
wrote:
>
> […]
> In my experience, there is nothing worse than a 'learnt' manager
> ;-)
I disagree.
> People either have the gift, or they do not. Most do not.
Again I disagree.
> (if they have the gift, then improving
On Sunday, 4 February 2018 at 17:11:21 UTC, Rubn wrote:
On Sunday, 4 February 2018 at 01:33:05 UTC, Seb wrote:
On Sunday, 4 February 2018 at 01:23:50 UTC, Rubn wrote:
On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote:
[...]
I think you have to build with an old version of MSVC,
On 2018-02-04 12:41:16 +, notna said:
... found this a nice read some time ago...
https://blog.plan99.net/modern-garbage-collection-911ef4f8bd8e
Thanks, pretty interesting.
BTW: I used this stuff about 20 years ago: http://www.microquill.com/
and they are still around. And yes, it was
On Sunday, 4 February 2018 at 01:33:05 UTC, Seb wrote:
On Sunday, 4 February 2018 at 01:23:50 UTC, Rubn wrote:
On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote:
[...]
I think you have to build with an old version of MSVC, 2010
maybe? It's been a while since I built it I don't
On Friday, 2 February 2018 at 19:37:42 UTC, Kai Nacke wrote:
Hi everybody!
I am still around and try to get more active. Like last year, I
am going to FOSDEM this weekend.
I am a speaker in the LLVM toolchain devroom @ FOSDEM'18. My
talk is about DCompute which I consider to be an awesome
On Sunday, February 04, 2018 13:54:17 Stefan Koch via Digitalmars-d-learn
wrote:
> On Sunday, 4 February 2018 at 12:52:22 UTC, Ur@nuz wrote:
> > Getting compiler stack overflow when building my project, but
> > still do not know how to localize piece of code that triggers
> > this bug. Maybe this
On Sunday, 4 February 2018 at 09:04:41 UTC, rikki cattermole
wrote:
On 04/02/2018 8:49 AM, Robert M. Münch wrote:
On 2018-02-04 08:41:04 +, rikki cattermole said:
"It doesn't need to be concurrent, since Lua states are
completely independent."
Single threaded simplifies a lot. So no,
On Sunday, 4 February 2018 at 08:33:35 UTC, Robert M. Münch wrote:
Hi, not sure if anyone is aware of this:
http://wiki.luajit.org/New-Garbage-Collector
I don't know if anythin like this would fit for D but the
concept is described pretty extensive.
Generational -> write barriers -> no, not
On Sunday, 4 February 2018 at 12:52:22 UTC, Ur@nuz wrote:
Getting compiler stack overflow when building my project, but
still do not know how to localize piece of code that triggers
this bug. Maybe this bug is already registered in bugzilla or
someone could give some advice where to dig into?
https://issues.dlang.org/show_bug.cgi?id=18365
--- Comment #2 from Seb ---
PR: https://github.com/dlang/dmd/pull/7836
--
https://issues.dlang.org/show_bug.cgi?id=18366
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=18366
Issue ID: 18366
Summary: header file generation doesn't include the return
attribute
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=18365
--- Comment #1 from Seb ---
*** Issue 18366 has been marked as a duplicate of this issue. ***
--
https://issues.dlang.org/show_bug.cgi?id=18365
Issue ID: 18365
Summary: header file generation doesn't include the return
attribute
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=18364
Seb changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Seb
Getting compiler stack overflow when building my project, but
still do not know how to localize piece of code that triggers
this bug. Maybe this bug is already registered in bugzilla or
someone could give some advice where to dig into?
Just runed building under gdb and got the following stack
On Sunday, 4 February 2018 at 09:04:41 UTC, rikki cattermole
wrote:
On 04/02/2018 8:49 AM, Robert M. Münch wrote:
On 2018-02-04 08:41:04 +, rikki cattermole said:
"It doesn't need to be concurrent, since Lua states are
completely independent."
Single threaded simplifies a lot. So no,
On Sun, 04 Feb 2018 08:33:20 +, Mike Parker wrote:
> Though, I'm curious why anyone would want to declare a callback in a C++
> program as cdecl only on Windows and use the default C++
> convention everywhere else. I suggest you dig into it and make sure
> that's what's intended. And good
https://issues.dlang.org/show_bug.cgi?id=18364
Issue ID: 18364
Summary: header file generation doesn't print the package name
in package(XXX)
Product: D
Version: D2
Hardware: All
OS: All
Status:
On Sunday, 4 February 2018 at 10:31:17 UTC, Dgame wrote:
On Sunday, 4 February 2018 at 01:46:34 UTC, psychoticRabbit
wrote:
Your suggestions are welcome. Just don't tell people that if
they don't listen to them, then their community is bad. That's
not how an open source community works.
I've
On Thursday, 1 February 2018 at 09:01:34 UTC, Kagamin wrote:
On Wednesday, 31 January 2018 at 16:59:15 UTC, Timoses wrote:
And I would need to do what about it?
Sorry, I'm not familiar with assembly code stuff in detail.
You can try to see if it works on another distro or version.
It does
On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote:
You want to produce PDFs? fpdf 2015-Apr-06, a very limited PDF
generation tool last updated 3 years go.
While not as trivial as just using a dub package, D easy interop
with C means you can use C libraries for PDF like libharu or w/e.
On Sunday, 4 February 2018 at 10:42:22 UTC, infinityplusb wrote:
On Sunday, 4 February 2018 at 08:33:20 UTC, Mike Parker wrote:
[...]
it is, everyone keeps saying writing bindings in D is super
easy ...
I feel this is a slight simplification. :(
[...]
Sounds easy enough.
[...]
[...]
On Sunday, 4 February 2018 at 08:33:20 UTC, Mike Parker wrote:
On Sunday, 4 February 2018 at 08:17:31 UTC, Mike Parker wrote:
Assuming this is OpenCV ...
it is, everyone keeps saying writing bindings in D is super easy
...
I feel this is a slight simplification. :(
version(Windows)
On Sunday, 4 February 2018 at 01:46:34 UTC, psychoticRabbit wrote:
Your suggestions are welcome. Just don't tell people that if
they don't listen to them, then their community is bad. That's
not how an open source community works.
I've never said that the community is bad. :)
On Saturday, 3 February 2018 at 23:45:21 UTC, bachmeier wrote:
On Saturday, 3 February 2018 at 23:39:00 UTC, Dgame wrote:
On Saturday, 3 February 2018 at 23:29:58 UTC, Christof Schardt
wrote:
On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote:
I congratulate you on your decision. I also
On 2 February 2018 at 11:21, Joakim via Digitalmars-d
wrote:
> On Friday, 2 February 2018 at 09:26:51 UTC, Iain Buclaw wrote:
>>
>> On 31 January 2018 at 09:43, Joakim via Digitalmars-d
>> wrote:
>>>
>>> I'm sure you can find much better
On Sunday, 4 February 2018 at 08:26:54 UTC, Joakim wrote:
I don't think it affects them much, as none of the motivations
above would be hurt by paid contributors. If anything, it
_increases_ their drive, as they have a lot more OSS code to
work on with mixed codebases.
Well, it's not
On 04/02/2018 8:49 AM, Robert M. Münch wrote:
On 2018-02-04 08:41:04 +, rikki cattermole said:
"It doesn't need to be concurrent, since Lua states are completely
independent."
Single threaded simplifies a lot. So no, not useful.
Well, I wouldn't be able to judge that fast from a single
On 2018-02-04 08:41:04 +, rikki cattermole said:
"It doesn't need to be concurrent, since Lua states are completely
independent."
Single threaded simplifies a lot. So no, not useful.
Well, I wouldn't be able to judge that fast from a single line in the
text, if the concept can/can't be
On 04/02/2018 8:33 AM, Robert M. Münch wrote:
Hi, not sure if anyone is aware of this:
http://wiki.luajit.org/New-Garbage-Collector
I don't know if anythin like this would fit for D but the concept is
described pretty extensive.
"It doesn't need to be concurrent, since Lua states are
Hi, not sure if anyone is aware of this:
http://wiki.luajit.org/New-Garbage-Collector
I don't know if anythin like this would fit for D but the concept is
described pretty extensive.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
On Sunday, 4 February 2018 at 08:17:31 UTC, Mike Parker wrote:
So assuming CV_CDECL is cdecl, this should do it:
extern(C) alias CvCmpFunc = int function(const(void)*,
const(void)*, void*);
Assuming this is OpenCV, Looking at [1], it's cdecl only on
Windows. Empty everywhere else. So
On Sunday, 4 February 2018 at 02:15:32 UTC, psychoticRabbit wrote:
On Saturday, 3 February 2018 at 13:14:04 UTC, rjframe wrote:
Except it doesn't. The GPL can be used to keep a competitor
from stepping up and using your work to create an alternative
product, allowing you to have a mixed
On Sunday, 4 February 2018 at 07:54:12 UTC, infinityplusb wrote:
Hi all
I'm looking to try and write an interface to C++, but given I'm
a casual dabbler in D, it's slightly beyond my current ability
in terms of both C++ and D!
As a leg up, how would one translate something like this from
On 04/02/2018 7:54 AM, infinityplusb wrote:
Hi all
I'm looking to try and write an interface to C++, but given I'm a casual
dabbler in D, it's slightly beyond my current ability in terms of both
C++ and D!
As a leg up, how would one translate something like this from C++ to D?
`typedef int
On Sunday, 4 February 2018 at 01:57:26 UTC, Rubn wrote:
On Saturday, 3 February 2018 at 23:07:30 UTC, Norm wrote:
On Saturday, 3 February 2018 at 15:22:37 UTC, Rubn wrote:
On Saturday, 3 February 2018 at 08:18:57 UTC, H. S. Teoh
wrote:
On Fri, Feb 02, 2018 at 08:16:25PM -0800, Walter Bright
81 matches
Mail list logo