Jump to page: 1 2
Thread overview
DasBetterC: Converting make.c to D
Jun 11, 2018
Mike Parker
Jun 11, 2018
Andrea Fontana
Jun 11, 2018
Mike Parker
Jun 11, 2018
Andrea Fontana
Jun 11, 2018
bauss
Jun 11, 2018
rikki cattermole
Jun 11, 2018
Bastiaan Veelo
Jun 11, 2018
Walter Bright
Jun 12, 2018
Walter Bright
Jun 12, 2018
biocyberman
Jun 12, 2018
Walter Bright
Jun 12, 2018
Kagamin
Jun 12, 2018
Joakim
June 11, 2018
Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.

The blog:
https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/

Reddit:
https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/
June 11, 2018
On Monday, 11 June 2018 at 14:21:20 UTC, Mike Parker wrote:
> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
>
> The blog:
> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
>
> Reddit:
> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/

Link to "completed conversion" doesn't work.
https://github.com/DigitalMars/Compiler/blob/master/dm/src/make/make.c

Andrea
June 11, 2018
On Monday, 11 June 2018 at 14:33:00 UTC, Andrea Fontana wrote:

>
> Link to "completed conversion" doesn't work.
> https://github.com/DigitalMars/Compiler/blob/master/dm/src/make/make.c
>
> Andrea

Fixed. Thanks!
June 11, 2018
On Monday, 11 June 2018 at 14:21:20 UTC, Mike Parker wrote:
> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
>
> The blog:
> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
>
> Reddit:
> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/

It seems that blog page is returned correctly by server but status is 404.

Andrea
June 11, 2018
On 6/11/18 10:21 AM, Mike Parker wrote:
> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
> 
> The blog:
> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
> 
> Reddit:
> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/ 
> 

"static if can replace cmany uses of #if"

cmany => many

-Steve
June 12, 2018
On 12/06/2018 2:57 AM, Steven Schveighoffer wrote:
> On 6/11/18 10:21 AM, Mike Parker wrote:
>> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
>>
>> The blog:
>> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
>>
>> Reddit:
>> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/ 
>>
> 
> "static if can replace cmany uses of #if"
> 
> cmany => many
> 
> -Steve

"(See the dcoumentation"
"make manual pagewhen"
June 11, 2018
On Monday, 11 June 2018 at 14:52:13 UTC, Andrea Fontana wrote:
> On Monday, 11 June 2018 at 14:21:20 UTC, Mike Parker wrote:
>> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
>>
>> The blog:
>> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
>>
>> Reddit:
>> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/
>
> It seems that blog page is returned correctly by server but status is 404.
>
> Andrea

I noticed that too

June 11, 2018
On Monday, 11 June 2018 at 15:44:47 UTC, rikki cattermole wrote:
> On 12/06/2018 2:57 AM, Steven Schveighoffer wrote:
>> On 6/11/18 10:21 AM, Mike Parker wrote:
>>> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
>>>
>>> The blog:
>>> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
>>>
>>> Reddit:
>>> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/
>>>
>> 
>> "static if can replace cmany uses of #if"
>> 
>> cmany => many
>> 
>> -Steve
>
> "(See the dcoumentation"
> "make manual pagewhen"

"The #include files are replaced" <tt> font includes too many words.

Nice read, I see translating to D is trending.
June 11, 2018
On 6/11/2018 7:21 AM, Mike Parker wrote:
> Walter's latest post on -betterC is now on the blog. Here, he shows step-by-step an example of using -betterC to convert a real-world program, one small enough to describe in a blog post, from C to D.
> 
> The blog:
> https://dlang.org/blog/2018/06/11/dasbetterc-converting-make-c-to-d/
> 
> Reddit:
> https://www.reddit.com/r/programming/comments/8q9u5t/dasbetterc_converting_makec_to_d/ 
> 

It's on the second page of Hacker News too.

https://news.ycombinator.com
June 12, 2018
Direct link:

https://news.ycombinator.com/item?id=17284350\
« First   ‹ Prev
1 2