Thiago Adams
thradams@social.vivaldi.net
<p>Software engineer interested in C/C++, compilers, IOT, Raspberry Pi, SCADA, WEB Technologies, physics, Math</p><p>See also<br />cakecc.org</p>
Posts
-
View post
Report unused macros, enumerators and functions. https://youtu.be/W7eTBPthosI (Not added types yet because I am not sure what criteria to use)
-
View post
Git integration in Cake IDE
-
View post
Cake reports usage of uninitialized variables. http://cakecc.org/playground.html?code=I3ByYWdtYSBzYWZldHkgZW5hYmxlCgppbnQgbWFpbihpbnQgYXJnYywgY2hhcioqIGFyZ3YpCnsKICAgIGludCB4OwogICAgaW50IHk7CiAgICB4ID0gMjsKICAgIGlmIChhcmdjID4gMSkKICAgICAgICB5ID0gMjM7ICAgIAogICAgcmV0dXJuIHggKyB5Owp9&to=-2&options= In C, local variables like T x; are always uninitiated does matter the type T. Uniform and simple.
-
View post
New warning in cake.. pointed object can be const. http://cakecc.org/playground.html?code=I2luY2x1ZGUgPHN0ZGlvLmg%2BCgpzdHJ1Y3QgUG9pbnQgewogICAgaW50IHg7CiAgICBpbnQgeTsKfTsKCnZvaWQgcHJpbnRfcG9pbnQoc3RydWN0IFBvaW50ICpjb25zdCBwKQp7CiAgICBwcmludGYoIiVkLCAlZFxuIiwgcC0%2BeCwgcC0%2BeSk7Cn0KCmludCBtYWluKHZvaWQpCnsKICAgIHN0cnVjdCBQb2ludCBwb2ludCA9IHsxLCAyfTsKICAgIHByaW50X3BvaW50KCZwb2ludCk7Cn0K&to=-2&options=
-
View post
https://youtu.be/fi6csDXvve0?is=6_RoOdvHVd-8BArH (Talks about nullable and other things)
-
View post
The Cake IDE Is Now Available for Testing https://github.com/thradams/cake
-
View post
Microsoft Sarif extension for Visual Studio is too slow and freezes IDE.
-
View post
I am creating the perfect tool for warning review/removal.
-
View post
cake warnings on its own source
-
View post
diagnostic view
-
View post
there is a bug in this code.
- View post
-
View post
&quot;if not&quot; in C. #include &lt;stdio.h&gt; #define not(X) (0) {} else if (!(X)) int main() { _Bool active = false; if not (active) { printf(&quot;not active\n&quot;); } else { printf(&quot;active\n&quot;); } } edit: also #define not(X) (1) if (!(X))
-
View post
This is the computer model where I wrote my first program in BASIC (It was an extra class at school. I guess the year was 1991)
-
View post
If you want to dismantle a team/company, migrate or create new software in a different language. Teams will compete and hate each other. I think rewriting parts of Linux or Windows in Rust is a recipe for long term disaster.
-
View post
I am writing a new flow algorithm for Cake. This will take a long time. When we know the journey will be long, we need to prepare first. So, I am also creating a static debugger where I can hover the mouse over an object and inspect what we know about it.
-
View post
To avoid problems unrelated to programming, I made the simplest Hello World in Node.js + TypeScript. The only thing I use is the filesystem module. Surprisingly, it stopped working. Then I asked AI to fix the problem.
-
View post
disabling it again ...