News for hackers. Stuff that matters.
Re:What's new in C# for Godot 4.0 by fuzzy2 on Sunday February 26, 2023 @07:30AM (#34945027)
Not really surprising. JavaScript-the-language is missing lots of features that could be useful, like operator overloading. Or any overloading, really.

Nothing is stopping you from compiling JavaScript though, browsers do it. The lack of static types makes this harder, of course.

Re:What's new in C# for Godot 4.0 by beezlewax on Sunday February 26, 2023 @07:46AM (#34945106)
Suppose you could use typescript and compile that?
Re:What's new in C# for Godot 4.0 by fuzzy2 on Sunday February 26, 2023 @12:40PM (#34947445)
Yes and no. Yes that's possible but no, this is no longer (full) TypeScript. Check AssemblyScript on that topic, it's TS to WASM. Most of the dynamic code stuff isn’t allowed and, of course, there’s a different standard library underneath.