▲ | b_e_n_t_o_n 14 hours ago | ||||||||||||||||
node main.js just runs the code. you could simply not run tsc, which plenty of people do. can you ignore all type errors in Rust? | |||||||||||||||||
▲ | IshKebab 12 hours ago | parent | next [-] | ||||||||||||||||
You can ignore the borrow checker at least by using mrustc. And some type checks at least could be optional. The fact that they aren't isn't really a fundamental property of Rust, it's just because it's easy to make them not optional. In my experience nobody writes Typescript without checking the types. Unlike Python for example where it's not uncommon to have broken types. (And it's way more of a mess in general.) | |||||||||||||||||
▲ | umanwizard 11 hours ago | parent | prev | next [-] | ||||||||||||||||
If you don’t run tsc you are not really using typescript. | |||||||||||||||||
▲ | nevir 14 hours ago | parent | prev | next [-] | ||||||||||||||||
The Rust equivalent is more like using `unsafe` and derefing raw pointers | |||||||||||||||||
| |||||||||||||||||
▲ | 14 hours ago | parent | prev [-] | ||||||||||||||||
[deleted] |