Parsing with dxml

2019-11-17 Thread Joel via Digitalmars-d-learn
I can only parse one row successfully. I tried increasing the popFronts, till it said I'd gone off the end. Running ./app core.exception.AssertError@../../../../.dub/packages/dxml-0.4.1/dxml/source/dxml/parser.d(1457): text cannot be called with elementEnd ??:? _d_assert_msg

Re: dmd memory usage

2019-11-17 Thread ikod via Digitalmars-d-learn
On Monday, 18 November 2019 at 00:20:12 UTC, Steven Schveighoffer wrote: I'm fighting some out of memory problems using DMD and some super-template heavy code. I have ideas on how to improve the situation, but it involves redesigning a large portion of the design. I want to do it

Re: dmd memory usage

2019-11-17 Thread Adam D. Ruppe via Digitalmars-d-learn
On Monday, 18 November 2019 at 00:20:12 UTC, Steven Schveighoffer wrote: Is there a straightforward way to figure out how much memory the compiler uses during compilation? So this isn't a great solution but what I have done in the past is just have a little script running ps aux | grep dmd

dmd memory usage

2019-11-17 Thread Steven Schveighoffer via Digitalmars-d-learn
I'm fighting some out of memory problems using DMD and some super-template heavy code. I have ideas on how to improve the situation, but it involves redesigning a large portion of the design. I want to do it incrementally, but I need to see things improving. Is there a straightforward way

Re: druntime 2.087 regression? (was: Old codebase stops compiling at 2.087)

2019-11-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/17/19 10:45 AM, James Blachly wrote: /home/james/dmd2.087/dmd2/linux/bin64/../../src/druntime/import/object.d(3453,36): Error: cannot implicitly convert expression aa of type shared(GSeqAllele[string]) to const(shared(GSeqAllele)[string]) There's a subtle removing of the shared from

Re: D vs Java which is more powerful

2019-11-17 Thread GreatSam4sure via Digitalmars-d-learn
On Saturday, 16 November 2019 at 22:25:46 UTC, bauss wrote: On Saturday, 16 November 2019 at 07:24:50 UTC, GreatSam4sure wrote: [...] Java as a language in itself is not more powerful than D regardless of opinions. [...] Thanks, I am really shock about the claim that Java is move

druntime 2.087 regression? (was: Old codebase stops compiling at 2.087)

2019-11-17 Thread James Blachly via Digitalmars-d-learn
TL;DR druntime regression? https://gist.github.com/jblachly/78c5762bbfea65b09e7a1417ad763019 --- Our team has an older codebase that compiled fine up until frontend version 2.087 (builds with 2.086.1). Now, compiler (DMD2 and LDC2) complains about implicit conversion of shared(AA) to

Re: How to Unqual an array?

2019-11-17 Thread James Blachly via Digitalmars-d-learn
On 11/16/19 10:20 AM, James Blachly wrote: On 11/16/19 9:48 AM, James Blachly wrote: I am trying to write templated code that will take a character array -- mutable, const, or immutable (string). I am aware of isSomeString, but I am still curious about Unqual array from a learning