Re: D as a Better C

2017-08-29 Thread Parke via Digitalmars-d-announce
On Tue, Aug 29, 2017 at 7:19 PM, Michael V. Franklin via Digitalmars-d-announce wrote: > For example, the following is the most minimal "Hello World" I can make with > D that does not require the -betterC switch, and does not use the official D > runtime.

Re: D as a Better C

2017-08-29 Thread Parke via Digitalmars-d-announce
> On Monday, 28 August 2017 at 22:45:01 UTC, Parke wrote: >> When I write "hello world" in C, the executable is 8,519 bytes. >> When I write "hello world" in D, the executable is 100 times larger: >> 865,179 bytes. On Tue, Aug 29, 2017 at 8:26 AM, Kagamin via Digitalmars-d-announce

Re: D as a Better C

2017-08-28 Thread Parke via Digitalmars-d-announce
> On Friday, 25 August 2017 at 18:08:06 UTC, Parke wrote: >> Is there any documentation on how to access and use the minimal runtime? On Mon, Aug 28, 2017 at 5:22 AM, Kagamin via Digitalmars-d-announce wrote: > Runtime implements language features like

Re: D as a Better C

2017-08-25 Thread Parke via Digitalmars-d-announce
> On Thursday, 24 August 2017 at 19:09:58 UTC, Parke wrote: >> What is "intermediate D"? On Fri, Aug 25, 2017 at 1:54 AM, Kagamin via Digitalmars-d-announce wrote: > D with minimal runtime. Is there any documentation on how to access and use the minimal

Re: D as a Better C

2017-08-24 Thread Parke via Digitalmars-d-announce
On Wed, Aug 23, 2017 at 10:17 AM, Kagamin via Digitalmars-d-announce wrote: > Not a better C, but intermediate D has small footprint for me too. What is "intermediate D"? -Parke > 7.5kb totext.exe (encodes stdin to base64 and writes to stdout) - wrote it >

Question about Walter's Memory DisAllocation pattern

2015-06-26 Thread Parke via Digitalmars-d
Hi, I have a question about Walter's DConf keynote and the Memory DisAllocation pattern. http://dconf.org/2015/talks/bright.html The following example is from the slides of Walter's talk. auto toString(uint u) { static struct Result { this(uint u) { idx = buf.length; do

Re: Interrogative: What's a good blog title?

2015-04-28 Thread Parke via Digitalmars-d
On Tue, Apr 28, 2015 at 2:58 AM, Abdulhaq via Digitalmars-d digitalmars-d@puremagic.com wrote: If it's about D and language development then how about Deconstructed. Or The D Constructor -Parke

Re: D vs nim

2015-04-21 Thread Parke via Digitalmars-d
On Mon, 2015-04-20 at 13:05 -0700, Parke via Digitalmars-d wrote: Nim includes an install.sh script. It worked for me. On Tue, Apr 21, 2015 at 1:28 AM, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: install.sh calls koch, both of these are created by running build.sh

Re: D vs nim

2015-04-20 Thread Parke via Digitalmars-d
On Mon, Apr 20, 2015 at 2:21 AM, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: I like the Nim concept and approach, but there is an annoying attitude towards certain types of obvious bug. My current bugbear (!) is that the installer will not install, due to what seems like

Re: is eC alot like D?

2015-03-11 Thread Parke via Digitalmars-d-learn
On Wed, 11 Mar 2015 06:22:32 +, sclytrack wrote: - You can include C library headers directly in your .ec code, without any special keyword (like extern C in C++) On Wed, Mar 11, 2015 at 1:59 AM, ketmar via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: either i missed

Typo in DIP25 ?

2015-02-27 Thread Parke via Digitalmars-d
Hi, In DIP25, what is the meaning of pairing an open parenthesis with a closing curly brace? Is this a typo? From Dec 28, 2014: http://wiki.dlang.org/?title=DIP25oldid=5279#In_a_nutshell ref int fun(ref int a} { return a; } // ERROR ref int fun(ref inout int a} { return a; } // FINE From