Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 11, 2018 DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrea Fontana | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrea Fontana | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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 Re: DasBetterC: Converting make.c to D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Direct link: https://news.ycombinator.com/item?id=17284350\ |
Copyright © 1999-2021 by the D Language Foundation