Re: LDC 1.38.0

2024-05-15 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, May 11, 2024 at 01:22:58AM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.38.0. Major changes: > > - Based on D 2.108.1. > - Support for LLVM 18; the prebuilt packages use v18.1.5. > - Android: Switch to native ELF TLS, supported since API level 29 (Android >

Re: Is D programming friendly for beginners?

2024-03-12 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Mar 12, 2024 at 08:40:49PM +, Meta via Digitalmars-d-announce wrote: [...] > I think it really depends on the person. My first language was C++, which > was absolute hell to learn as a complete beginner to programming, but I > really wanted to learn a language with low-level

Re: Is D programming friendly for beginners?

2024-03-12 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Mar 12, 2024 at 06:03:43PM +, Lance Bachmeier via Digitalmars-d-announce wrote: > On Tuesday, 12 March 2024 at 17:03:42 UTC, Mike Shah wrote: > > > As a note, the 'which language is best for CS 1' debate has long > > been debated -- but at least in a school setting, I've found the >

Re: LDC 1.37.0

2024-03-05 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Mar 03, 2024 at 02:46:34PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.37.0. Major changes: > > * Based on D 2.107.1. > * Important fix wrt. if-statement elision on constant condition. > > Full release log and downloads: >

Re: LDC 1.36.0

2024-01-06 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 06, 2024 at 06:03:54PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.36.0. Major changes: > > * Based on D 2.106.1. > * Support for LLVM 17; the prebuilt packages use v17.0.6. > * New GDC-compatible CLI options `-fno-{exceptions,moduleinfo,rtti}` to >

Re: Release D 2.106.0

2023-12-04 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Dec 02, 2023 at 06:09:11PM +, Iain Buclaw via Digitalmars-d-announce wrote: > Glad to announce D 2.106.0, ♥ to the 33 contributors. > > This release comes with... > > - In the D language, it is now possible to statically initialize AAs. [...] Finally! Hooray! T -- That's not a

Re: New DUB documentation

2023-11-22 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Nov 22, 2023 at 09:58:51PM +, Vladimir Marchevsky via Digitalmars-d-announce wrote: > On Wednesday, 22 November 2023 at 21:52:12 UTC, claptrap wrote: > > A single table of contents type menu would be better IMO, a left > > sidebar that gives links to all the pages. > > Wouldn't it be

Re: LDC 1.35.0

2023-10-16 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Oct 15, 2023 at 01:37:30PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.35.0. Major changes: > > * Based on D 2.105.2+. > * A few important ImportC fixes. > * Fix GC2Stack optimization regression introduced in v1.24. > > Full release log and downloads: >

Re: LDC 1.32.0

2023-03-12 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Mar 12, 2023 at 04:11:21PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.32.0. Major changes: [...] Awesome! Big thanks to all the LDC contributors for their hard work to bring us this awesome compiler. T -- A bend in the road is not the end of the road

Re: Hipreme Engine is fully ported to WebAssembly

2023-02-07 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Feb 03, 2023 at 01:41:35PM +, Hipreme via Digitalmars-d-announce wrote: > This has been finished for quite a time but I was polishing some features. > > I'll save this post to 4 things: > > **Advertise that [Hipreme Engine](https://github.com/MrcSnm/HipremeEngine) > is now

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jan 31, 2023 at 11:25:02AM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce wrote: > Like this? https://docs.webfreak.org/getting-started/first-steps/ Not bad! Looks much more promising than the original page for sure. Still ran into some issues though. The linked

Re: WildCAD - a simple 2D drawing application

2023-01-30 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Jan 30, 2023 at 08:39:33PM +, bachmeier via Digitalmars-d-announce wrote: > On Monday, 30 January 2023 at 04:40:48 UTC, Siarhei Siamashka wrote: > > On Monday, 30 January 2023 at 02:44:50 UTC, bachmeier wrote: > > > if you put your code in directories that match the modules you > > >

Re: D Language Foundation Monthly Meeting Summary for December 2022

2023-01-23 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Jan 23, 2023 at 08:43:03PM +, Adam D Ruppe via Digitalmars-d-announce wrote: > On Monday, 23 January 2023 at 20:06:46 UTC, H. S. Teoh wrote: > > There should be a tool for auto-generating JS wrappers, perhaps even > > HTML snippets, so that a user literally can just write: > > > >

Re: D Language Foundation Monthly Meeting Summary for December 2022

2023-01-23 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 21, 2023 at 04:29:28AM +, Mike Parker via Digitalmars-d-announce wrote: [...] > __CTFE writeln__ > > Razvan next brought up [a PR to implement a `__ctfeWriteln` > built-in](https://github.com/dlang/dmd/pull/12412). It was currently > stalled and needed Walter's approval. Walter

Re: ThePath - Convenient lib to deal with paths and files. (Alpha version)

2023-01-17 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Jan 15, 2023 at 01:53:51PM +, Dmytro Katyukha via Digitalmars-d-announce wrote: [...] > Also, this lib contains function > [createTempDirectory](https://github.com/katyukha/thepath/blob/master/source/thepath/utils.d), > that, i think, would be nice to have it in Phobos. Yes it would

Re: Good News: Almost all druntime supported on arsd webassembly

2023-01-06 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 06, 2023 at 12:52:43PM +, Hipreme via Digitalmars-d-announce wrote: > Hello people. I have tried working again with adam's wasm minimal > runtime, and yesterday I was able to make a great progress on it. [...] > All those tests are currently passing. That means we almost got all >

Re: Safer Linux Kernel Modules Using the D Programming Language

2023-01-06 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 06, 2023 at 04:07:12AM +, areYouSureAboutThat via Digitalmars-d-announce wrote: [...] > btw. Linus one said, more or less, that one reason he likes C so much, is > because when he is typing it, he can visualise what assembly will be > produced (i.e. his mind is always intune with

Re: Breaking news: std.uni changes!

2023-01-02 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jan 03, 2023 at 05:13:53PM +1300, Richard (Rikki) Andrew Cattermole via Digitalmars-d-announce wrote: > On 03/01/2023 10:24 AM, Dukc wrote: > > Other things coming to mind: Bidirectional grapheme iteration, > > Word break and line break algorithms, lazy normalisation. Indeed, > > lots of

Re: text based file formats

2022-12-20 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Dec 20, 2022 at 07:46:36PM +, John Colvin via Digitalmars-d-announce wrote: [...] > > There's also my little experimental csv parser that was designed to > > be as fast as possible: > > > > https://github.com/quickfur/fastcsv > > > > However it can only handle input that fits in

Re: text based file formats

2022-12-19 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Dec 19, 2022 at 04:16:57PM -0800, Walter Bright via Digitalmars-d-announce wrote: > On 12/19/2022 4:35 AM, Adam D Ruppe wrote: > > On Monday, 19 December 2022 at 09:55:47 UTC, Walter Bright wrote: > > > Curious why CSV isn't in the list. > > > > Maybe std.csv is already good enough? > >

Re: D Language Foundation October 2022 Quarterly Meeting Summary

2022-11-04 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Nov 04, 2022 at 03:57:05PM +, Bastiaan Veelo via Digitalmars-d-announce wrote: > On Wednesday, 2 November 2022 at 18:20:42 UTC, H. S. Teoh wrote: > > On Wed, Nov 02, 2022 at 06:11:12PM +, M. M. via > > Digitalmars-d-announce wrote: > > > Thank you to Martin Nowak for all his as

Re: D Language Foundation October 2022 Quarterly Meeting Summary

2022-11-02 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Nov 02, 2022 at 06:11:12PM +, M. M. via Digitalmars-d-announce wrote: > On Wednesday, 2 November 2022 at 04:42:06 UTC, Mike Parker wrote: > > The D Language Foundation's October 2022 meeting was a quarterly, > > meaning that several industry representatives attended. It took > > place

Re: GCC 12.2 Released (D v2.100.1)

2022-08-19 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 19, 2022 at 11:36:09AM +, Iain Buclaw via Digitalmars-d-announce wrote: > Hi, > > GCC version 12.2 has been released. [...] > - Updated the D front-end from v2.100.0-rc1 to v2.100.1. [...] :-O TOTAL AWESOMENESS!!! Now GDC is officially up-to-date with the latest version of the

Re: More fun with toStringz and the GC

2022-08-06 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 05, 2022 at 10:14:24PM -0400, Steven Schveighoffer via Digitalmars-d-announce wrote: > On 8/5/22 8:51 PM, Don Allen wrote: > > > And this, from Section 32.2 of the Language Reference Manual: > > > > If pointers to D garbage collector allocated memory are passed to C > >

Re: LDC 1.30.0

2022-07-20 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jul 20, 2022 at 06:43:05PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.30.0. Major changes: > > - Based on D 2.100.1. > - LLVM for prebuilt packages bumped to v14.0.3. All target architectures > supported by LLVM are enabled now. > - Dropped LDC ltsmaster

Re: A New Game Written in D

2022-05-18 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, May 19, 2022 at 07:07:45AM +1200, rikki cattermole via Digitalmars-d-announce wrote: > > On 19/05/2022 7:03 AM, H. S. Teoh wrote: > > We keep coming back to this impasse: write barriers. It's high time > > somebody implemented this in a dmd fork so that we can actually test > > out more

Re: A New Game Written in D

2022-05-18 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, May 19, 2022 at 06:18:58AM +1200, rikki cattermole via Digitalmars-d-announce wrote: > On 19/05/2022 5:51 AM, Kenny Shields wrote: > > Also, I know that D has some sort of interface for allowing custom > > GC implementations -- has anyone ever made a functional alternative? > > Something

Re: Library associative array project v0.0.1

2022-05-12 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, May 12, 2022 at 01:46:19PM -0400, Steven Schveighoffer via Digitalmars-d-announce wrote: > On 5/12/22 1:15 PM, H. S. Teoh wrote: > > On Wed, May 11, 2022 at 11:31:02AM -0400, Steven Schveighoffer via > > Digitalmars-d-announce wrote: [...] > > > 1. Proves that a library implementation is

Re: Library associative array project v0.0.1

2022-05-12 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, May 11, 2022 at 11:31:02AM -0400, Steven Schveighoffer via Digitalmars-d-announce wrote: > I just spent a couple hours making a library AA solution that is > binary compatible with druntime's builtin AA. This is awesome! Don't have time to look at it in detail right now, but will

Re: Release: serverino - please destroy it.

2022-05-09 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, May 09, 2022 at 04:48:11PM +, Vladimir Panteleev via Digitalmars-d-announce wrote: > On Monday, 9 May 2022 at 16:37:15 UTC, H. S. Teoh wrote: > > Why is memory protection the only way to implement write barriers in > > D? > > Well, it's the only way I know of without making it a

Re: Release: serverino - please destroy it.

2022-05-09 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, May 09, 2022 at 05:55:39AM +, Vladimir Panteleev via Digitalmars-d-announce wrote: > On Monday, 9 May 2022 at 00:25:43 UTC, H. S. Teoh wrote: > > In the past, the argument was that write barriers represented an > > unacceptable performance hit to D code. But I don't think this has >

Re: Release: serverino - please destroy it.

2022-05-09 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, May 09, 2022 at 05:52:30AM +, Vladimir Panteleev via Digitalmars-d-announce wrote: > On Sunday, 8 May 2022 at 23:44:42 UTC, Ali Çehreli wrote: > > While we are on topic :) and as I finally understood what > > generational GC is[1], are there any fundamental issues with D to > > not

Re: Release: serverino - please destroy it.

2022-05-08 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, May 09, 2022 at 12:10:53PM +1200, rikki cattermole via Digitalmars-d-announce wrote: > On 09/05/2022 11:44 AM, Ali Çehreli wrote: > > While we are on topic :) and as I finally understood what > > generational GC is[1], are there any fundamental issues with D to > > not use one? > > This

Re: GCC 12.1 Released (D v2.100-rc.1)

2022-05-06 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, May 06, 2022 at 11:57:47AM +, Iain Buclaw via Digitalmars-d-announce wrote: > Hi, > > I am proud to announce another major GCC release, 12.1. > > This year, the biggest change in the D front-end is the version bump from > v2.076.1 to >

Re: LDC 1.29.0

2022-04-08 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Apr 08, 2022 at 05:42:46AM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.29.0. Major changes: > > * Based on D 2.099.1. [...] > Full release log and downloads: > https://github.com/ldc-developers/ldc/releases/tag/v1.29.0 > > Thanks to all contributors &

Re: D Language Foundation Monthly Meeting Summary for March 2022

2022-04-04 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Apr 05, 2022 at 12:23:54AM +1200, rikki cattermole via Digitalmars-d-announce wrote: [...] > +1 infer everything! I agree, in principle. The ideal is 100% inference. Unfortunately, that's unlikely to be actually reachable. Nevertheless, we should definitely move in the direction of

Re: argparse version 0.7.0 - a CLI parsing library

2022-03-18 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Mar 18, 2022 at 09:30:57PM +, Adam Ruppe via Digitalmars-d-announce wrote: [...] > One approach you might consider is a hybrid too, where you have the > big struct you build out of the individual udas. > > So you work on the big one but you do getBig!decl and it loops through > the

Re: argparse version 0.7.0 - a CLI parsing library

2022-03-18 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Mar 18, 2022 at 06:21:46PM +, Anonymouse via Digitalmars-d-announce wrote: > On Thursday, 17 March 2022 at 19:07:28 UTC, H. S. Teoh wrote: > > Using independent, orthogonal UDAs may make option specification > > using your module easier to read. For example, from your docs: [...] > >

Re: argparse version 0.7.0 - a CLI parsing library

2022-03-17 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Mar 14, 2022 at 03:06:44AM +, Andrey Zherikov via Digitalmars-d-announce wrote: > Hi everyone, > > I'd like to share that I've published a new version of > [argparse](https://code.dlang.org/packages/argparse) library. It's > got some new features since my [first >

Re: Release D 2.099.0

2022-03-09 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Mar 09, 2022 at 06:46:34PM +, Brian Callahan via Digitalmars-d-announce wrote: [...] > I'm happy to report that as of DMD 2.099.0, there are 0 lines of diff > between upstream DMD and the OpenBSD package :) [...] Wonderful! T -- Государство делает вид, что платит нам зарплату, а

Re: Added copy constructors to "Programming in D"

2022-02-09 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Feb 09, 2022 at 10:28:15AM -0800, Ali Çehreli via Digitalmars-d-announce wrote: [...] > - const is a promise > > - immutable is a requirement [...] Strictly speaking, that's not really an accurate description. :-P A more accurate description would be: - const: I cannot modify the data

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Feb 02, 2022 at 11:40:09AM -0500, Steven Schveighoffer via Digitalmars-d-announce wrote: [...] > D error messages can be bad. Especially when you are using lots of > range wrappers. It all depends on what you use. [...] True. I've had my fair share of WAT moments with D error messages.

Re: On the D Blog: A Gas Dynamics Toolkit in D

2022-02-02 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Feb 02, 2022 at 08:14:32AM +, Mike Parker via Digitalmars-d-announce wrote: [...] > https://dlang.org/blog/2022/02/02/a-gas-dynamics-toolkit-in-d/ [...] Favorite quote: "Good error messages from the compiler. We often used to be overwhelmed by the C++ template error

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-24 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Jan 24, 2022 at 10:56:57PM +, Elronnd via Digitalmars-d-announce wrote: > On Friday, 21 January 2022 at 12:55:58 UTC, ag0aep6g wrote: > > I still believe it should be fairly simple: > > > > https://forum.dlang.org/post/ofc0lj$2u4h$1...@digitalmars.com > > There is a simpler

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Jan 23, 2022 at 03:24:04AM +, Paul Backus via Digitalmars-d-announce wrote: [...] > The way I envision it, `std` would be the "rolling release" namespace > that allows breaking changes, and if you wanted stability, you'd have > to explicitly depend on `std.vN`. What we currently call

Re: D Language Quarterly Meeting Summary for January 2021

2022-01-22 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 22, 2022 at 05:09:51PM +, Alexandru Ermicioi via Digitalmars-d-announce wrote: > On Saturday, 22 January 2022 at 05:43:55 UTC, Paul Backus wrote: > > On Friday, 21 January 2022 at 12:33:25 UTC, Mike Parker wrote: > > > ### Andrei > > > Andrei brought up std.v2, but this is where

Re: Why I Like D

2022-01-14 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 09:18:23AM +, Paulo Pinto via Digitalmars-d-announce wrote: > On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: [...] > > How is using D "losing autonomy"? Unlike Java, D does not force you > > to use anything. You can write all-out GC code, you can write

Re: Why I Like D

2022-01-14 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 03:51:17AM +, forkit via Digitalmars-d-announce wrote: > On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: > > > > How is using D "losing autonomy"? Unlike Java, D does not force you > > to use anything. You can write all-out GC code, you can write @nogc

Re: Why I Like D

2022-01-14 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 06:20:58AM +, Araq via Digitalmars-d-announce wrote: > On Friday, 14 January 2022 at 02:13:48 UTC, H. S. Teoh wrote: > > It takes 10x the effort to write a shell-script substitute in C++ > > because at every turn the language works against me -- I can't avoid > >

Re: Why I Like D

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jan 14, 2022 at 01:19:01AM +, forkit via Digitalmars-d-announce wrote: [...] > C provides even greater autonomy over both C++ and D. And I'd argue, > that's why C remains so useful, and so popular (for those problems > where such a level of autonomy is needed). > > By, 'autonomy', I

Re: Why I Like D

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 13, 2022 at 09:32:15PM +, Paul Backus via Digitalmars-d-announce wrote: > On Wednesday, 12 January 2022 at 20:48:39 UTC, forkit wrote: [...] > > Programmers want the right of self-government, over their code. > > Actually, I think *self*-government has very little to do with it.

Re: LDC 1.28.1

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 13, 2022 at 03:51:07PM +, kinke via Digitalmars-d-announce wrote: > A new patch version was just released: > > * Based on D 2.098.1+ (stable from 2 days ago). Big thanks to the LDC team for continuing to deliver one of the best D compilers around! T -- Государство делает

Re: Why I Like D

2022-01-13 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 13, 2022 at 10:21:12AM +, Stanislav Blinov via Digitalmars-d-announce wrote: [...] > Oh there is a psychological barrier for sure. On both sides of the, > uh, "argument". I've said this before but I can repeat it again: time > it. 4 milliseconds. That's how long a single

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

2022-01-12 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jan 12, 2022 at 07:55:41PM +, Moth via Digitalmars-d-announce wrote: > On Tuesday, 11 January 2022 at 17:55:28 UTC, H. S. Teoh wrote: [...] > > One minor usability issue I found just glancing over the code: many > > of your methods take char[] as argument. Generally, you want > >

Re: Why I Like D

2022-01-12 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jan 12, 2022 at 05:42:46PM +, bachmeier via Digitalmars-d-announce wrote: > On Wednesday, 12 January 2022 at 16:52:02 UTC, Arjan wrote: [...] > > I think it stems from experience from long ago when JAVA was HOT and > > sold as the solution of all world problems, but failed to meet > >

Re: Why I Like D

2022-01-12 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jan 12, 2022 at 11:14:54AM -0500, Steven Schveighoffer via Digitalmars-d-announce wrote: [...] > Look at Sociomantic -- they still used the GC, just made sure to > minimize the possibility of collections. > > I wonder if there is just so much fear of the GC vs people who > actually tried

Re: Why I Like D

2022-01-12 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jan 12, 2022 at 03:41:03PM +, Adam D Ruppe via Digitalmars-d-announce wrote: > On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote: > > However it turns out that unless you are writing a computer > > game, a high frequency trading system, a web server > > Most

Re: Why I Like D

2022-01-12 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jan 11, 2022 at 06:37:47PM -0800, Walter Bright via Digitalmars-d-announce wrote: > "Why I like D" is on the front page of HackerNews at the moment at number 11. > > https://news.ycombinator.com/news Favorite quote: Some people may not consider the GC a feature, I certainly did

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

2022-01-11 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jan 11, 2022 at 11:16:13AM +, Moth via Digitalmars-d-announce wrote: > On Tuesday, 11 January 2022 at 03:20:22 UTC, Salih Dincer wrote: > > [snip] > > glad to hear you're finding it useful! =] One minor usability issue I found just glancing over the code: many of your methods take

Re: DMD now incorporates a disassembler

2022-01-08 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 08, 2022 at 08:29:20PM +, max haughton via Digitalmars-d-announce wrote: > On Saturday, 8 January 2022 at 18:08:27 UTC, Steven Schveighoffer wrote: > > On 1/8/22 12:23 PM, jmh530 wrote: > > > On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: > > > > Compile with

Re: DMD now incorporates a disassembler

2022-01-07 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 08, 2022 at 07:39:54AM +0100, ag0aep6g via Digitalmars-d-announce wrote: > On 07.01.22 22:41, Walter Bright wrote: > > Compile with -vasm to see it! Enjoy! > > With feature creep in full swing now, when can I expect to read my email > with DMD? You already can: echo 'import

Re: He Wrote a High-Frequency Trading Platform in D

2021-12-11 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Dec 11, 2021 at 01:58:02PM +, Mike Parker via Digitalmars-d-announce wrote: > Georges Toutoungis shared his D user experience on the D blog. He went > from being excited, to dismissive, to using D to implement an HFT and > never looking back. > > The blog: >

Re: GDC has just landed v2.098.0-beta.1 into GCC

2021-11-30 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Nov 30, 2021 at 07:37:34PM +, Iain Buclaw via Digitalmars-d-announce wrote: > Hi, > > The latest version of the D language has [now > landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5) > in GCC. [...] > **Why specifically

Re: LDC 1.28.0

2021-10-19 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Oct 19, 2021 at 11:37:22PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.28 - some highlights: > > * Based on D 2.098.0+ (yesterday's stable). > * Dynamic casts across binary boundaries (DLLs etc.) now work. > * Windows: `-dllimport=defaultLibsOnly` doesn't

Re: Beta 2.098.0

2021-10-05 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Oct 05, 2021 at 07:36:28PM +0200, ag0aep6g via Digitalmars-d-announce wrote: [...] > > > On Monday, 4 October 2021 at 22:40:19 UTC, Temtaime wrote: > > > > What is really discourages me that persons like Walter instead > > > > of making D great just do nothing helpful. [...] > It's

Re: Bison 3.8.1 released with D backend

2021-09-20 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Sep 15, 2021 at 01:24:25PM +, Carl Sturtivant via Digitalmars-d-announce wrote: > > The D back-end for deterministic parsers contributed by Adela Vais is > now available with the release of Bison 3.8.1 ! > > https://github.com/adelavais > > See

Re: Surprise - New Post on the GtkD Coding Blog

2021-09-07 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Sep 07, 2021 at 12:29:14PM +, Dukc via Digitalmars-d-announce wrote: > On Friday, 3 September 2021 at 18:52:13 UTC, Adam D Ruppe wrote: > > (i loathe and despise wayland but ill try not to rant) > > Have you written more about this on your blog? I have read more than > one piece that

Re: dmdtags 1.0.0: an accurate tag generator for D source code

2021-08-31 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 27, 2021 at 09:38:58PM +, Paul Backus via Digitalmars-d-announce wrote: > `dmdtags` is a tags file generator for D source code that uses the DMD > compiler frontend for accurate parsing. > > This release supports 100%-accurate parsing of arbitrary D code > (tested on DMD and

Re: trash-d: Replacement for rm that uses the trash bin

2021-08-24 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Aug 24, 2021 at 02:19:58AM +, rushsteve1 via Digitalmars-d-announce wrote: > https://github.com/rushsteve1/trash-d > > A near drop-in replacement for `rm` that uses the Freedesktop trash > bin. Started because an acquaintance `rm -rf`'d his music folder and > I thought there had to

Re: LDC 1.26.0

2021-04-28 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Apr 28, 2021 at 03:30:58PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.26: [...] > https://github.com/ldc-developers/ldc/releases/tag/v1.26.0 [...] Awesome! Thanks to all LDC contributors who made this release possible. LDC has been my workhorse D compiler,

Re: Cross-compiler targeting macOS

2021-04-08 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Apr 08, 2021 at 10:23:27AM +0200, Jacob Carlborg via Digitalmars-d-announce wrote: > On 2021-04-07 17:27, Guillaume Piolat wrote: > > > Dumb question maybe but: in what use cases should this be used? > > I don't know, ask H. S. Teoh :D. > > I know some people have asked for it. I did

Re: Cross-compiler targeting macOS

2021-04-07 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Apr 07, 2021 at 12:24:40PM +, Jacob Carlborg via Digitalmars-d-announce wrote: > # Docker LDC Darwin > > I would like to announce a new project I'm working on: > docker-ldc-darwin [1]. The project consists of a Dockerfile for > building a Docker image which has all the necessary

Re: On the D Blog--Symphony of Destruction: Structs, Classes, and the GC

2021-03-04 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Mar 04, 2021 at 11:42:58PM +, Dukc via Digitalmars-d-announce wrote: > On Thursday, 4 March 2021 at 13:54:48 UTC, Mike Parker wrote: [...] > If an assert was failing, the program is going to terminate anyway, so > InvalidMemoryOperationError is no problem. Well, it might obfuscate >

Re: LDC 1.25.0

2021-02-23 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Feb 23, 2021 at 07:32:13PM +, kinke via Digitalmars-d-announce wrote: > On Tuesday, 23 February 2021 at 18:19:09 UTC, H. S. Teoh wrote: > > Tested this on one of my projects yesterday. For -O3, it reduced > > compile time by about ~26%. For -O, it reduced compile time by > > about

Re: LDC 1.25.0

2021-02-23 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Feb 21, 2021 at 06:26:38PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.25 - some highlights: > > - Based on D 2.095.1. Awesome!! Thanks to everyone in the LDC team who made this release possible. [...] > - New experimental template emission scheme for

Re: Idioms for the D programming language

2021-02-11 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Feb 11, 2021 at 12:12:36PM -0800, Walter Bright via Digitalmars-d-announce wrote: [...] > https://p0nce.github.io/d-idioms/ Not bad, but it seems to be missing some of the newer idioms. Like the templated static this trick for transparently encoding compile-time information at runtime.

Re: DIP 1034--Add a Bottom Type (reboot)--Formal Assessment Begins

2021-02-03 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Feb 03, 2021 at 09:20:57AM +, Mike Parker via Digitalmars-d-announce wrote: > After a bit of delay, DIP 1034, "Add a Bottom Type (reboot)", is now in the > hands of Walter and Atila for the Formal Assessment. We can expect to have a > final decision or some other result by March 4. >

Re: Please Congratulate My New Assistant

2021-01-25 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Jan 25, 2021 at 08:03:53PM +, Paul Backus via Digitalmars-d-announce wrote: > On Monday, 25 January 2021 at 12:48:48 UTC, Imperatorn wrote: > > But, at the same time, I guess it could be a bit demoralizing you > > know? > > That's true. Sometimes, reality is demoralizing. That

Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 02, 2021 at 09:05:03PM +, Murilo via Digitalmars-d-announce wrote: > On Saturday, 2 January 2021 at 19:15:44 UTC, evilrat wrote: > > On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote: > > > I also don't want anyone stealing my idea. > > > > Too late. You already posted

Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 02, 2021 at 09:01:17PM +, Murilo via Digitalmars-d-announce wrote: [...] > It's because I don't people to know the spoilers, so no one will see > the source code. IMO, that view is misguided, because as soon as some software runs on the user's PC, it's already open to

Re: Our community seems to have grown, so many people are joining the Facebook group

2020-12-29 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Dec 30, 2020 at 02:31:36AM +, Murilo via Digitalmars-d-announce wrote: > On Tuesday, 29 December 2020 at 15:06:07 UTC, Ola Fosheim Grøstad wrote: > > No, the OP clearly stated that he made the group "official". That is > > a deliberate attempt to fracture. No, that's reading more

Re: Httparsed - fast native dlang HTTP 1.x message header parser

2020-12-14 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Dec 15, 2020 at 12:11:44AM +, Adam D. Ruppe via Digitalmars-d-announce wrote: > On Monday, 14 December 2020 at 21:59:02 UTC, tchaloupka wrote: > > * arsd's cgi.d - I haven't expected it to be so much slower than > > vibe-d parser, it's almost 3 times slower, but on the other hand > >

Re: Release D 2.094.2

2020-11-23 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Nov 23, 2020 at 07:07:43PM +, Martin Nowak via Digitalmars-d-announce wrote: > Glad to announce D 2.094.2, ♥ to the 10 contributors. > > http://dlang.org/download.html > > This point release fixes a few issues over 2.094.2, see the changelog > for more details. > >

Re: GCC 10.2.1 Released

2020-08-24 Thread H. S. Teoh via Digitalmars-d-announce
On Mon, Aug 24, 2020 at 09:24:23PM +, Iain Buclaw via Digitalmars-d-announce wrote: [...] > GCC 10.2 is a bug-fix release from the GCC 10 branch containing > important fixes for regressions and serious bugs found GCC 10.1. Thanks for all of your efforts, Iain!! [...] > Also fixed is a

Re: Reading IDX Files in D, an introduction to compile time programming

2020-08-21 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 21, 2020 at 01:18:30PM -0700, Ali Çehreli via Digitalmars-d-announce wrote: [...] > In my case I found a limitation: I cannot "iterate a directory" and > import all file contents in there (the limitation is related to a C > library function not having source code so it cannot be

Re: Reading IDX Files in D, an introduction to compile time programming

2020-08-21 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 21, 2020 at 08:54:14AM -0700, H. S. Teoh via Digitalmars-d-announce wrote: > On Fri, Aug 21, 2020 at 03:04:30PM +, data pulverizer via > Digitalmars-d-announce wrote: > > I have written an article targeted at people new to D on > > compile-time programming: >

Re: Reading IDX Files in D, an introduction to compile time programming

2020-08-21 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Aug 21, 2020 at 03:04:30PM +, data pulverizer via Digitalmars-d-announce wrote: > I have written an article targeted at people new to D on compile-time > programming: > https://www.active-analytics.com/blog/reading-idx-files-in-d/ [...] CSS leakage into text in 2nd bullet point under

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Aug 20, 2020 at 10:20:59AM +, user1234 via Digitalmars-d-announce wrote: > On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: > > Wrote something on OpenSource.com > > > > https://opensource.com/article/20/8/nesting-d > > I'm not sure. A few notes on nesting. > > 1. context

Re: LDC 1.23.0

2020-08-19 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Aug 19, 2020 at 05:45:46PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.23 - some highlights: > > - Based on D 2.093.1+. > - LLVM for prebuilt packages bumped to v10.0.1; min version raised to > 6.0. > - Cross-compiling to the iOS/x86_64 simulator now works

Re: The ABC's of Templates in D

2020-07-31 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jul 31, 2020 at 01:46:43PM +, Mike Parker via Digitalmars-d-announce wrote: [...] > If you've got a code base that uses templates in interesting ways, > please get in touch! We do offer a bounty for guest posts, so you can > help with a bit of PR and make a bit of cash at the same

Re: Article: the feature that makes D my favorite programming language

2020-07-25 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jul 25, 2020 at 01:28:34PM +, Adam D. Ruppe via Digitalmars-d-announce wrote: > On Saturday, 25 July 2020 at 11:12:16 UTC, aberba wrote: > > Oop! Chaining the writeln too could have increased the wow factor. I > > didn't see that. > > oh I hate it when people do that though, it just

Re: Article: the feature that makes D my favorite programming language

2020-07-24 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Jul 24, 2020 at 08:34:17PM +, aberba via Digitalmars-d-announce wrote: > Wrote something on the feature that makes D my favorite programming > language > > https://opensource.com/article/20/7/d-programming Nitpick: evenNumbers doesn't need to return int[]. In fact, dropping the

Re: Decimal string to floating point conversion with correct half-to-even rounding

2020-07-07 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jul 07, 2020 at 01:47:59PM -0400, Steven Schveighoffer via Digitalmars-d-announce wrote: > On 7/7/20 1:37 PM, H. S. Teoh wrote: > > cf. the repeated problems we had over the years with libcurl, zlib, > > etc. > > zlib is actually included copy-paste style in Phobos [1]. So it's >

Re: Decimal string to floating point conversion with correct half-to-even rounding

2020-07-07 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jul 07, 2020 at 03:08:33PM +, Adam D. Ruppe via Digitalmars-d-announce wrote: > On Tuesday, 7 July 2020 at 13:00:04 UTC, Steven Schveighoffer wrote: > > Doing that these days would be silly. You can depend on a specific > > version of a repository without problems. > > I always have

Re: A security review of the D library Crypto

2020-07-04 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Jul 01, 2020 at 07:19:11AM +, Cym13 via Digitalmars-d-announce wrote: [...] > https://breakpoint.purrfect.fr/article/review_crypto_d.html [...] Very interesting writeup indeed, thanks! > Furthermore if you would like someone to have a look at your project > to identify issues I am

Re: LDC 1.22.0

2020-06-16 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jun 16, 2020 at 08:12:12PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.22 - some highlights: [...] Awesome!! Thanks for continuing to bring us this awesome compiler! T -- Those who've learned LaTeX swear by it. Those who are learning LaTeX swear at it.

Re: Rationale for accepting DIP 1028 as is

2020-05-28 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, May 28, 2020 at 03:21:09AM -0600, Jonathan M Davis via Digitalmars-d-announce wrote: [...] > With the DIP in its current state, @safe becomes a lie. The compiler > no longer guarantees that @safe code is memory safe so long as it > doesn't call any @trusted code where the programmer

Re: Work = Resources * Efficiency

2020-05-23 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, May 23, 2020 at 04:00:35AM -0400, Nick Sabalausky (Abscissa) via Digitalmars-d-announce wrote: [...] > "Efficiency": Merriam-Webster > : > > 1: the quality or degree of being efficient ("X is X! Yawn, tell me > something that means

Re: DIP1028 - Rationale for accepting as is

2020-05-23 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, May 23, 2020 at 10:55:40AM +, Dukc via Digitalmars-d-announce wrote: [...] > When I look my own code that uses the Nuklear GUI library, written in > C, it's all `@system`. I have not had the time to make `@trusted` > wrappers over the BindBC-nuklear API, so I did what tends to occur to

Re: DIP1028 - Rationale for accepting as is

2020-05-23 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, May 22, 2020 at 10:50:02PM -0700, Walter Bright via Digitalmars-d-announce wrote: > On 5/22/2020 10:33 AM, rikki cattermole wrote: > > To me at least, this butchers @safe/trusted/system into a system > > that is near useless for guarantees for an entire program. > > It never attempted to

  1   2   3   4   >