www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Next C compiler is a D compiler: Introducing DMD's ImportC

reply Walter Bright <newshound2 digitalmars.com> writes:
https://briancallahan.net/blog/20220704.html

Also in HackerNews' "new" section:

https://news.ycombinator.com/newest

currently at position 31.
Nov 02 2022
parent reply Brian Callahan <bcallah openbsd.org> writes:
On Wednesday, 2 November 2022 at 22:46:46 UTC, Walter Bright 
wrote:
 https://briancallahan.net/blog/20220704.html

 Also in HackerNews' "new" section:

 https://news.ycombinator.com/newest

 currently at position 31.
Thanks Walter. Not so new though I don't think. I wrote it back ~Brian
Nov 02 2022
next sibling parent reply Sergey <kornburn yandex.ru> writes:
On Thursday, 3 November 2022 at 00:23:34 UTC, Brian Callahan 
wrote:
 On Wednesday, 2 November 2022 at 22:46:46 UTC, Walter Bright 
 wrote:
 https://briancallahan.net/blog/20220704.html

 Also in HackerNews' "new" section:

 https://news.ycombinator.com/newest

 currently at position 31.
Thanks Walter. Not so new though I don't think. I wrote it back ~Brian
And compiles C code faster than GCC https://github.com/nordlow/compiler-benchmark/issues/27
Nov 03 2022
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Thursday, 3 November 2022 at 12:24:29 UTC, Sergey wrote:
 On Thursday, 3 November 2022 at 00:23:34 UTC, Brian Callahan 
 wrote:
 On Wednesday, 2 November 2022 at 22:46:46 UTC, Walter Bright 
 wrote:
 https://briancallahan.net/blog/20220704.html

 Also in HackerNews' "new" section:

 https://news.ycombinator.com/newest

 currently at position 31.
Thanks Walter. Not so new though I don't think. I wrote it ~Brian
And compiles C code faster than GCC https://github.com/nordlow/compiler-benchmark/issues/27
What?! How can it be so much faster?
Nov 03 2022
next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Thursday, 3 November 2022 at 17:30:06 UTC, Imperatorn wrote:
 On Thursday, 3 November 2022 at 12:24:29 UTC, Sergey wrote:
 On Thursday, 3 November 2022 at 00:23:34 UTC, Brian Callahan 
 wrote:
 On Wednesday, 2 November 2022 at 22:46:46 UTC, Walter Bright 
 wrote:
 https://briancallahan.net/blog/20220704.html

 Also in HackerNews' "new" section:

 https://news.ycombinator.com/newest

 currently at position 31.
Thanks Walter. Not so new though I don't think. I wrote it ~Brian
And compiles C code faster than GCC https://github.com/nordlow/compiler-benchmark/issues/27
What?! How can it be so much faster?
Oh I see now. Would be great if they could be compared fairly.
Nov 03 2022
prev sibling parent reply Sergey <kornburn yandex.ru> writes:
On Thursday, 3 November 2022 at 17:30:06 UTC, Imperatorn wrote:
 On Thursday, 3 November 2022 at 12:24:29 UTC, Sergey wrote:

 What?!

 How can it be so much faster?
In the original repository tcc is even faster - check the final conclusion in Readme. I think GCC and LLVM have a lot of optimizations inside. To do them, probably they have to parse code with some extra logic and internal magic.
Nov 03 2022
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Thursday, 3 November 2022 at 17:37:26 UTC, Sergey wrote:
 On Thursday, 3 November 2022 at 17:30:06 UTC, Imperatorn wrote:
 On Thursday, 3 November 2022 at 12:24:29 UTC, Sergey wrote:

 What?!

 How can it be so much faster?
In the original repository tcc is even faster - check the final conclusion in Readme. I think GCC and LLVM have a lot of optimizations inside. To do them, probably they have to parse code with some extra logic and internal magic.
Yeah I saw it later, I didn't read carefully enough
Nov 03 2022
prev sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 11/2/2022 5:23 PM, Brian Callahan wrote:
 Thanks Walter. Not so new though I don't think. I wrote it back in July. Seems 

It's still new enough. In the future, let us know about blog posts so one of us can submit them to HN. (HN frowns on the author submitting them.)
Nov 03 2022
next sibling parent zjh <fqbqrr 163.com> writes:
On Friday, 4 November 2022 at 00:57:30 UTC, Walter Bright wrote:

 It's still new enough. In the future, let us know about blog 
 posts so one of us can submit them to HN. (HN frowns on the 
 author submitting them.)
In fact, we can have an `excellent article` section on the forum. `Copy and paste` the excellent article links to it. At the same time, adding the `tag` filtering for good indexing ,everything in forum .no need other websites.
Nov 03 2022
prev sibling parent reply Brian Callahan <bcallah openbsd.org> writes:
On Friday, 4 November 2022 at 00:57:30 UTC, Walter Bright wrote:
 On 11/2/2022 5:23 PM, Brian Callahan wrote:
 Thanks Walter. Not so new though I don't think. I wrote it 

It's still new enough. In the future, let us know about blog posts so one of us can submit them to HN. (HN frowns on the author submitting them.)
I don't have an HN account, so I can never submit anything whether it's mine or not. I'll make more noise here in the future. ~Brian
Nov 05 2022
next sibling parent Paulo Pinto <pjmlp progtools.org> writes:
On Saturday, 5 November 2022 at 14:58:57 UTC, Brian Callahan 
wrote:
 On Friday, 4 November 2022 at 00:57:30 UTC, Walter Bright wrote:
 On 11/2/2022 5:23 PM, Brian Callahan wrote:
 Thanks Walter. Not so new though I don't think. I wrote it 

It's still new enough. In the future, let us know about blog posts so one of us can submit them to HN. (HN frowns on the author submitting them.)
I don't have an HN account, so I can never submit anything whether it's mine or not. I'll make more noise here in the future. ~Brian
Just let us know, I will gladly submit it.
Nov 05 2022
prev sibling parent Steven Schveighoffer <schveiguy gmail.com> writes:
On 11/5/22 10:58 AM, Brian Callahan wrote:

 I don't have an HN account, so I can never submit anything whether it's 
 mine or not. I'll make more noise here in the future.
I could have sworn it was announced here already. I don't know where I read about it being posted, maybe on discord? In any case, yeah, just post here, things posted here usually make their way to reddit and HN. -Steve
Nov 05 2022