News for hackers. Stuff that matters.
Re:Show HN: Nue – Apps lighter than a React button by tossandthrow on Tuesday April 01, 2025 @10:39AM (#43547327)
That is not right, When you compile to binaries, you do type erasure in CPP, som of the stuff can not be reconstructed or inferred, especially when using o flags.

JS -> TS is easy, you just re-anotate with `: any` everywhere.

Anyways, you are word juggling now.

Re:Show HN: Nue – Apps lighter than a React button by Nijikokun on Tuesday April 01, 2025 @03:36PM (#43550586)
Type definitions are definitely compiled with CPP. Type erasure only happens with polymorphism types. You can actually view the types with ghidra.