February 12, 2020
On Tuesday, 11 February 2020 at 20:45:26 UTC, Stefan Koch wrote:
> Hi People,
>
> I promised that newCTFE would be released in 2020 and so far it seems like I am going to make it!
>
> The current and hopefully last big feature I am implementing is exception handling.
>
> Recently I've had a breakthrough, because I realized that exception handling is very close to interrupts.
> Since that realization progress is happing rapidly.
>
> I hope to be able to present it at dconf 2020.
>
> Cheers,
>
> Stefan

It'd be awesome to have the new CTFE this year.  Even if that doesn't happen, I'm looking forward to a talk about CTFE at DConf.

Thanks for the work.
February 13, 2020
On Tuesday, 11 February 2020 at 20:45:26 UTC, Stefan Koch wrote:
> (snip)
So awesome!! I've been loosely keeping up on your work on this for the past few years. Amazing to see that you're on the home stretch! NewCTFE is going to be a huge win for the language. Thanks for all the effort!


February 14, 2020
On Tuesday, 11 February 2020 at 20:45:26 UTC, Stefan Koch wrote:
> Hi People,
>
> I promised that newCTFE would be released in 2020 and so far it seems like I am going to make it!
>
> The current and hopefully last big feature I am implementing is exception handling.
>
> Recently I've had a breakthrough, because I realized that exception handling is very close to interrupts.
> Since that realization progress is happing rapidly.
>
> I hope to be able to present it at dconf 2020.
>
> Cheers,
>
> Stefan

Hi Stefan, that's awesome news indeed!

Where can we check your latest version of newCTFE?
Can you (do you have) a open PR, so we can check the relative changes to the rest of dmd?

Would it be possible to start merging smaller parts of your work, in order to avoid having one mega PR that's hard to rebase?

Keep up the good work!

Cheers,
Petar
February 14, 2020
On Tuesday, 11 February 2020 at 20:45:26 UTC, Stefan Koch wrote:
> I promised that newCTFE would be released in 2020 and so far it seems like I am going to make it!
>
> The current and hopefully last big feature I am implementing is exception handling.
>
> Recently I've had a breakthrough, because I realized that exception handling is very close to interrupts.
> Since that realization progress is happing rapidly.
>
> I hope to be able to present it at dconf 2020.

Cool beans :-)  Looking forward to seeing what you present!
February 15, 2020
On Tuesday, 11 February 2020 at 20:45:26 UTC, Stefan Koch wrote:
>
> The current and hopefully last big feature I am implementing is exception handling.
>

Good news!
Throwing and catching exceptions will now behave the same in newCTFE as it does in regular CTFE.

At least in try catch blocks. I am not yet sure if TryFinally Statements work correctly,
I will leave that problem for tomorrow though, since I like to end today's development with the feeling of success.

Huge Thanks go out to my coworker Sevket who helped me a lot by making me talk through the problem and by spotting spelling mistakes early.
You Rock!

Have a good day everyone.
February 16, 2020
On Friday, 14 February 2020 at 08:51:58 UTC, Petar Kirov [ZombineDev] wrote:
>
> Hi Stefan, that's awesome news indeed!
>
> Where can we check your latest version of newCTFE?
> Can you (do you have) a open PR, so we can check the relative changes to the rest of dmd?
>
> Would it be possible to start merging smaller parts of your work, in order to avoid having one mega PR that's hard to rebase?
>
> Keep up the good work!
>
> Cheers,
> Petar


One way to compare the changes is to click this link.
https://github.com/UplinkCoder/dmd/compare/master...UplinkCoder:newCTFE_reboot_20741

However there are still a few garbage files committed which I use for testing (among those is a 16MB file containing prime numbers.)

My last count of relevant files shows that newCTFE will add about 10000 lines of code.
All of which is self contained and does not interact with the rest of dmd.



1 2
Next ›   Last »