On Monday, 6 February 2023 at 21:02:13 UTC, Richard (Rikki)
Andrew Cattermole wrote:
On 07/02/2023 9:56 AM, ProtectAndHide wrote:
On Monday, 6 February 2023 at 08:26:45 UTC, Ali Çehreli wrote:
In contrast, D delivers some features in an unprincipled way
and the programmers use combinatio
On Monday, 6 February 2023 at 21:46:29 UTC, Ali Çehreli wrote:
On 2/6/23 12:56, ProtectAndHide wrote:
> I'm not going to 'go write a
> DIP'.
Nobody will write a DIP about it because very few people ever
mentioned this issue over the years.
And as 'static class' and 'static struct' are alread
On Monday, 6 February 2023 at 14:35:53 UTC, bachmeier wrote:
On Monday, 6 February 2023 at 06:55:02 UTC, Elfstone wrote:
So how am I supposed to set the include path?
https://dlang.org/spec/importc.html#preprocessor
The -Ppreprocessorflag switch passes preprocessorflag to the
preprocessor.
On 2/6/23 12:56, ProtectAndHide wrote:
> I'm not going to 'go write a
> DIP'.
Nobody will write a DIP about it because very few people ever mentioned
this issue over the years.
And as 'static class' and 'static struct' are already usable in D, a
newcomer would definitely be confused with you
On 07/02/2023 9:56 AM, ProtectAndHide wrote:
On Monday, 6 February 2023 at 08:26:45 UTC, Ali Çehreli wrote:
In contrast, D delivers some features in an unprincipled way and the
programmers use combinations of those features the way the see fit.
I agree, that D is unprincipled in many wa
On Monday, 6 February 2023 at 08:26:45 UTC, Ali Çehreli wrote:
In contrast, D delivers some features in an unprincipled way
and the programmers use combinations of those features the way
the see fit.
I agree, that D is unprincipled in many ways, and this is perhaps
the biggest surprise
On Monday, 6 February 2023 at 15:54:40 UTC, bachmeier wrote:
This is the specification for the D Programming Language.
I've been bitten by that a few times over the years, though to
be honest, I'm not sure of the relationship of the spec to
documentation. The Phobos documentation and compil
On Sunday, 5 February 2023 at 19:00:16 UTC, Richard (Rikki)
Andrew Cattermole wrote:
So LDC with druntime and yes GC turned on is good enough right
now that you can probably make it work without too much effort.
You don't necessarily have to limit yourself to -betterC.
In fact if you don't, yo
On Monday, 6 February 2023 at 09:17:07 UTC, Ali Çehreli wrote:
I adapted staticMap's implementation to two sets of arguments:
Thanks Ali, that's perfect. I thought of splitting the args in
half a few hours later but hadn't got around to trying it.
On Mon, Feb 06, 2023 at 03:54:40PM +, bachmeier via Digitalmars-d-learn
wrote:
> On Sunday, 5 February 2023 at 08:48:34 UTC, Tamas wrote:
[...]
> > This is the specification for the D Programming Language.
>
> I've been bitten by that a few times over the years, though to be
> honest, I'm not
On Sunday, 5 February 2023 at 08:48:34 UTC, Tamas wrote:
I appreciate all of this... however, as a newcomer, I wish the
docs were simply more honest, instead of representing wishful
thinking. I guess in any programming language, experience
reveals things not present in the docs, but it seems t
On Monday, 6 February 2023 at 06:55:02 UTC, Elfstone wrote:
So how am I supposed to set the include path?
https://dlang.org/spec/importc.html#preprocessor
The -Ppreprocessorflag switch passes preprocessorflag to the
preprocessor.
So if you normally use `-I/foo`, you'd add `-P-I/foo`.
On Sunday, 5 February 2023 at 03:38:04 UTC, thebluepandabear
wrote:
On Sunday, 5 February 2023 at 03:19:43 UTC, bachmeier wrote:
Something of a puzzle that it works with Arch, though, but not
Ubuntu/Mint. It doesn't sound like Arch has that problem.
What problem doesn't Arch have, the missin
On Monday, 6 February 2023 at 12:22:19 UTC, Matt wrote:
I am (still) writing a 3D graphics engine, and was considering
my choices for a scene graph.
Originally, I was going to use classes derived from my base
SceneNode class for the nodes of the graph, but would this
instead be a better situa
I am (still) writing a 3D graphics engine, and was considering my
choices for a scene graph.
Originally, I was going to use classes derived from my base
SceneNode class for the nodes of the graph, but would this
instead be a better situation to use template mixins instead of
potentially havin
On 2/5/23 17:20, John Chapman wrote:
> staticMap's "fun" can only be
> instantiated with a single argument, while I need it to work with two.
I adapted staticMap's implementation to two sets of arguments:
import std.meta : AliasSeq;
// The first half of 'args' is the "first arguments" and
// t
On Monday, 6 February 2023 at 08:23:37 UTC, Richard (Rikki)
Andrew Cattermole wrote:
[...]
Yes, your solution works. I apologize for my inattention. I
should have checked earlier in your way. Most likely Adam has a
[problem](https://github.com/adamdruppe/arsd/issues/364) with
linking in the
On 2/5/23 22:55, Elfstone wrote:
> So how am I supposed to set the include path?
I am not familiar with D in Windows but my first guess would be the -I
compiler switch:
dmd -I=/my/c/headers ...
Ali
On 2/5/23 18:15, ProtectAndHide wrote:
> I do not agree, that a compiler that allows a programmer to misuse a
> type
Types normally have objects. If a programmer found a way to use objects
of a memberless type why stop them?
> should be seen as 'a feature'.
I am not saying I already see thos
On 2/5/23 17:50, thebluepandabear wrote:
> I don't see why you'd want
I am not saying it would be wanted or needed.
> to expose a static class/namespace as a
> variable, or any of such similar things. That would give no benefits to
> the programmer?
Perhaps. As I responded to ProtectAndHide, i
On 06/02/2023 8:43 PM, Alexander Zhirov wrote:
Is it possible to collect all this from under mingw so that the linker
is not Microsoft, but `ld'?
Maybe. Keep in mind that mingw isn't the system toolchain, you'll
probably run into issues using it else where. You should really be using
MSVC.
On Sunday, 5 February 2023 at 23:53:35 UTC, Ali Çehreli wrote:
I understand disabling the programmer to do certain things are
beneficial e.g. to prevent bugs but those above can all be seen
as features. What is so terrible about giving the programmer
those powers?
Ali
Interestingly, in Sw
22 matches
Mail list logo