Re: Beta 2.098.0

2021-09-29 Thread Imperatorn via Digitalmars-d-announce
On Wednesday, 29 September 2021 at 20:53:53 UTC, Martin Nowak 
wrote:
Glad to announce the first beta for the 2.098.0 release, ♥ to 
the 62 contributors.


http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.098.0.html

This release is quite a bit delayed due to [OSX build 
woes](https://github.com/dlang/installer/pull/487) and some 
personal lack of time.


As usual please report any bugs at
https://issues.dlang.org

-Martin


Hurray!


Beta 2.098.0

2021-09-29 Thread Martin Nowak via Digitalmars-d-announce
Glad to announce the first beta for the 2.098.0 release, ♥ to the 
62 contributors.


http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.098.0.html

This release is quite a bit delayed due to [OSX build 
woes](https://github.com/dlang/installer/pull/487) and some 
personal lack of time.


As usual please report any bugs at
https://issues.dlang.org

-Martin



Re: GtkD Coding Post #0115 - GKT/GIO Application - Open Files from the Command Line

2021-09-29 Thread WebFreak001 via Digitalmars-d-announce

On Friday, 24 September 2021 at 13:23:22 UTC, Ron Tarrant wrote:
Another new GtkD Coding blog post, this time it's about how to 
deal with the HANDLES_OPEN flag. You can find it here: 
https://gtkdcoding.com/2021/09/24/0115-gtk-gio-app-open-flag.html


nice. Do you think you could make a GTK 4 tutorial eventually? 
Would be great if it uses libadwaita, could make linux phone 
mobile apps with it.


Re: New library: rebindable, create a type that can stand in for any other type, but mutable (and without destructor)

2021-09-29 Thread FeepingCreature via Digitalmars-d-announce
On Wednesday, 29 September 2021 at 10:22:40 UTC, FeepingCreature 
wrote:

Or: Turducken 2.0 The Reckoning

https://code.dlang.org/packages/rebindable 
https://github.com/FeepingCreature/rebindable


Rebindable offers a proxy type, `rebindable.DeepUnqual` 
(`DeepUnqual!T`) that can "stand in" for `T` in layout, but 
does not share `T`'s constructor, destructor, copy constructor, 
invariants or constness.




I forgot to mention: It does this by recursively crawling the 
member types of `T`, replacing all primitives with non-const 
equivalents.


Is this terrible? Yes, it's very terrible. I also don't see how 
to avoid it.


New library: rebindable, create a type that can stand in for any other type, but mutable (and without destructor)

2021-09-29 Thread FeepingCreature via Digitalmars-d-announce

Or: Turducken 2.0 The Reckoning

https://code.dlang.org/packages/rebindable 
https://github.com/FeepingCreature/rebindable


Rebindable offers a proxy type, `rebindable.DeepUnqual` 
(`DeepUnqual!T`) that can "stand in" for `T` in layout, but does 
not share `T`'s constructor, destructor, copy constructor, 
invariants or constness.


It's effectively "`std.typecons.Rebindable` for structs (and 
everything else)".


This proxy type is useful when implementing data structures where 
the lifetime of a contained value is different from the lifetime 
of the data structure itself.


This project sprang from my thread over in general, 
https://forum.dlang.org/thread/kkefkykirldffkdoq...@forum.dlang.org "Will D always have a way to rebind an arbitrary data type?"


To my knowledge, rebindable exploits no compiler bugs and invokes 
no undefined behavior. All casts are such that pointer fields are 
matched with pointer fields (or void[]) at the same offset. It is 
also totally independent of the vagaries of Phobos functions like 
`moveEmplace`, which Turducken used.


Of course, you must still make sure that mutable fields in 
`DeepUnqual!T` are never exposed as immutable. You can do this by 
only returning `T` by value.


See also: Turducken Type Technique 
https://forum.dlang.org/thread/ekbxqxhnttihkoszz...@forum.dlang.org


Re: Beerconf September 2021

2021-09-29 Thread bauss via Digitalmars-d-announce

On Sunday, 26 September 2021 at 18:53:01 UTC, Iain Buclaw wrote:

On Sunday, 26 September 2021 at 18:05:08 UTC, Brian wrote:
On Saturday, 25 September 2021 at 07:14:58 UTC, Iain Buclaw 
wrote:


**What is Beefconf?**


What is Beefconf, indeed. Are we getting an additional online 
meetup this month? :)




We'll also be starting up Beetconf as well. :-)


beef with beets, one of my favorite