HNHacker News
TopNewBestAskShowJobs

kobebrookskC3

84 karma · joined April 15, 2021

submissionscomments
kobebrookskC3··on Why the C Language Will Never Stop You from Making Mistakes
do you know if anyone has used frama-c to verify properties as "deep" as those done by seL4, like functional correctness and integrity, rather than a "shallower" property like memory safety or absence of crashes?
kobebrookskC3··on Why Is C Faster Than Java (2009)
of course, with unverified code, "completed" means absence of evidence of bugs, not evidence of absence.
kobebrookskC3··on Why Is C Faster Than Java (2009)
if ur fine with writing 4 lines of code a day from an expert...i guess
kobebrookskC3··on Why Is C Faster Than Java (2009)
afaik, the c is handwritten for performance reasons, and is manually proven to be a refinement of the executable haskell model. the haskell is then proven to be a refinement of an abstract, more succinct spec.
kobebrookskC3··on Does the Bronze Garbage Collector Make Rust Easier to Use?
unfortunately, it's unsound https://github.com/mcoblenz/Bronze/issues/2
kobebrookskC3··on Titanpointe: The NSA’s spy hub in New York, hidden in plain sight (2016)
how about an actual computer services shop as a front?
kobebrookskC3··on Stop Whining about Rust Hype – A Pro-Rust Rant
the worst part is that testing might give something that is reliable against non-malicious inputs, and then explode given malicious ones. actually, that's not the worst part. the worst part is when nothing seems to occur on a malicious input, but actually rce is occurring https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-i....
kobebrookskC3··on Stop Whining about Rust Hype – A Pro-Rust Rant
i eagerly await the day when chrome realizes their current situation of being written in a memory unsafe language is untenable. it seems like they're still in denial, but they're slowly realizing https://docs.google.com/document/u/1/d/e/2PACX-1vSt2VB1zQAJ6...
kobebrookskC3··on Stop Whining about Rust Hype – A Pro-Rust Rant
is that saying anything if microsoft is basically eternal? what, you think the company that makes excel and windows is gonna go out of business any time soon?
kobebrookskC3··on Stop Whining about Rust Hype – A Pro-Rust Rant
if there was a production-grade memory-safe language with similar performance, i would also advocate for it. it's less that rust is good, and that memory unsafety is bad.
kobebrookskC3··on Stop Whining about Rust Hype – A Pro-Rust Rant
let's check out https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-i..., which has probably been used to enable "crimes against humanity". integer overflow results in undersized allocation which is indexed out of bounds. if c++ had either overflow checks or bounds checking as the default, how likely is this bug to happen?
kobebrookskC3··on Stop Whining about Rust Hype – A Pro-Rust Rant
it's more like being written in a memory-unsafe language is an anti-feature.
kobebrookskC3··on Why Not Rust? (2020)
the trade-offs are probably made to maximize profits for shareholders, and security is deprioritized as a negative externality.
kobebrookskC3··on Why Not Rust? (2020)
no, just clarifying the difference between not encountering bugs and not having them.
kobebrookskC3··on Why Not Rust? (2020)
is your code as actively attacked as a web browser or iOS?
kobebrookskC3··on Why Not Rust? (2020)
> I have spent strictly more time in the last five years filing compiler bugs than chasing memory usage errors in my C++ code.

maybe because your code isn't worth having people actively attack?

kobebrookskC3··on On Hubris and Humility: developing an OS for robustness in Rust [video]
i wouldn't mind C if every program written in it was written to the standard of seL4, but alas, that isn't the case, and usually it's not even close. i'm also quite sure that getting even close to it would make you want to use another language instead.
kobebrookskC3··on This shouldn't have happened: A vulnerability postmortem
why is the "payment processing" software written in c/c++ and not something like java in the first place? i would imagine not needing to care too much about memory would speed up development velocity. was it before java became popular? i can understand the munitions control software possibly running on a constrained device and not needing very sophisticated memory management (cue the old joke about the "ultimate in garbage collection").
kobebrookskC3··on This shouldn't have happened: A vulnerability postmortem
a product can be valuable without being worth attacking, like something that only runs on trusted inputs. the bar for software "worth attacking" for me is that there are people who are paid mainly to find exploits on it, and not just incidentally as a product of development.
kobebrookskC3··on This shouldn't have happened: A vulnerability postmortem
your code probably isn't worth attacking
kobebrookskC3··on This shouldn't have happened: A vulnerability postmortem
idk, many large companies report about 70% of their security issues are due to memory unsafety. reducing your security bugs by a factor of 3 sounds pretty compelling to me...
kobebrookskC3··on This shouldn't have happened: A vulnerability postmortem
when "human error" happens at a much higher rate than the alternatives, it's fair to blame it.
kobebrookskC3··on This shouldn't have happened: A vulnerability postmortem
pretty sure the people who wrote the vulnerable code were experts.
kobebrookskC3··on Why asynchronous Rust doesn't work
feel free to keep writing c, as long as you prove all your code memory safe. i'm gonna take a stab and say writing rust is easier.
kobebrookskC3··on Zig monthly, October 2021: Games, gamedev, Elixir, tools and more
> Rust is trying to solve problems we don't have.

I'm sure you mean negative externalities that your customers aren't equipped to appropriately price.

kobebrookskC3··on Maintain It with Zig
what does zig offer over c/c++ with sanitizers?
kobebrookskC3··on Rust for Linux redux
hey, whaddya know, i just stumbled upon this today https://twitter.com/geofft/status/1132739184060489729
kobebrookskC3··on Rust for Linux redux
how about

https://www.chromium.org/Home/chromium-security/memory-safet...

https://langui.sh/2019/07/23/apple-memory-safety/

these companies apply things like sandboxing and fuzzing to reduce the incidence of memory unsafety bugs, and yet they're finding a majority of their security bugs being memory unsafety. if you can't find memory unsafety in your c++ code, it's because your code isn't worth attacking.

kobebrookskC3··on Rust for Linux redux
for another operating system, we have ~70% of security bugs being memory safety issues (https://www.zdnet.com/article/microsoft-70-percent-of-all-se...). sounds like a decent majority to me.
kobebrookskC3··on Show HN: Wiser – minimal hypervisor boots Linux VM, written in C
yeah, and that license should be revoked if you decide to use a memory unsafe language for code exposed to untrusted input
← PreviousPage 3 of 4Next →