pandaman
Joined 15 years ago
Joined 15 years ago
No, it's the state law that permits these robots. The operator obtains a permit from the state and as far as I can tell, if there are any costs they are in the permit itself, not in taxes on each unit.
It is the sheer amount of compute and memory bandwidth that mogs a CPU but the parallel processing doesn't help much, at least in realistic 3D: an 8 core AVX-512 march CPU has an order of magnitude more SIMD lanes than something like RSX in PS3 yet it still wouldn't be able to match its performance in rendering textured z-buffered triangles. 3D graphics can really go wide only on wireframe/points, z-buffer forces sequencing between polys so the parallelism there is very limited.
You can get compile-time errors with static code analysis tools with it but the main goal is to direct the compiler towards optimizations for restricted case, IMHO. If you know beforehand the kind of values you are using then the only sure way to let the compiler know is to write code in such a way that the values you don't expect result in UB, which is not always possible or convenient. Contracts allow a regular way to do the same. It does not mean the compiler will use this knowledge but it will remain in your code and might be used eventually.
For example, if you want to align an integral value on x you can write something like ((value + x-1)/x)*x, however, if x is a power of 2 then you can do (value + x-1) & ~x, which is likely faster. As of now, gcc 16 does not do this optimization even with contracts, but if you recorded this in code, some future compiler might do this. Without contracts the chances for this are much lower.
2. Bank sells the debt at $Z because holding the debt is risky and the bank would rather have cash than debt. Its counterparty would rather have more cash over time and is fine with the risk but does not want to bother with the whole process of closing the loan. $X < $Z < $Y.
3. Profit! Bank spent $X to get $Z, which is greater than $X.
1. https://www.federalregister.gov/documents/2007/05/17/E7-9250...
1. https://www.justice.gov/archives/opa/pr/justice-department-s...