Re: Zeus GDB Dlang Support

2024-02-15 Thread NonNull via Digitalmars-d-announce

On Saturday, 10 February 2024 at 12:06:24 UTC, zeuseditor wrote:
Some time ago, a problem reported showed Zeus would fail to 
debug D code when using the GDB debugger. That issue related to 
the fact the version of GDB shipped with Zeus was outdated.


The latest release of Zeus now ships with the version 14.1 of 
GDB.


That means Zeus and GDB should now work with the D compiler, 
provided it produces DWARF symbolic information. The link below 
describes how the LDC compiler can be used to debug a D program 
using Zeus:


https://www.zeusedit.com/phpBB3/viewtopic.php?t=8358

NOTE: The Zeus debugger should also work with any compiler that 
can produces DWARF symbolic information as this comes down to 
what symbolic information is supported by GDB. One final note, 
Zeus is shareware and it is designed to run on the Windows 
platform.


https://www.zeusedit.com/phpBB3/viewtopic.php?t=2645
(linked to from here 
https://www.zeusedit.com/languages/other.html)


The above is your information on how to configure Zeus for D and 
is woefully out of date, and I don't just mean when it was 
posted. Check the info in that page to the various pieces of D 
infrastructure you suggest using! Not encouraging.






Re: exponential errors

2023-05-07 Thread NonNull via Digitalmars-d-announce

On Monday, 8 May 2023 at 03:22:02 UTC, anonymouse wrote:

Never thought I'd have to do this but, in Python:

```Python
pow(1/2, 3)
```
output:
```
 0.125
```
in D:

```D
import std.stdio;
void main()
{
  writeln((1/2)^^3);
}


Using DMD64 D Compiler v2.103.0:

The above program ran and output ```0``` because ```1/2``` is 
zero in D as that's integer division. Putting 1.0 instead of 1, 
it output ```0.125```.


Your compiler version is?






Re: rapidxml for D has been ported.

2019-10-12 Thread NonNull via Digitalmars-d-announce

On Tuesday, 8 October 2019 at 17:15:30 UTC, bauss wrote:
On Tuesday, 8 October 2019 at 09:52:40 UTC, Andrea Fontana 
wrote:

On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote:

[...]


So finally we have a working xml parser!


https://github.com/DiamondMVC/Diamond/tree/master/xml

Since 9 months ago.


https://diamondmvc.org/ --- certificate has expired