Re: Understanding the Behavior of i + ++i in D Language

2024-08-28 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, August 28, 2024 3:44:59 PM MDT Johann Lermer via Digitalmars-d- learn wrote: > On Friday, 23 August 2024 at 08:58:16 UTC, Me'vâ wrote: > > writeln("Result: ", i + ++i); > > I would definitely expect 11 as result (but I still have K&R on > my book shelf, maybe I'm a bit biased). So

Re: Understanding the Behavior of i + ++i in D Language

2024-08-28 Thread Johann Lermer via Digitalmars-d-learn
On Friday, 23 August 2024 at 08:58:16 UTC, Me'vâ wrote: writeln("Result: ", i + ++i); I would definitely expect 11 as result (but I still have K&R on my book shelf, maybe I'm a bit biased). So, when you get 12 with C, I would consider that an error.

Re: How do I compile D code for WASM? Any alternative runtime recommendations?

2024-08-28 Thread Sergey via Digitalmars-d-learn
On Wednesday, 28 August 2024 at 19:29:39 UTC, monkyyy wrote: On Wednesday, 28 August 2024 at 19:08:58 UTC, Sergey wrote: In Discord we are collecting all links about different topics. We already have D & Wasm topic with most of the relevant links. airnt all the wasm projects by people not on

Re: How do I compile D code for WASM? Any alternative runtime recommendations?

2024-08-28 Thread monkyyy via Digitalmars-d-learn
On Wednesday, 28 August 2024 at 19:08:58 UTC, Sergey wrote: In Discord we are collecting all links about different topics. We already have D & Wasm topic with most of the relevant links. airnt all the wasm projects by people not on the discord?

Re: How do I compile D code for WASM? Any alternative runtime recommendations?

2024-08-28 Thread Sergey via Digitalmars-d-learn
On Wednesday, 28 August 2024 at 18:26:21 UTC, solidstate1991 wrote: I don't really see any readily available tutorials for it quickly, but I'm willing to add one to the official Wiki. Official Wiki is busted :P In Discord we are collecting all links about different topics. We already have D &