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:
On 6/12/2018 3:35 AM, biocyberman wrote:
On Tuesday, 12 June 2018 at 08:42:51 UTC, Walter Bright wrote:
Direct link:
https://news.ycombinator.com/item?id=17284350\
I tried compiling 'make' for fun, but failed. Is the source on github outdated?
You can see the errors here:
What I had with actually modern C:
1) narrowing conversions
2) not only arrays decay to pointers, C happily allows the
opposite too, eww
3) looks like C code loves to have function arguments named `in`
and `out`
Also difficulties with transpiling to C don't look that big:
errno is the first
On Tuesday, 12 June 2018 at 08:42:51 UTC, Walter Bright wrote:
Direct link:
https://news.ycombinator.com/item?id=17284350\
I tried compiling 'make' for fun, but failed. Is the source on
github outdated? You can see the errors here:
https://github.com/DigitalMars/Compiler/issues/5
Direct link:
https://news.ycombinator.com/item?id=17284350\
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:
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
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
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.
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:
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:
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!
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:
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:
14 matches
Mail list logo