[Issue 24617] New: array runtime erroneously copies flags from existing block

2024-06-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24617 Issue ID: 24617 Summary: array runtime erroneously copies flags from existing block Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: aligned struct field weirdness

2024-06-18 Thread realhet via Digitalmars-d-learn
On Tuesday, 18 June 2024 at 02:26:00 UTC, Steven Schveighoffer wrote: All the code you posted here looks fine to me. It compiles and runs fine on run.dlang.io (even with the `version(none)` changed to `version(all)`, or using `scoped!B`). Thank You for checking. Also to add to the weirdness,

Re: Demo for The Art of Reflection released (a 3D game and engine fully written in D)

2024-06-18 Thread cookiewitch via Digitalmars-d-announce
On Friday, 24 May 2024 at 17:45:31 UTC, Lewis wrote: Hello! Not sure if it's of interest, but I've been developing a 3D game and engine in D for a few years, and finally have a demo up on Steam for anyone interested in poking around (Windows only unfortunately). [...]

Re: Sovereign Tech Fund: call for proposals

2024-06-18 Thread Sergey via Digitalmars-d-announce
On Tuesday, 18 June 2024 at 03:21:25 UTC, Forest wrote: On Monday, 17 June 2024 at 19:44:15 UTC, angel wrote: "Slang" is actually a great name for a programming language. Someone else thought so, too: https://www.jedsoft.org/slang/doc/html/slang.html Weird.. Because S language is pretty

[Issue 24616] spam

2024-06-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24616 anonymous4 changed: What|Removed |Added Status|NEW |RESOLVED

Re: Sovereign Tech Fund: call for proposals

2024-06-18 Thread Dom DiSc via Digitalmars-d-announce
On Monday, 17 June 2024 at 19:44:15 UTC, angel wrote: "Slang" is actually a great name for a programming language. In german we can have a D-alekt of D :-)

SHA256 Signature

2024-06-18 Thread Vahid via Digitalmars-d-learn
Hi, How can I create a SHA256 signature hash in D? Something similar to the PHP code below: ```php openssl_sign($body, $signature, $secret, OPENSSL_ALGO_SHA256); ``` I've tried the code below without success: ```d auto signature =

Re: Sovereign Tech Fund: call for proposals

2024-06-18 Thread Sergey via Digitalmars-d-announce
On Monday, 17 June 2024 at 17:33:06 UTC, M. M. wrote: https://www.sovereigntechfund.de/news/new-proposals-criteria-process-timeline Nice catch! Funkwerk could definitely apply. Their system is valuable for society.

[Issue 24616] THC Gummies

2024-06-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24616 THC Gummies changed: What|Removed |Added URL||https://www.veronapress.com

Re: Sovereign Tech Fund: call for proposals

2024-06-17 Thread Forest via Digitalmars-d-announce
On Monday, 17 June 2024 at 19:44:15 UTC, angel wrote: "Slang" is actually a great name for a programming language. Someone else thought so, too: https://www.jedsoft.org/slang/doc/html/slang.html

Re: aligned struct field weirdness

2024-06-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On Monday, 17 June 2024 at 19:45:18 UTC, realhet wrote: Hello, I'm having a weird case of access violation. Often times, you are focused on something that isn't the problem, but *triggers* the problem. Not saying it's not a compiler error, it could be. But chances are pretty low. If you

Google Auth API

2024-06-17 Thread Vahid via Digitalmars-d-learn
Hi, Has anyone here had experience implementing the Google Auth Library in DLang? Specifically, I am looking for guidance on handling OAuth 2.0 using JWT. Are there any current libraries available for this purpose?

[Issue 24602] Internal compiler error: failed to detect static initialization of associative array

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24602 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24615] ImportC can't import Python 3.12 header

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24615 Atila Neves changed: What|Removed |Added Keywords||ImportC --

[Issue 24615] New: ImportC can't import Python 3.12 header

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24615 Issue ID: 24615 Summary: ImportC can't import Python 3.12 header Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 24583] di generator emits return scope and scope return in wrong order

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24583 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot ---

Re: What's the latest GDC stable release version?

2024-06-17 Thread mw via Digitalmars-d-learn
and GDC 14: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=09992f8b881aa2dfbee1e9d6954c3ca90cd3fe41 So GDC 14.1 includes the D language at v2.108.0. This is wonderful: Synchronizing with the upstream release of v2.108.0. BTW, if the following two pages are updated with version information,

[Issue 12885] const union wrongly converts implicitly to mutable

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12885 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #9 from Dlang Bot --- @ntrel

aligned struct field weirdness

2024-06-17 Thread realhet via Digitalmars-d-learn
Hello, I'm having a weird case of access violation. I tried to narrow the problem and put up a reproducible testCase on compilerexploer, but it requires my framework too which overrides std.stdio.writeln() in order to produce colorful text, and logging, etc. The error is an access

Re: Sovereign Tech Fund: call for proposals

2024-06-17 Thread angel via Digitalmars-d-announce
"Slang" is actually a great name for a programming language. On Monday, 17 June 2024 at 17:46:30 UTC, M. M. wrote: On Monday, 17 June 2024 at 17:33:06 UTC, M. M. wrote: https://www.sovereigntechfund.de/news/new-proposals-criteria-process-timeline Chance for slang to apply? Slang --> Dlang

[Issue 24602] Internal compiler error: failed to detect static initialization of associative array

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24602 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot ---

Re: What's the latest GDC stable release version?

2024-06-17 Thread Brian Callahan via Digitalmars-d-learn
On Monday, 17 June 2024 at 16:20:55 UTC, mw wrote: On Monday, 17 June 2024 at 15:33:46 UTC, Dejan Lekic wrote: On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote: Hi, What's the latest GDC stable release version? Stable release version is the same as stable GCC release version. Find it

Re: Sovereign Tech Fund: call for proposals

2024-06-17 Thread M. M. via Digitalmars-d-announce
On Monday, 17 June 2024 at 17:33:06 UTC, M. M. wrote: https://www.sovereigntechfund.de/news/new-proposals-criteria-process-timeline Chance for slang to apply? Slang --> Dlang

Re: What's the latest GDC stable release version?

2024-06-17 Thread mw via Digitalmars-d-learn
On Monday, 17 June 2024 at 15:33:46 UTC, Dejan Lekic wrote: On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote: Hi, What's the latest GDC stable release version? Stable release version is the same as stable GCC release version. Find it here: https://gcc.gnu.org/ (GDC is part of the GCC

Re: What's the latest GDC stable release version?

2024-06-17 Thread Dejan Lekic via Digitalmars-d-learn
On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote: Hi, What's the latest GDC stable release version? Stable release version is the same as stable GCC release version. Find it here: https://gcc.gnu.org/ (GDC is part of the GCC project for years)

Re: Pointer to dlang spec for this alias construct?

2024-06-17 Thread Andy Valencia via Digitalmars-d-learn
On Monday, 17 June 2024 at 05:05:06 UTC, Jonathan M Davis wrote: alias Unshared(T) = T; alias Unshared(T: shared U, U) = U; ... Unshared is an eponymous template. https://dlang.org/spec/template.html#implicit_template_properties And it's using a shortcut syntax. ... The second

[Issue 24587] Allow negated qualifiers in cast expressions

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24587 --- Comment #2 from Bolpat --- I just found out `cast(const)` not only adds `const` if it’s not present, it also removes any other qualifiers. (In reply to RazvanN from comment #1) > I don't find this very useful. Not an argument. > It seems that

[Issue 21644] spam

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21644 anonymous4 changed: What|Removed |Added URL|https://www.fieldengineer.c | |om/blogs

[Issue 24588] spam

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24588 anonymous4 changed: What|Removed |Added URL|http://www.veronapress.com/ |

[Issue 24605] spam

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24605 anonymous4 changed: What|Removed |Added Keywords|accepts-invalid |

[Issue 23797] Improve type-testing `is` expressions

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23797 --- Comment #1 from Bolpat --- As for the right-hand side of `is(Type == Keyword)` for function pointer and delegate types, it also makes sense to ask if they’re carrying attributes. The keyword attributes should be allowed, but I think also

[Issue 24608] spam

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24608 anonymous4 changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 24611] Cannot explicitly instantiate template function with `auto ref`

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24611 --- Comment #1 from Bolpat --- Grammar change needed for the suggested fix: ```diff TemplateArgument: Type + ref Type AssignExpression Symbol ``` --

[Issue 24614] Can’t throw in -betterC mode with -preview=dip1008 (@nogc Exceptions)

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24614 Richard (Rikki) Andrew Cattermole changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 24614] New: Can’t throw in -betterC mode with -preview=dip1008 (@nogc Exceptions)

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24614 Issue ID: 24614 Summary: Can’t throw in -betterC mode with -preview=dip1008 (@nogc Exceptions) Product: D Version: D2 Hardware: All OS: All Status:

[Issue 24607] __traits(isDeprecated, ...) result incorrect on an alias member

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24607 Nick Treleaven changed: What|Removed |Added Summary|__traits(isDeprecated, ...) |__traits(isDeprecated, ...)

[Issue 24607] __traits(isDeprecated, ...) not working on a member

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24607 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org

[Issue 17148] Copying from const(void)[] to void[] breaks immutable

2024-06-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17148 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: Pointer to dlang spec for this alias construct?

2024-06-16 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, June 16, 2024 10:32:50 PM MDT Andy Valencia via Digitalmars-d-learn wrote: > In the alias: > > alias Unshared(T) = T; > alias Unshared(T: shared U, U) = U; > > as used in: > > cast(Unshared!mytype)value > > turns a mytype with shared att

Re: Pointer to dlang spec for this alias construct?

2024-06-16 Thread evilrat via Digitalmars-d-learn
On Monday, 17 June 2024 at 04:32:50 UTC, Andy Valencia wrote: In the alias: alias Unshared(T) = T; alias Unshared(T: shared U, U) = U; as used in: cast(Unshared!mytype)value turns a mytype with shared attribute into one without shared. I deduce the alias is using some sort of

Pointer to dlang spec for this alias construct?

2024-06-16 Thread Andy Valencia via Digitalmars-d-learn
In the alias: alias Unshared(T) = T; alias Unshared(T: shared U, U) = U; as used in: cast(Unshared!mytype)value turns a mytype with shared attribute into one without shared. I deduce the alias is using some sort of type matching and decomposition? I've read through the

[Issue 24592] ImportC: Bitfield layout wrong for int64 on 32-bit Linux

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24592 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24613] New: Bitfield with 64 bits always zero

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24613 Issue ID: 24613 Summary: Bitfield with 64 bits always zero Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority:

[Issue 24592] ImportC: Bitfield layout wrong for int64 on 32-bit Linux

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24592 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot ---

Re: Demo for The Art of Reflection released (a 3D game and engine fully written in D)

2024-06-16 Thread Lurker via Digitalmars-d-announce
On Friday, 24 May 2024 at 17:45:31 UTC, Lewis wrote: Hello! Not sure if it's of interest, but I've been developing a 3D game and engine in D for a few years, and finally have a demo up on Steam for anyone interested in poking around (Windows only unfortunately). - All code (engine and game)

What's the latest GDC stable release version?

2024-06-16 Thread mw via Digitalmars-d-learn
Hi, What's the latest GDC stable release version? The GDC link on: https://dlang.org/download.html is very out dated. I think it at least should show the latest version number, and link to the announcement. Thanks.

Beerconf June

2024-06-16 Thread Steven Schveighoffer via Digitalmars-d-announce
# BEERCONF! Beerconf for June is approaching, it will be here in 2 weeks on June 29-30. Hope to see you all then! Obligatory link to beerconf T's: https://www.zazzle.com/store/dlang_swag/products?cg=196874696466206954 ## What is Beerconf? Check out the [wiki

[Issue 24612] New: Explicitly given `auto ref` parameter can’t bind by lvalue by value

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24612 Issue ID: 24612 Summary: Explicitly given `auto ref` parameter can’t bind by lvalue by value Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24612] Explicitly given `auto ref` parameter can’t bind by lvalue by value

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24612 Bolpat changed: What|Removed |Added Priority|P1 |P2 CC|

[Issue 24611] Cannot explicitly instantiate template function with `auto ref`

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24611 Bolpat changed: What|Removed |Added Priority|P1 |P2 CC|

[Issue 24611] New: Cannot explicitly instantiate template function with `auto ref`

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24611 Issue ID: 24611 Summary: Cannot explicitly instantiate template function with `auto ref` Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24610] Basic range-based `toString` not recognized

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24610 Max Samukha changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24610] Basic range-based `toString` not recognized

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24610 --- Comment #1 from Max Samukha --- `import std.stdio;` is unnecessary. --

[Issue 24610] New: Basic range-based `toString` not recognized

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24610 Issue ID: 24610 Summary: Basic range-based `toString` not recognized Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 24597] FreeBSD/OpenBSD: Enable ELF_COMDAT

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24597 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16589 "merge stable" was merged into master: - aa5f1b4a6014a52c7118dde37274f8d336dc2ec0 by Brian Callahan: Fix Bugzilla 24597 https://github.com/dlang/dmd/pull/16589 --

[Issue 24566] condition that starts with runtime value and uses compile time array does not short circuit

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24566 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16589 "merge stable" was merged into master: - d92734bdac94e09538911838051f8edb54b25185 by Timon Gehr: Fix bugzilla issue 24566 - condition that starts with runtime value and uses compile

[Issue 24595] OpenBSD: Use .init_array/.fini_array

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24595 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16589 "merge stable" was merged into master: - f56d15b9f007d55b4e17c9d7942eed38fbc7db39 by Brian Callahan: Fix Bugzilla 24595 (#16575) https://github.com/dlang/dmd/pull/16589 --

[Issue 24603] Can copy from non-void array into void[] in safe code

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24603 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24596] Rebindable2 corrupts objects

2024-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24596 --- Comment #3 from Dlang Bot --- dlang/phobos pull request #9015 "merge stable" was merged into master: - 539dc473ba79db0e5e8cf9ee059a5cc137b88bda by FeepingCreature: Fix bugzilla issue 24596: std.typecons.Rebindable2: Don't destroy classes!

[Issue 24579] stat_t has wrong size for Android armv7a

2024-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24579 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: Feedback request from production of the usage of DWT

2024-06-15 Thread Menjanahary R. R. via Digitalmars-d-learn
On Friday, 14 June 2024 at 17:39:00 UTC, Ferhat Kurtulmuş wrote: ... I remember that hid comes with a windows SDK, and used there for usb interfacing. https://learn.microsoft.com/en-us/windows-hardware/drivers/hid/ I have a fish memory and didn't touch the repo for a while. You may have to

[Issue 24579] stat_t has wrong size for Android armv7a

2024-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24579 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot ---

[Issue 24609] New: Array of struct with immutable field implicitly converts to void[]

2024-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24609 Issue ID: 24609 Summary: Array of struct with immutable field implicitly converts to void[] Product: D Version: D2 Hardware: x86_64 OS: Linux Status:

[Issue 21856] Mutable base object returned as immutable from weakly pure function

2024-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21856 --- Comment #4 from Nick Treleaven --- (In reply to RazvanN from comment #2) > The safest and most restrictive solution would be to simply allow the > conversion only if the function is strongly pure, thus disallowing the > latter case, however,

[Issue 24608] Magic Mushrooms

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24608 Magic Mushrooms changed: What|Removed |Added URL||https://www.themountainmail

[Issue 24608] New: Magic Mushrooms

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24608 Issue ID: 24608 Summary: Magic Mushrooms Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1

[Issue 24607] New: __traits(isDeprecated, ...) not working on a member

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24607 Issue ID: 24607 Summary: __traits(isDeprecated, ...) not working on a member Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 14445] std.net.curl not usable in @safe code

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14445 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #2 from Nick

[Issue 24606] New: A way __traits(allMembers, ???) to exclude "alias" & "deprecated" member(s)

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24606 Issue ID: 24606 Summary: A way __traits(allMembers, ???) to exclude "alias" & "deprecated" member(s) Product: D Version: D2 Hardware: All OS: All

[Issue 24605] Disposable Carts

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24605 Nick Treleaven changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 24588] Buy Psilocybin Magic Mushrooms

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24588 veronapressdcs changed: What|Removed |Added CC||carrereleah...@gmail.com --- Comment #1

Re: Feedback request from production of the usage of DWT

2024-06-14 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Friday, 14 June 2024 at 17:39:00 UTC, Ferhat Kurtulmuş wrote: On Friday, 14 June 2024 at 17:27:20 UTC, Menjanahary R. R. wrote: On Thursday, 13 June 2024 at 11:31:31 UTC, Ferhat Kurtulmuş wrote: On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its

Re: Feedback request from production of the usage of DWT

2024-06-14 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Friday, 14 June 2024 at 17:27:20 UTC, Menjanahary R. R. wrote: On Thursday, 13 June 2024 at 11:31:31 UTC, Ferhat Kurtulmuş wrote: On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its adoption? Is GUI App in D frequent? ...

Re: Feedback request from production of the usage of DWT

2024-06-14 Thread Menjanahary R. R. via Digitalmars-d-learn
On Thursday, 13 June 2024 at 11:31:31 UTC, Ferhat Kurtulmuş wrote: On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its adoption? Is GUI App in D frequent? ... https://github.com/aferust/testds5 Wow, Awesome project!  Good illustration of using DWT

Re: Feedback request from production of the usage of DWT

2024-06-14 Thread Menjanahary R. R. via Digitalmars-d-learn
On Thursday, 13 June 2024 at 09:21:50 UTC, Dejan Lekic wrote: On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its adoption? Is GUI App in D frequent? There are quite few D GUI projects we are aware of, Tilix being one of the popular ones. I have few

[Issue 24604] New: Need CI task to build dmd, druntime & phobos with next edition semantics

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24604 Issue ID: 24604 Summary: Need CI task to build dmd, druntime & phobos with next edition semantics Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 21856] Mutable base object returned as immutable from weakly pure function

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21856 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org Summary|Implicit

[Issue 24603] Can copy from non-void array into void[] in safe code

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24603 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @ntrel

[Issue 24603] Can copy from non-void array into void[] in safe code

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24603 Nick Treleaven changed: What|Removed |Added Keywords||safe --

[Issue 24603] Can copy from non-void array into void[] in safe code

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24603 Nick Treleaven changed: What|Removed |Added Severity|enhancement |normal --

[Issue 24603] New: Can copy from non-void array into void[] in safe code

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24603 Issue ID: 24603 Summary: Can copy from non-void array into void[] in safe code Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity:

Re: How to use D without the GC ?

2024-06-14 Thread Dukc via Digitalmars-d-learn
bachmeier kirjoitti 14.6.2024 klo 16.48: See the example I posted elsewhere in this thread: https://forum.dlang.org/post/mwerxaolbkuxlgfep...@forum.dlang.org I defined ``` @nogc ~this() {   free(ptr);   printf("Data has been freed\n"); } ``` and that gets called when the reference count

Re: How to use D without the GC ?

2024-06-14 Thread bachmeier via Digitalmars-d-learn
On Friday, 14 June 2024 at 07:52:35 UTC, Dukc wrote: Lance Bachmeier kirjoitti 14.6.2024 klo 4.23: We must be talking about different things. You could, for instance, call a function in a C library to allocate memory at runtime. That function returns a pointer and you pass it to

[Issue 24584] [phobos] `make unittest` should not rerun tests unnecessarily

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24584 --- Comment #5 from kinke --- (In reply to Nick Treleaven from comment #3) > I have an old PC (I don't use -j as I only have 2 cores and 1 I keep for > other things): > > time make unittest > ... > make[1]: Leaving directory '/home/nick/git/phobos'

[Issue 24584] [phobos] `make unittest` should not rerun tests unnecessarily

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24584 --- Comment #4 from Nick Treleaven --- (In reply to kinke from comment #2) > ``` > $ make -j$(nproc) std/algorithm/mutation.test # single module > $ make -j$(nproc) std/algorithm.test # whole package > $ make -j$(nproc)

[Issue 24584] [phobos] `make unittest` should not rerun tests unnecessarily

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24584 --- Comment #3 from Nick Treleaven --- > There are multiple existing options for running the unittests of a single > module or package Oh great, thanks. I completely missed that but I see now that .test is mentioned at the top of the Makefile. >

[Issue 17148] Copying from const(void)[] to void[] breaks immutable

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17148 --- Comment #3 from Nick Treleaven --- > Probably void[] shouldn't be writable Assuming only slice assignment can write to it, I think we can just disallow copying from const(void)[]. That's what the pull does. --

[Issue 17148] Copying from const(void)[] to void[] breaks immutable

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17148 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org Summary|implicit

[Issue 17148] implicit conversion to void[] breaks type system

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17148 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot --- @ntrel

[Issue 24584] [phobos] `make unittest` should not rerun tests unnecessarily

2024-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24584 kinke changed: What|Removed |Added CC||ki...@gmx.net --- Comment #2 from kinke --- (In

Re: How to use D without the GC ?

2024-06-14 Thread Dukc via Digitalmars-d-learn
Lance Bachmeier kirjoitti 14.6.2024 klo 4.23: We must be talking about different things. You could, for instance, call a function in a C library to allocate memory at runtime. That function returns a pointer and you pass it to SafeRefCounted to ensure it gets freed. Nothing is known about the

Re: How to use D without the GC ?

2024-06-13 Thread Lance Bachmeier via Digitalmars-d-learn
On Thursday, 13 June 2024 at 07:18:48 UTC, Dukc wrote: Lance Bachmeier kirjoitti 13.6.2024 klo 1.32: Why would it be different from calling malloc and free manually? I guess I'm not understanding, because you put the same calls to malloc and free that you'd otherwise be doing inside this

Re: D Language Foundation February 2024 Monthly Meeting Summary

2024-06-13 Thread Anonymouse via Digitalmars-d-announce
On Thursday, 13 June 2024 at 10:20:03 UTC, Mike Parker wrote: [...] Thanks!

Re: Feedback request from production of the usage of DWT

2024-06-13 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its adoption? Is GUI App in D frequent? I am not sure if this is a known usage scenario with DWT. Once I wanted to use DWT. Since it is a port to SWT of Java. You can use existing GUI designers of SWT.

D Language Foundation February 2024 Monthly Meeting Summary

2024-06-13 Thread Mike Parker via Digitalmars-d-announce
The D Language Foundation's monthly meeting for February 2024 took place on Friday the 9th. It lasted around an hour. Razvan was the only member who sent in any agenda items before the meeting. ## The Attendees The following people attended: * Paul Backus * Walter Bright * Iain Buclaw *

Re: Feedback request from production of the usage of DWT

2024-06-13 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its adoption? Is GUI App in D frequent? There are quite few D GUI projects we are aware of, Tilix being one of the popular ones. I have few personal projects that are based, like Tilix, on GtkD

[Issue 24582] Detect unsafe `cast(bool[])`

2024-06-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24582 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: How to use D without the GC ?

2024-06-13 Thread Dukc via Digitalmars-d-learn
Dukc kirjoitti 13.6.2024 klo 10.18: So for example, if you have a program that sometimes needs 600Mib and sometimes needs 1100MiB, you can in any case allocate all that in one go with one `malloc` or one `new`, but you'll need at least 38/59 `SafeRefCounted` static arrays, and therefore

Re: How to use D without the GC ?

2024-06-13 Thread Dukc via Digitalmars-d-learn
Lance Bachmeier kirjoitti 13.6.2024 klo 1.32: Why would it be different from calling malloc and free manually? I guess I'm not understanding, because you put the same calls to malloc and free that you'd otherwise be doing inside this and ~this. Because with `SafeRefCounted`, you have to

Re: How to use D without the GC ?

2024-06-12 Thread monkyyy via Digitalmars-d-learn
On Wednesday, 12 June 2024 at 16:50:04 UTC, Vinod K Chandran wrote: On Wednesday, 12 June 2024 at 01:35:26 UTC, monkyyy wrote: rather then worring about the gc, just have 95% of data on the stack How's that even possible ? AFAIK, we need heap allocated memory in order to make GUI lib as a

<    1   2   3   4   5   6   7   8   9   10   >