Re: dmd release schedule?

2020-07-04 Thread user1234 via Digitalmars-d-learn

On Saturday, 4 July 2020 at 20:48:02 UTC, drathier wrote:

On Sunday, 28 June 2020 at 10:44:26 UTC, drathier wrote:
Is there a release schedule anywhere for DMD? Any list of 
tasks to be the next release? I'm only finding 5+ year old 
things when searching.


Yes: https://dlang.org/changelog/release-schedule.html


This is only the calendar, not the content.

For the features, the main line is DIP driven. Big changes come 
from this, always. Then all the regressions, critical, major, 
industry, compiler crashes, bugs.


There are also tendencies, usually started from News Group 
discussions. For example since a few days the tendency is to work 
on reducing the memory use. A few weeks ago it was about 
templates and their cost.


Tendencies are not necessarily followed by many contributors. For 
example since several weeks  Wlater Bright is working on 
replacing the internal data structures used in the back end, and 
almost alone. Just to highlight the fact that there can be 
coherant (non random) initiatives.


Then the remainings bits are indivudally driven, good willing 
driven, mood driven...
for example if someone finds a problem and that he can fix it by 
himself then he does.


Re: dmd release schedule?

2020-07-04 Thread drathier via Digitalmars-d-learn

On Sunday, 28 June 2020 at 10:44:26 UTC, drathier wrote:
Is there a release schedule anywhere for DMD? Any list of tasks 
to be the next release? I'm only finding 5+ year old things 
when searching.


Yes: https://dlang.org/changelog/release-schedule.html


Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread aberba via Digitalmars-d-learn

On Saturday, 4 July 2020 at 19:52:42 UTC, Arafel wrote:

On 4/7/20 19:58, Paul Backus wrote:


You're looking for code-d:

https://github.com/Pure-D/code-d


Thanks! I'm trying it, although at least with VSCodium and 
Linux I had to build from sources, it didn't show by searching 
in the marketplace.


It DOES appear in the marketplace, its what I'm using. Just  
search for D programming or something. Its the most popular one 
there.


 One would assume such information is obvious to find but it is 
not. Unless you're already familiar with the ecosystem.


Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread Arafel via Digitalmars-d-learn

On 4/7/20 19:58, Paul Backus wrote:


You're looking for code-d:

https://github.com/Pure-D/code-d


Thanks! I'm trying it, although at least with VSCodium and Linux I had 
to build from sources, it didn't show by searching in the marketplace.


Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread Paul Backus via Digitalmars-d-learn

On Saturday, 4 July 2020 at 17:11:47 UTC, Arafel wrote:

On 4/7/20 17:42, Rainer Schuetze wrote:


Indeed, this is Windows only. Visual Studio Code is a 
different platform
than Visual Studio. Not sure why Microsoft named them so that 
they are

easily confused.



(Moving to the learn forum, since it now seems more appropriate)

It's certainly confusing that "Visual Studio" and "Visual 
Studio Code" are different platforms...


Is there any D plugin that would work with the latter, 
specially in a linux environment?


You're looking for code-d:

https://github.com/Pure-D/code-d


D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread Arafel via Digitalmars-d-learn

On 4/7/20 17:42, Rainer Schuetze wrote:


Indeed, this is Windows only. Visual Studio Code is a different platform
than Visual Studio. Not sure why Microsoft named them so that they are
easily confused.



(Moving to the learn forum, since it now seems more appropriate)

It's certainly confusing that "Visual Studio" and "Visual Studio Code" 
are different platforms...


Is there any D plugin that would work with the latter, specially in a 
linux environment?


Re: Catching OS Exceptions in Windows using LDC

2020-07-04 Thread kinke via Digitalmars-d-learn

On Saturday, 4 July 2020 at 12:59:03 UTC, Adam D. Ruppe wrote:
For whatever reason, dmd 64 bit and ldc decided to do their own 
thing instead of following the Windows standard and thus have 
no interop with OS exceptions.


For LDC, we don't do 'our own thing', but use MSVC++ EH, which 
allows to catch MSVC++ exceptions in D, and with some work, D 
exceptions in C++.


Re: Catching OS Exceptions in Windows using LDC

2020-07-04 Thread Kagamin via Digitalmars-d-learn
try 
https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-setunhandledexceptionfilter


Re: Catching OS Exceptions in Windows using LDC

2020-07-04 Thread Adam D. Ruppe via Digitalmars-d-learn

On Saturday, 4 July 2020 at 12:45:50 UTC, realhet wrote:
It was not a problem on other systems like: MSVC or Delphi, but 
on LDC these events are completely ignored.


use dmd with -m32 or -m32mscoff and it works correctly 
automatically.


For whatever reason, dmd 64 bit and ldc decided to do their own 
thing instead of following the Windows standard and thus have no 
interop with OS exceptions.


Alas not much help if you must use those other builds


Catching OS Exceptions in Windows using LDC

2020-07-04 Thread realhet via Digitalmars-d-learn

Hi,

I'd like to catch the OS Exceptions including:

- access violation
- int 3
- invalid opcode
etc.

The default behavior is that when these events happen, the 
program immediately exits with some negative exit code.


It was not a problem on other systems like: MSVC or Delphi, but 
on LDC these events are completely ignored.


It would be very useful to catch these errors inside and have the 
opportunity to handle it whatever is the best: application exit, 
save important data, ignore.


I've already found a solution from Adam D. Ruppe, but that's for 
Linux for the Access Violation case. But is there a similar thing 
for Windows as well?


PS: I do believe rely on AccessViolation to avoid buffer overruns 
is really useless and unsecure. But it would be so much help for 
me for developing/debugging my programs.


Thank You!