Re: Release D 2.101.0

2022-12-27 Thread Les De Ridder via Digitalmars-d-announce

On Wednesday, 28 December 2022 at 01:42:35 UTC, Iain Buclaw wrote:
On Tuesday, 27 December 2022 at 19:22:41 UTC, Les De Ridder 
wrote:

I've been able to reduce it to this:

`void f() { import std.file : exists; exists(""); }`

(or `void f() { import std; exists(""); }`)

Create two files (`a.d` and `b.d`) with this code.

Build with: `dmd.exe -m32 -inline -O a.d b.d`

Removing any of the flags allows the compilation to proceed.


1. Raise a bug report

2. Use digger to bisect dmd and locate which change introduced 
it.


Looks like it was already reported and fixed on `stable`:
.

Apologies for the noise.


Re: Release D 2.101.0

2022-12-27 Thread Les De Ridder via Digitalmars-d-announce

On Tuesday, 27 December 2022 at 18:04:56 UTC, Max Haughton wrote:
On Tuesday, 27 December 2022 at 17:59:11 UTC, Les De Ridder 
wrote:

On Wednesday, 16 November 2022 at 01:13:29 UTC, torhu wrote:
On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw 
wrote:

Glad to announce D 2.101.0, ♥ to the 63 contributors.


For some reason my project build fails with this version, but 
only the x86 release build. Only tried it on Windows.


This is the error, I'll post a bug report if I can narrow it 
down more:
Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code 
-1073741795.


This seems to still be broken in 2.101.1 and is breaking my CI:
.


I'm happy to do some debugging if you can get us a reduced test 
case. If you need help getting a reduction do ask (e.g. for 
help with dustmite)


I've been able to reduce it to this:

`void f() { import std.file : exists; exists(""); }`

(or `void f() { import std; exists(""); }`)

Create two files (`a.d` and `b.d`) with this code.

Build with: `dmd.exe -m32 -inline -O a.d b.d`

Removing any of the flags allows the compilation to proceed.


Re: Release D 2.101.0

2022-12-27 Thread Les De Ridder via Digitalmars-d-announce

On Wednesday, 16 November 2022 at 01:13:29 UTC, torhu wrote:

On Tuesday, 15 November 2022 at 20:54:03 UTC, Iain Buclaw wrote:

Glad to announce D 2.101.0, ♥ to the 63 contributors.


For some reason my project build fails with this version, but 
only the x86 release build. Only tried it on Windows.


This is the error, I'll post a bug report if I can narrow it 
down more:
Error C:\prog\dmd\windows\bin\dmd.exe failed with exit code 
-1073741795.


This seems to still be broken in 2.101.1 and is breaking my CI:
.


Re: DIP 1028--Make @safe the Default--Formal Assessment

2020-05-21 Thread Les De Ridder via Digitalmars-d-announce

On Thursday, 21 May 2020 at 16:48:22 UTC, SashaGreat wrote:

On Thursday, 21 May 2020 at 16:32:32 UTC, Adam D. Ruppe wrote:

On Thursday, 21 May 2020 at 16:14:02 UTC, Seb wrote:
Why we can't we have a technical board where the community 
can vote in experts and potentially companies could even buy 
a seat for $$$ which would mean a lot more for them than the 
current very vague sponsorship options.


ditto, I think we should have like a seven person elected DIP 
committee who pass/fail things by majority vote. It is obvious 
to me that the current process is totally useless.


Exactly and I even remember there was even a discussion about 
this on reddit (/r/programming) sometime ago where someone was 
pointing the flaws on D, and someone said the DIP process was 
one of them, and there were some known people around here 
replying that comment saying it was not the case.


The discussion topic about this DIP 
(https://forum.dlang.org/thread/wkdpnzarkbtqryigh...@forum.dlang.org) had 210 replies, some concerns and in the end was ACCEPT WITHOUT ANY COMMENT.


This is what I call a waste of everybody's time.


Completely agree. The way DIPs are being handled is quite 
disappointing
and unproductive. If the authors aren't even intending to address 
(or
even acknowledge) difficult comments, why even write a DIP and 
have

the community spend time on it at all?

It also is not very encouraging to potential DIP authors who 
aren't

Walter (or Átila or Andrei).


Re: On the D Blog: Lomuto's Comeback

2020-05-15 Thread Les De Ridder via Digitalmars-d-announce

On Thursday, 14 May 2020 at 13:26:23 UTC, Mike Parker wrote:
After reading a paper that grabbed his curiosity and wouldn't 
let go, Andrei set out to determine if Lomuto partitioning 
should still be considered inferior to Hoare for quicksort on 
modern hardware. This blog post details his results.


Blog:
https://dlang.org/blog/2020/05/14/lomutos-comeback/


Great post, and nice to have another example for how bad branches 
can

really be for performance!

One note: The clang/ldc compiler explorer links for
lomuto_partition_branchfree
are wrong.



Re: Release D 2.091.0

2020-03-17 Thread Les De Ridder via Digitalmars-d-announce

On Tuesday, 17 March 2020 at 10:48:38 UTC, Mike Parker wrote:

On Tuesday, 17 March 2020 at 10:29:45 UTC, Anonymouse wrote:



Looking forward to it, but curiously still no updates to the 
Arch Linux package repositories...


https://www.archlinux.org/packages/community/x86_64/dmd/


Please contact the folks who maintain it.


Someone flagged it as out-of-date on the day of the release, so 
they
should already have been notified. It shouldn't be necessary to 
contact

them again.



Re: DConf 2020 Canceled

2020-03-16 Thread Les De Ridder via Digitalmars-d-announce

On Monday, 16 March 2020 at 19:58:20 UTC, Atila Neves wrote:

On Monday, 16 March 2020 at 19:36:20 UTC, Walter Bright wrote:

On 3/16/2020 9:15 AM, bachmeier wrote:
"Have an online conference" isn't especially helpful. There 
haven't been any detailed proposals, and Walter hasn't said 
anything one way or the other about doing something online.


Anyone who wants to step up and take charge of it has my 
support.


Same here.


We could use Jitsi[1]. It's video conferencing software that 
works on
all common platforms (including browser through WebRTC), and 
supports
screen sharing/presentations, it has a recording feature, and it 
also

has text chat and moderation features.

[1] https://jitsi.org/



Re: FeedSpot Recognizes the GtkDcoding Blog

2020-02-07 Thread Les De Ridder via Digitalmars-d-announce

On Friday, 7 February 2020 at 19:51:52 UTC, Andre Pany wrote:

On Friday, 7 February 2020 at 18:16:37 UTC, Les De Ridder wrote:

On Friday, 7 February 2020 at 14:23:58 UTC, Andre Pany wrote:

[...]

Now the sad part. I would like to use GtkD at work but I 
can't. The license is really dangerous for companies (you 
compile lGpl source code into your application), therefore it 
is a complete no go from the IP department. The license is a 
huge blocker for GtkD commercial usage.


I'm not sure why LGPL is an issue. Does GtkD not allow dynamic 
linking?


I am not an expert at all in the topic of licensing. This is my 
understanding:


Gtk has the license lgpl. As long as you link dynamically to 
the shared object files, you can use it in commercial products.


GtkD is a D wrapper for GTK. It is D source code which ease the 
access to the C api of Gtk. GtkD has also the license lgpl. To 
use GtkD in my application I have to statically link the D 
source code.
Now it gets more complicated, GtkD has some additions to the 
lgpl rules.


I cannot judge how high the risk is for companies to use this 
component, but as an employee I do anything to avoid any risk 
for the company I work for.


Kind regards
Andre


GtkD's COPYING file contains the following:

2. Static linking of applications or any other source to the 
GtkD
library does not constitute a modified or derivative work and 
does not
require the author(s) to provide source code for said work, use 
the

shared GtkD libraries, or link their applications against a
user-supplied version of GtkD.


Looking at the GtkD code, it seems much of it was written in a way
specifically to avoid licensing issues, e.g. by loading libraries 
and
populating function pointers at runtime[1][2]. I'm not sure it 
even

*supports* static linking with GTK libraries.

I compiled one of the GtkD examples[3] on Linux with dub, and was 
able

to confirm with `ltrace` that it indeed loads the GTK libraries at
runtime using `dlopen` when compiling with the default 
configuration.


[1] 
https://github.com/gtkd-developers/GtkD/blob/master/src/gtkd/Loader.d
[2] 
https://raw.githubusercontent.com/gtkd-developers/GtkD/master/generated/gtkd/gtk/c/functions.d
[3] 
https://github.com/gtkd-developers/GtkD/tree/master/demos/gtkD/TestWindow


Re: FeedSpot Recognizes the GtkDcoding Blog

2020-02-07 Thread Les De Ridder via Digitalmars-d-announce

On Friday, 7 February 2020 at 14:23:58 UTC, Andre Pany wrote:

[...]

Now the sad part. I would like to use GtkD at work but I can't. 
The license is really dangerous for companies (you compile lGpl 
source code into your application), therefore it is a complete 
no go from the IP department. The license is a huge blocker for 
GtkD commercial usage.


I'm not sure why LGPL is an issue. Does GtkD not allow dynamic 
linking?


Re: DConf Invited Keynote Speaker, Formal Call for Submissions & Early-bird Registration

2020-02-06 Thread Les De Ridder via Digitalmars-d-announce

On Thursday, 6 February 2020 at 14:19:13 UTC, Mike Parker wrote:

[...]

Blog:
https://dlang.org/blog/2020/02/06/dconf-2020-submission-deadline-early-bird-registration-and-invited-keynote/


Typo:

On behalf of the D Language Foundation and Symmetry 
Investments, I want to thank everyone who participated in SAOC 
__2020__.




Re: Eric Niebler will be speaking at Microsoft Nov 20

2019-11-20 Thread Les De Ridder via Digitalmars-d-announce
On Wednesday, 20 November 2019 at 08:32:37 UTC, Walter Bright 
wrote:

Title
A Unifying Abstraction for Async in C++

[...]

Come join us, it'll be fun!


Will this talk be recorded?


Re: optional 1.0.0 beta with "or/frontOr/Throw" range utilities

2019-07-29 Thread Les De Ridder via Digitalmars-d-announce

On Monday, 29 July 2019 at 22:17:20 UTC, aliak wrote:

[...]

* dispatch() has been renamed to oc(); "optional chain"


Why not 'chain()' or 'optionalChain()'?


Re: [OT] Let's celebrate Dlang on D day

2019-05-25 Thread Les De Ridder via Digitalmars-d-announce

On Saturday, 25 May 2019 at 23:11:15 UTC, Russel Winder wrote:
It's not just the USA, D-Day is a very big deal in the UK and 
France. I suspect also The Netherlands and Belgium, and 
probably other places in western Europe, including Germany.


Here in Belgium it gets some media attention, but people who 
aren't
(close relatives of) D-Day veterans don't generally actively 
celebrate

it.


Re: S2Geometry Library Release v0.2

2019-05-25 Thread Les De Ridder via Digitalmars-d-announce

On Saturday, 25 May 2019 at 18:55:04 UTC, Vijay Nayar wrote:
Today I learned that released versions must be 3 digits in 
order to be picked up by DUB. The release is now v0.2.0.


Yes, DUB uses semver (https://semver.org) for versions.


Re: DConf 2019 Day 3 Livestream

2019-05-10 Thread Les De Ridder via Digitalmars-d-announce

On Friday, 10 May 2019 at 07:10:25 UTC, Mike Parker wrote:

Join us on YouTube again for Day 3:

https://www.youtube.com/watch?v=nIXvs3mIg-E=youtu.be


Did anyone make a local copy of today's livestream by any chance? 
YouTube seems to only allow you to go back 2 hours into the 
stream.