3 ms·
Converting code can be challenging. The cake code has been successfully converted. null-checks are not ready, and something similar already happened to c#. The
by thradams 3y ago
Converting code can be challenging. The cake code has been successfully converted. null-checks are not ready, and something similar already happened to c#.
The experience is similar to changing a header file to use a const argument where previously the argument was non-const. This change will propagate everywhere.
I also think a similar experience is converting JavaScript to typescript.
The type system will complain before it stabilizes.
- pizlonator 3y agoHave you made OpenSSL, or something big like that, completely memory safe this way? As in, running nothing but memory-safety-ified C code down to the syscall boundary?
- thradams 3y agoThe ownership checks are new in Cake, less than one year. So the answer is no, just cake is using. And there is a lot of work to do..in flow analysis etc. The cake source itself is moving to another experimental feature that is nullable types. Similar of C# https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references https://learn.microsoft.com/en-us/dotnet/csharp/nullable-ref...