Re: fixedstring: a @safe, @nogc string type

2022-01-10 Thread Salih Dincer via Digitalmars-d-announce
On Monday, 10 January 2022 at 12:55:28 UTC, Moth wrote: have fun =] https://github.com/Moth-Tolias/fixedstring I try Fixedstring and, to my great relief I got the results I expected. Thank you, good luck with your work. So how to fix this double character issue: ```d FixedString!6 sugar =

Re: fixedstring: a @safe, @nogc string type

2022-01-10 Thread Moth via Digitalmars-d-announce
On Monday, 10 January 2022 at 14:06:27 UTC, Moth wrote: On Monday, 10 January 2022 at 13:12:13 UTC, jmh530 wrote: You might add some examples to the Readme.md good observation, i'll work on that. in the meantime the examples in the unittests should suffice. fixed. for those who don't

Re: fixedstring: a @safe, @nogc string type

2022-01-10 Thread Moth via Digitalmars-d-announce
On Monday, 10 January 2022 at 13:12:13 UTC, jmh530 wrote: You might add some examples to the Readme.md good observation, i'll work on that. in the meantime the examples in the unittests should suffice.

DIP 1042--ProtoObject--Community Review Round 1 Begins

2022-01-10 Thread Mike Parker via Digitalmars-d-announce
The first round of Community Review for DIP 1042, "ProtoObject", is now underway. Please discuss the DIP (its merits, its implementation, peripheral topics, etc.) in the Discussion Thread and save all review feedback (critiques on the content of the DIP: what to change, how to improve it,

Re: DMD now incorporates a disassembler

2022-01-10 Thread Patrick Schluter via Digitalmars-d-announce
On Sunday, 9 January 2022 at 06:04:25 UTC, max haughton wrote: On Sunday, 9 January 2022 at 02:58:43 UTC, Walter Bright wrote: I've never seen one. What's the switch for gcc to do the same thing? For GCC/Clang you'd want -S (and then -masm=intel to make the output ~~beautiful to nobody

Re: fixedstring: a @safe, @nogc string type

2022-01-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 January 2022 at 12:55:28 UTC, Moth wrote: hi all. i got fed up with the built-in string type having so many features unavailable in `@nogc` code, so i made my own. introducing fixedstring: a templated fixed-length array of `char`s, compatible with `@safe`, `@nogc`, and

Re: fixedstring: a @safe, @nogc string type

2022-01-10 Thread zjh via Digitalmars-d-announce
On Monday, 10 January 2022 at 12:55:28 UTC, Moth wrote: hi all. Good.Let's use `betterC`.

fixedstring: a @safe, @nogc string type

2022-01-10 Thread Moth via Digitalmars-d-announce
hi all. i got fed up with the built-in string type having so many features unavailable in `@nogc` code, so i made my own. introducing fixedstring: a templated fixed-length array of `char`s, compatible with `@safe`, `@nogc`, and `nothrow` code. licenced under the AGPL-3.0 or later, but i'm