On 21/11/2017 12:15 AM, Anonymouse wrote:
I have a large named enum (currently 645 members) of IRC event types.
It's big by neccessity[1].
I'm using dub, and both dmd and ldc successfully build it in test and
debug modes, but choke and die on plain and release. I bisected it down
to when I
On 16/11/2017 6:35 AM, Ola Fosheim Grostad wrote:
On Thursday, 16 November 2017 at 02:12:10 UTC, codephantom wrote:
Perhaps the mistake C++ made, was concluding that 'classes' were the
"proper primary focus of program design" (chp1. The Design and
Evolution of C++).
No, classes is a powerful
On 15/11/2017 11:57 AM, Vladimirs Nordholm wrote:
Hello people from D-land.
To summarise my problem: I have a program in the terminal (Posix) with
two threads: one which my main program is run on, and a second one which
polls input via `poll(...)` and `read(...)`.
Let's call main thread T1,
On 15/11/2017 3:15 AM, solidstate1991 wrote:
After all this flaming about Windows, mobile devices (I personally
prefer my desktop PC thanks to its "power", or at least what it used to
left, thanks to long unemployment time and lack of income, have a Nokia
Lumia which I cannot upgrade to W10
On 14/11/2017 8:16 AM, Andrea Fontana wrote:
On Tuesday, 14 November 2017 at 07:56:06 UTC, rikki cattermole wrote:
On 14/11/2017 7:54 AM, Tony wrote:
Is there an easy way to get the string representation of an array, as
would be printed by writeln(), but captured in a string?
struct Foo {
On 14/11/2017 7:54 AM, Tony wrote:
Is there an easy way to get the string representation of an array, as
would be printed by writeln(), but captured in a string?
struct Foo {
int x;
}
void main() {
Foo[] data = [Foo(1), Foo(2), Foo(3)];
import std.conv :
On 11/11/2017 11:18 AM, codephantom wrote:
On Saturday, 11 November 2017 at 09:47:32 UTC, Patrick Schluter wrote:
Indeed, the strength of D is that it is portable among the big
platforms remaining. One of its drawbacks can be seen somehow as an
asset. Its lack of preferred GUI kit means that
On 10/11/2017 2:13 PM, DrCataclysm wrote:
On Friday, 10 November 2017 at 13:50:56 UTC, rikki cattermole wrote:
Remember this bit: Everything on the heap, is not thread-local, it is
global. This includes everything inside a class.
When you synchronize (statement) it is locking and then
Remember this bit: Everything on the heap, is not thread-local, it is
global. This includes everything inside a class.
When you synchronize (statement) it is locking and then unlocking a
mutex. A class has a mutex, simple! It only prevent multiple threads
modifying a single thing at specific
On 10/11/2017 10:42 AM, Tony wrote:
If people ever get so cost-conscious that they decide to buy a $150
companion for their phone, instead of a $400 laptop, it's unlikely they
will be using iPhones. You can get a nice Android phone with plenty of
RAM/ROM for half the price of an iPhone.
You
On 09/11/2017 4:00 PM, Petar Kirov [ZombineDev] wrote:
On Thursday, 9 November 2017 at 13:00:15 UTC, ParticlePeter wrote:
On Thursday, 9 November 2017 at 12:19:00 UTC, Petar Kirov [ZombineDev]
wrote:
On Thursday, 9 November 2017 at 11:08:21 UTC, ParticlePeter wrote:
Any experience reports or
On 09/11/2017 12:19 PM, Petar Kirov [ZombineDev] wrote:
On Thursday, 9 November 2017 at 11:08:21 UTC, ParticlePeter wrote:
Any experience reports or general suggestions?
I've used only D threads so far.
It would be far easier if you use druntime + @nogc and/or de-register
latency-sensitive
On 07/11/2017 1:48 PM, Ola Fosheim Grøstad wrote:
On Tuesday, 7 November 2017 at 13:29:19 UTC, rikki cattermole wrote:
On 07/11/2017 12:58 PM, Ola Fosheim Grøstad wrote:
On Tuesday, 7 November 2017 at 11:31:03 UTC, rikki cattermole wrote:
I am quite surprised that Intel even created i9
On 07/11/2017 12:58 PM, Ola Fosheim Grøstad wrote:
On Tuesday, 7 November 2017 at 11:31:03 UTC, rikki cattermole wrote:
I am quite surprised that Intel even created i9 actually, it just
wasn't required.
AMD Ryzen Threadripper:
https://www.cpubenchmark.net/high_end_cpus.html
I do not trust
On 07/11/2017 11:12 AM, codephantom wrote:
On Tuesday, 7 November 2017 at 08:53:46 UTC, Joakim wrote:
No, the reason they don't improve is consumers don't need the
performance.
I don't agree. Consumers would welcome more performance - and many of us
'need' it too.
But cpu's have hit the
On 07/11/2017 5:54 AM, Fra Mecca wrote:
On Tuesday, 7 November 2017 at 04:27:13 UTC, rikki cattermole wrote:
On 07/11/2017 12:35 AM, Fra Mecca wrote:
On Monday, 6 November 2017 at 16:12:14 UTC, Martin Tschierschke wrote:
[...]
Can we make a proposal for a change?
Sure ya can. Especially
On 07/11/2017 4:34 AM, Tony wrote:
There is a fputs/stdout in core.stdc.stdio. std.stdio "public imports"
that:
"public import core.stdc.stdio;"
Wondering why:
import core.stdc.stdio : fputs;
import core.stdc.stdio : stdout;
void main()
{
fputs( cast(const char *)"hello
On 06/11/2017 4:59 PM, jmh530 wrote:
On Monday, 6 November 2017 at 16:12:14 UTC, Martin Tschierschke wrote:
Even being the wrong Martin :-) I think the DUB registry really needs
more and better filters, so that the gems inside can be found easily.
(like: Number of Github stars, number of
On 07/11/2017 12:35 AM, Fra Mecca wrote:
On Monday, 6 November 2017 at 16:12:14 UTC, Martin Tschierschke wrote:
On Saturday, 4 November 2017 at 00:16:35 UTC, Ali Çehreli wrote:
[...]
Even being the wrong Martin :-) I think the DUB registry really needs
more and better filters, so that the
On 04/11/2017 6:13 PM, bauss wrote:
On Saturday, 4 November 2017 at 13:27:29 UTC, rikki cattermole wrote:
On 04/11/2017 2:14 PM, jmh530 wrote:
[...]
Okay so:
A signature when it is initiated is aware of the implementation it is
referencing. Allowing it to change how it behaves for
On 04/11/2017 2:14 PM, jmh530 wrote:
On Saturday, 4 November 2017 at 12:20:37 UTC, rikki cattermole wrote:
Like signatures which I'm working on!
https://github.com/rikkimax/DIPs/blob/master/DIPs/DIP1xxx-RC.md
The first example kind of reminds me of what I was trying to do with
isSubTypeOf
On 04/11/2017 1:16 PM, Eljay wrote:
On Monday, 26 June 2017 at 00:38:21 UTC, Mike wrote:
IMO, part of the problem is that D has the wrong defaults (e.g.
`immutable` by default, `@safe` by default, `final` by default,
etc...), so users have to opt in to these things when they should
really
Visibility modifiers like private, and public are to the module not the
scope.
"Symbols with private visibility can only be accessed from within the
same module."
This is how module based languages work, a bit more useful then to the
scope approach IMO. An easy mistake to make.
On 03/11/2017 12:17 AM, Patrick wrote:
Please to announce:
A new version of JavacTo available for download. Version 1.1
https://sourceforge.net/projects/javacto/
Features:
* Updated JavacToD visitor. Almost 100% parsing success with dscanner
and JDK package subset (see results below).
*
On 02/11/2017 1:56 PM, Andre Pany wrote:
On Thursday, 2 November 2017 at 12:21:50 UTC, rikki cattermole wrote:
Override the shipped sc.ini file with your own. Simple and effective
solution.
What I just found out, by calling the batch file "vcvars64.bat" from the
visual studio folder it
On 02/11/2017 12:42 PM, Andre Pany wrote:
Hi,
I have a windows slave on which the dmd archive is extracted and dub is
executed using build scripts. The windows slave has Visual Studio 2017
installed.
I would like to switch from OMF to COFF executables to also allow 64 bit
compilations.
My
On 01/11/2017 11:13 PM, Jonathan M Davis wrote:
On Wednesday, November 01, 2017 20:53:44 Dr. Assembly via Digitalmars-d-
learn wrote:
Hey guys, if I were to get into dmd's source code to play a
little bit (just for fun, no commercial use at all), which
books/resources do you recommend to start
On 26/10/2017 10:38 PM, MrSmith wrote:
On Thursday, 26 October 2017 at 17:02:40 UTC, Mike Parker wrote:
That's exactly the kind of developer background I'm thinking of.
Getting permission to redistribute from MS would be the ideal
solution. If not, I'm sure someone will find a way to make it
On 26/10/2017 11:25 AM, Adam Wilson wrote:
On 10/25/17 23:57, Jacob Carlborg wrote:
On 2017-10-26 00:53, Adam Wilson wrote:
This of course makes the assumption that we clean-room our own
protocol implementations which I am entirely against. Better to use
what already exists.
I'm entirely
On 25/10/2017 11:19 PM, Walter Bright wrote:
for core D devs.
"How Non-Member Functions Improve Encapsulation" by Scott Meyers
http://www.drdobbs.com/cpp/how-non-member-functions-improve-encapsu/184401197
Note that I'm as guilty as anyone for not understanding or following
these
On 25/10/2017 11:46 PM, Adam Wilson wrote:
On 10/25/17 11:23, H. S. Teoh wrote:
On Wed, Oct 25, 2017 at 08:17:21AM -0600, Jonathan M Davis via
Digitalmars-d wrote:
On Wednesday, October 25, 2017 13:22:46 Kagamin via Digitalmars-d wrote:
On Tuesday, 24 October 2017 at 16:37:10 UTC, H. S. Teoh
On 24/10/2017 2:25 PM, Mike Parker wrote:
On Tuesday, 24 October 2017 at 13:20:10 UTC, Andrei Alexandrescu wrote:
* better dll support for Windows.
This one is on a lot of wish lists.
It definitely needs to be a target for 2018H1, I'll be making sure its
added! Too big a blocker and comes
On 24/10/2017 10:31 AM, Kagamin wrote:
On Tuesday, 24 October 2017 at 07:29:08 UTC, Satoshi wrote:
If we want to use D for GUI development we will need this feature anyway.
To not block UI you need non-blocking IO, and async/await is not
required for it: vibe provides non-blocking IO with
On 23/10/2017 11:02 PM, Adam Wilson wrote:
On 10/23/17 05:08, Jacob Carlborg wrote:
* Database drivers for the common databases (PostgreSQL, MySQL, SQLite)
compatible with vibe.d
* Database driver abstraction on top of the above drivers, perhaps some
lightweight ORM library
I've been looking
Don't be afraid to write a small script that is run before a build to
generate a list of files which than can be imported.
On 23/10/2017 10:58 AM, bauss wrote:
On Monday, 23 October 2017 at 06:05:50 UTC, drug wrote:
20.10.2017 17:46, Martin Nowak пишет:
On Thursday, 19 October 2017 at 06:50:12 UTC, Fra Mecca wrote:
We miss a build system that is tailored towards enterprises
Anything more specific on that?
My
On 20/10/2017 3:36 AM, Fra Mecca wrote:
I can't find any documentation regarding conditional compilation in
release and debug mode.
I have read the page regarding the topicon dlang.org but adding the
snippet below makes no difference when compiling with dub -b release
{
version(full) {
On 19/10/2017 2:34 PM, Suliman wrote:
First of all I would like to say sorry for Ludwig, that 2 years ago I
was initiator to making JSON back by default for dub config. It was
really my mistake.
Only some time later I understand that it was big error.
So I would like to ask community about if
On 16/10/2017 9:56 AM, Rion wrote:
On Sunday, 15 October 2017 at 20:27:35 UTC, Laeeth Isharc wrote:
D is much less gratifying than other languages for most people.
Just like Windows was more gratifying than Linux for most people in
2000. And I suppose that's likely to change slowly, but
On 13/10/2017 4:01 PM, Nieto wrote:
How do I use other than Windows.h with D?
For Windows.h I know it's core.sys.windows.windows but what's the module
for Shobjidl.h for example? is this supported natively? (i tried
core.sys.windows.shobjidl actually) but not so, what alternative are there?
On 13/10/2017 2:07 PM, Steven Schveighoffer wrote:
On 10/13/17 9:04 AM, rikki cattermole wrote:
Lets just kill it.
It's an ugly unexpected piece of syntax.
It may be used somewhere, and then what is the migration path for those
people? I don't see that it's harming anything having it there,
Lets just kill it.
It's an ugly unexpected piece of syntax.
On 13/10/2017 11:40 AM, Jack Applegame wrote:
Sorry, I mistakenly placed my post in the wrong section.
Consider, please:
https://forum.dlang.org/thread/oxucajbsjbsuraqtn...@forum.dlang.org
Please create an issue for this (I couldn't find one that matched[0]).
Your first example was quite a
On 13/10/2017 11:05 AM, Dmitry wrote:
On Friday, 13 October 2017 at 09:00:52 UTC, rikki cattermole wrote:
Write a purpose built csv parser using ranges. It should take only
about half an hour.
I know, I know not very helpful. But a custom built parser will work
better for you I think.
Yep, I
Write a purpose built csv parser using ranges. It should take only about
half an hour.
I know, I know not very helpful. But a custom built parser will work
better for you I think.
This should help get you started:
On 11/10/2017 12:43 PM, RazvanN wrote:
On Wednesday, 11 October 2017 at 11:26:11 UTC, rikki cattermole wrote:
On 11/10/2017 12:09 PM, RazvanN wrote:
Hi all,
I have seen that the concurrency api has this method specified in
$title [1] and I was wondering what is the use of it? Enabling
On 11/10/2017 12:37 PM, ANtlord wrote:
Hello dear community!
I've met a little issue. How can I generate struct or class copying some
fields and methods from another struct or class? I've found methods to
get fields. They are std.traits.FieldNameTuple and
std.traits.FieldTypeTuple but I
On 11/10/2017 12:09 PM, RazvanN wrote:
Hi all,
I have seen that the concurrency api has this method specified in $title
[1] and I was wondering what is the use of it? Enabling threads to
modify the message box of other threads doesn't seem to be a good idea
and I can't think of any real use
On 11/10/2017 10:27 AM, John Burton wrote:
The spec says this :-
"As a contract, an assert represents a guarantee that the code must
uphold. Any failure of this expression represents a logic error in the
code that must be fixed in the source code. A program for which the
assert contract is
On 11/10/2017 8:23 AM, Peter R wrote:
snip
4. it took a while to see that the DMD builds come with x86 windows
libraries, but no x64 windows libraries. That seems strange in this day
and age
We should document this on the download page making it obvious why you
also need VS.
On 07/10/2017 4:29 PM, Ian Hatch wrote:
On Saturday, 7 October 2017 at 15:14:01 UTC, rikki cattermole wrote:
Email Walter directly.
I intend to campaign for next years (basically a soft TODO list) plan
for what we want done. But until then, he and Andrei need to hear that
this is the biggest
Email Walter directly.
I intend to campaign for next years (basically a soft TODO list) plan
for what we want done. But until then, he and Andrei need to hear that
this is the biggest limitation that D faces currently, not memory
management.
On 05/10/2017 12:35 PM, Nordlöw wrote:
Would it be possible to set up a mapping (either formal or informal) of
each typical container (such as array, linked-list etc) plus element
type to a suitable default allocator? And perhaps add this to the
documentation of `std.experimental.allocator`?
On 04/10/2017 3:54 AM, Jesse Phillips wrote:
On Tuesday, 3 October 2017 at 23:29:49 UTC, rikki cattermole wrote:
On 03/10/2017 4:52 PM, Jesse Phillips wrote:
I'm pretty sure this isn't possible, but maybe someone understands
Windows better.
Windows provides a means no bind a certificate to a
On 03/10/2017 4:52 PM, Jesse Phillips wrote:
I'm pretty sure this isn't possible, but maybe someone understands
Windows better.
Windows provides a means no bind a certificate to a port using
netsh.exe. This means (at least for standard Windows networking calls)
connections to that port will
Be warned, x86 cpu's today are not like they were 10 years ago. A good
portion of a symbol could be full of nop's and it could end up being
faster than the one without them.
Next, compare against ldc, not gdc primarily. Its better maintained and
ugh more inline with dmd (its a bit of a mess,
On 03/10/2017 1:05 PM, sighoya wrote:
Especially, I mean something like
T foo(S,T)(T i)
{
...
}
struct Foo(T) {
T value;
}
T!S foo(S, alias T)(T!S v) { return v; }
void main() {
import std.stdio;
writeln(foo!(int, Foo)(Foo!int(1)));
}
On 02/10/2017 6:04 PM, Andrei Alexandrescu wrote:
Hello everyone, it is my pleasure to announce that Alexandru Jercaianu,
a starting MSc student at University "Politehnica" Bucharest, is
recipient of our scholarship.
Alex is up and running working on his bootcamp tasks. Currently he is
On 29/09/2017 7:29 AM, Joel wrote:
How do I count the days between to dates?
https://dlang.org/phobos/std_datetime_date.html#.Date.opBinary.2
https://dlang.org/phobos/core_time.html#.Duration.total
On 29/09/2017 4:25 AM, Joel wrote:
With a given date, I want to know what day it is (like Sunday, Monday,
etc).
I had a look up on std.datetime, and core.time, but they don't seem to
have a function for it.
https://dlang.org/phobos/std_datetime_date.html#.DateTime.dayOfWeek
There are two types of arguments in D. The runtime one (which you are
well aware of) and the compile time one. A compile time argument is a
constant passed in during construction of a symbol.
But here is the thing, it isn't just limited to functions, you can have
it on classes as well.
---
On 25/09/2017 6:28 AM, WhatMeForget wrote:
This is taken exactly from the traits documentation.
25 Traits
25.21 identifier
Takes one argument, a symbol. Returns the identifier for that symbol as
a string literal.
On 23/09/2017 10:34 AM, Guillaume Piolat wrote:
On Saturday, 23 September 2017 at 03:16:30 UTC, rikki cattermole wrote:
Alternatively you can alter the package that dub already knows about.
Does the trick more easily ;)
+1
That's the dirty trick I'm using too
You can also do the same for
On 23/09/2017 4:13 AM, Nicholas Wilson wrote:
I want to use a fork of one of my dub dependencies so I can make sure
that it works before I merge the fork into upstream.
http://code.dlang.org/advanced_usage
says
Path-based dependencies
Package descriptions in the dub.json/dub.sdl can
On 23/09/2017 3:26 AM, Sergei Degtiarev wrote:
On Friday, 22 September 2017 at 04:06:08 UTC, Enjoys Math wrote:
Here's my minimal D code (server.d):
public:
this(ushort port, string address="") {
super(& run);
if (address == "")
address = "DESKTOP-T49RGUJ";
On 22/09/2017 5:36 AM, Arun Chandrasekaran wrote:
On Friday, 22 September 2017 at 03:51:36 UTC, Ilya Yaroshenko wrote:
Mir Algorithm and Mir GLAS (glas is experimental) was added to
https://d.godbolt.org
by Johan Engelen. Thanks you, Johan!
[...]
Honestly, how do you guys understand these
On 19/09/2017 9:22 PM, Neia Neutuladh wrote:
On Tuesday, 19 September 2017 at 17:40:20 UTC, EntangledQuanta wrote:
writeln(x + ((_win[0] == '@') ? w/2 : 0));
writeln(x + (_win[0] == '@') ? w/2 : 0);
The first returns x + w/2 and the second returns w/2!
Yeah, it sucks to have bugs
On 19/09/2017 8:53 AM, Daniel Kozak wrote:
https://github.com/mariomka/regex-benchmark#performance
Do you know why?
Here is a code:
https://github.com/mariomka/regex-benchmark/blob/master/d/benchmark.d
I have try it with ldc too, but is still much slower (10x) than PHP
Most likely
On 17/09/2017 6:30 AM, Enjoys Math wrote:
Series of messages from installer:
DMD v2.076.0 is installed on your system
Press 'OK' to replace by DMD 2.076.0
An error occurred when removing DMD v2.076.0
Run 'dmd-2.076.0.exe /f to force install
And using the command line has no effect - it
On 15/09/2017 1:19 PM, Wulfklaue wrote:
A recent posting comparing programming languages and there energy
efficiency:
https://sites.google.com/view/energy-efficiency-languages/results
What language that can be in the top is missing? Only one guess needed.
Its not hard to figure out without
On 15/09/2017 5:15 AM, bitwise wrote:
I translated the headers for FreeType2 to D, and in many cases, enums
are used as struct members.
If I declare an extern(C) enum in D, is it guaranteed to have the same
underlying type and size as it would for a C compiler on the same platform?
No need
1) You really need to switch to ldc, even for small neural networks, it
makes a MASSIVE difference!
2) In release mode, who knows what'll happen. Add some logging in maybe
(versioned/debug of course) to help figure out where things are going on.
3) Wrap it up with try catch and write out the
Add on allocator support and many more comments, aka if public facing
then document it. Then we'd be in business!
On 11/09/2017 2:58 PM, Vadim Lopatin wrote:
On Monday, 11 September 2017 at 13:41:39 UTC, rikki cattermole wrote:
Needs more work but...
https://github.com/Devisualization/spew/tree/master/src/utils/cf/spew/bindings/x11
yeah.
Have you created this binding yourself w/o using of Deimos code?
On 11/09/2017 1:36 PM, Vadim Lopatin wrote:
On Monday, 4 September 2017 at 17:54:36 UTC, Vadim Lopatin wrote:
Contributors to DUB package nomad-software/x11
nomad-software
weltensturm
Geod24
MartinNowak
BBasile
rikkimax
Additionally, contributors to Deimos/libX11
growlercab
bioinfornatics
On 10/09/2017 2:19 PM, Moritz Maxeiner wrote:
If TypeInfo for extern(C++) classes is removed, couldn't final
extern(C++) classes without base class and which don't implement any
interfaces omit the vtable so that the following assert holds:
---
final extern(C++) class Foo {}
static assert
On 10/09/2017 10:03 AM, 9il wrote:
On Sunday, 10 September 2017 at 08:56:11 UTC, rikki cattermole wrote:
On 10/09/2017 9:40 AM, Yuxuan Shui wrote:
I was experimenting with -betterC and found out that C++ classes
doesn't work. Because the resulting object file needs a symbol
On 10/09/2017 9:40 AM, Yuxuan Shui wrote:
I was experimenting with -betterC and found out that C++ classes doesn't
work. Because the resulting object file needs a symbol
"_D14TypeInfo_Class6__vtblZ" which is in druntime. I suppose this is to
support T.classinfo?
Nope.
Could we remove
On 08/09/2017 3:08 AM, dark777 wrote:
On Friday, 8 September 2017 at 00:09:08 UTC, solidstate1991 wrote:
On Thursday, 7 September 2017 at 23:58:05 UTC, dark777 wrote:
Good night, did you want to know this? Is the DE language
cross-platform or cross-compile like C ++?
GDC and LDC has
On 02/09/2017 10:38 PM, Markus Pursche wrote:
Hi, I'm trying to hot reload a DLL while the program is running to allow
for rapid iteration in a game engine I am working on. I started reading
up on how DLLs work between D code here:
On 02/09/2017 1:42 PM, Márcio Martins wrote:
I was curious if anyone has tried implementing the GC mark phase with
SIMD instrs?
If so, what were the results, and why didn't it get accepted?
At first thought, it seems like a simple project that could improve
performance of big-memory programs
On 30/08/2017 4:10 PM, Jean-Louis Leroy wrote:
On Wednesday, 30 August 2017 at 14:37:14 UTC, Arun Chandrasekaran wrote:
On Wednesday, 30 August 2017 at 13:35:22 UTC, Jean-Louis Leroy wrote:
On Wednesday, 30 August 2017 at 04:48:11 UTC, Arun What was your
rationale for `openmethod` instead of
On 29/08/2017 2:49 AM, Cecil Ward wrote:
I have written a few zero-overhead (fully inlining) D wrappers around
certain new x64 instructions as an exercise to help me learn D and get
used to GDC asm. I've also written D replacements for older processors.
They are templated functions with
D's GC is stop the world (aka all threads) and does not run on its own
(requires being asked to collect).
It is only given the opportunity to collect when you allocate (new/more)
memory. It can decide not to, or to do so at any point making it very
unpredictable.
This is why we keep saying
On 28/08/2017 9:06 PM, Jean-Louis Leroy wrote:
On Monday, 28 August 2017 at 12:31:20 UTC, rikki cattermole wrote:
On 28/08/2017 1:19 PM, Mike Parker wrote:
Jean-Louis Leroy posted about his open methods library here in the
forums some time ago. Now, he's written a blog post that explains
what
On 28/08/2017 1:19 PM, Mike Parker wrote:
Jean-Louis Leroy posted about his open methods library here in the
forums some time ago. Now, he's written a blog post that explains what
open methods are, and describes the D implementation and how it compares
to his C++ library.
The blog:
On 19/08/2017 4:02 PM, Ecstatic Coder wrote:
That is 6 years old. It would not help anybody to comment.
Have you noticed that when you "google" something related to
programming, the first results are often pages which are several years
old ?
If I understand you well, you are telling me to
On 19/08/2017 3:54 PM, Ecstatic Coder wrote:
Or more likely some community members who have the privileges to
remove answers, think that hype and "proof" of usage is more important
than actual technical reasons.
I suggest that you try to talk about D here :
On 19/08/2017 3:38 PM, Ecstatic Coder wrote:
On Saturday, 19 August 2017 at 11:33:13 UTC, Joakim wrote:
On Saturday, 19 August 2017 at 11:00:25 UTC, Rico Decho wrote:
Here is another one :
https://www.quora.com/Which-language-is-best-for-a-beginner-programmer
I don't think many people here
On 16/08/2017 8:14 AM, Suliman wrote:
On Wednesday, 16 August 2017 at 07:09:02 UTC, rikki cattermole wrote:
On 16/08/2017 8:06 AM, Suliman wrote:
If structures placing data on the stack why we do not getting
stackoveflow while we creating array of structures? Or for example
big structure.
On 16/08/2017 8:06 AM, Suliman wrote:
If structures placing data on the stack why we do not getting
stackoveflow while we creating array of structures? Or for example big
structure.
Am I right understand that structures placing data _only_ on stack? But
the stack size is very limited (on
On 15/08/2017 2:59 AM, Johnson wrote:
Not only that, but it requires adding more files to the command line.
I currently have 3 import files to separate the gtk from gdk that and
the only reason they exist is to combine them in to one named import ;/
Doesn't seem like much but that's 3 extra
On 13/08/2017 7:09 AM, amfvcg wrote:
Hi all,
I'm solving below task:
given container T and value R return sum of R-ranges over T. An example:
input : T=[1,1,1] R=2
output : [2, 1]
input : T=[1,2,3] R=1
output : [1,2,3]
(see dlang unittests for more examples)
Below c++ code compiled with
On 12/08/2017 3:34 AM, Mr. Pib wrote:
I have -J added to the command line like
-JC:\Temp
I then use import(r"C:\Temp\a.dat");
and I get an error about the file not existing in the
main.d: Error: file "C:\\Temp\\a.dat" cannot be found or not in a path
specified with -J
It seems dmd does
On 11/08/2017 12:46 PM, HyperParrow wrote:
On Friday, 11 August 2017 at 08:13:07 UTC, SC wrote:
[...]
having great tooling might increase popularity, but for me it'll
improve my productivity, and that's all i care about, popularity is
next, quality is already nice for me
The language itself
On 11/08/2017 12:18 AM, David Zhang wrote:
I've been working on getting OpenGL to load on windows without a
library, and encountered something curious;
Context creation fails when I try to use the function pointer retrieved
through GetProcAddress, but works just fine with the statically
On 01/08/2017 11:27 AM, Domain wrote:
On Tuesday, 1 August 2017 at 09:06:39 UTC, rikki cattermole wrote:
On 01/08/2017 9:28 AM, Domain wrote:
I want to redirect the sharedLog to my logger in one dll, and all
dlls will use the new one. What should I do?
sharedLog = new MyLogger(); // this
On 01/08/2017 9:28 AM, Domain wrote:
I want to redirect the sharedLog to my logger in one dll, and all dlls
will use the new one. What should I do?
sharedLog = new MyLogger(); // this will not change the logger in other dll
You said the magic phrase, DLL.
Can't share e.g. classes between
On 31/07/2017 8:22 AM, Maxim Fomin wrote:
Hi!
Good to see D is progressing! I was active forum and bugzilla
participant in 2011-2013. Since then I have not touched D.
What is the progress of D (2014-2017) in following dimensions:
1) Support of linking in win64? AFAIK Walter introduced win64
On 30/07/2017 10:12 AM, piotrekg2 wrote:
I would like to learn more about GC in D. For example can anyone explain
why do we need memset(0) here:
https://github.com/dlang/phobos/blob/master/std/container/array.d#L356 ,
doesn't it assume a certain type of GC? What if there is a need to
change
901 - 1000 of 2710 matches
Mail list logo