HackerTrans
TopNewTrendsCommentsPastAskShowJobs

clarus

no profile record

Submissions

Extracting verified C++ from the Rocq theorem prover at Bloomberg

bloomberg.github.io
129 points·by clarus·6 mesi fa·39 comments

comments

clarus
·4 mesi fa·discuss
The solution for this might be to add a ME.md in addition to AGENT.md so that it can learn and write down our character, to know if a question is implicitly a command for example.
clarus
·6 mesi fa·discuss
What should be added, I think, to code reviewing is that it can get really complex, for example if we add formal verification in the mix to catch very subtle bugs.

So in the end I think there will still be some disappointment, as one would expect it should be fully automated and only about reading the code, like this article suggests. In reality, I think it is harder than writing code.
clarus
·6 mesi fa·discuss
A new extraction system from Rocq to functional-style, memory-safe, thread-safe, readable, valid, performant, and modern C++.

Interestingly, this can be integrated into production system to quickly formally verify critical components while being fully compatible with the existing Bloomberg's C++ codebase.
clarus
·2 anni fa·discuss
There are RISC-V based zero-knowledge virtual machines, to which a GCC version can be compiled. So this should be possible, although probably very slow, maybe a thousand times slower than a normal GCC execution.
clarus
·4 anni fa·discuss
I do not think uranium is that expensive, compared to the price of a nuclear reactor itself or other energy sources. I advise to look at wars actually occurring for the control of oil and gas (see country like the US).