Hard truth
Hard truth
Posted Sep 17, 2025 6:50 UTC (Wed) by Wol (subscriber, #4433)In reply to: Hard truth by NYKevin
Parent article: Comparing Rust to Carbon
Then could you have weak and strong profiles - preferably with a pragma that says which applies to which module?
So a weak pragma will simply check that module, and say "this code does nothing silly, can't vouch for what it calls". A strong pragma would be your Java checked exception - "this code does nothing silly, nor do the routines it calls".
It would take a long time to percolate through, but then places could have a policy that every time you modify code, you apply the weak pragma, make that work, and then see if the strong pragma works too. So it's basically niggling you forward one module at a time?
Cheers,
Wol
Posted Sep 18, 2025 1:55 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link]
First, one needs to migrate to modules for this to be applicable.
Hard truth