Better HN
topnewbestaskshowjobs
Log inSign up

95th

12 karma · joined Oct 28, 2019 (7y ago) · 13 submissions

Submissions

comment 5y ago · link · parent

Remind of bencoding used in torrents

comment 5y ago · link · parent

If it can cause some good amount of time dilation, then send people into future by having them orbit around it.

comment 5y ago · link · parent

What's wrong when amazon?

comment 5y ago · link · parent

What's wrong with Amazon?

comment 6y ago · link · parent

Well there is a middle ground - Rust

comment 6y ago · link · parent

Then what do you propose for replacement? C++ style casts `(int) x` ?

comment 6y ago · link · parent

Well, in Java's defense, at least you don't forget to check the error like you could in Go.

comment 6y ago · link · parent

I like Rust's approach of using `Result` enum

comment 6y ago · link · parent

I guess because they are marketing that their product will have much lesser vulnerabilities (than c/c++) while maintaining performance.

comment 6y ago · link · parent

Yes. But at least 70% bugs will be gone

comment 6y ago · link · parent

I think Deno has the same concept.

comment 6y ago · link · parent

Agree. At work, we have a component written in Pro* C (C + Oracle). It's about 20 years old code. All the original developers are now gone and now we're all Java developers. We had a segfault last month in production. No one was confident in the fix we did because even though we all know C (more or less), no one knew the pitfalls of C. Segfault happened in string formatting which is a very trivial thing to a Java developer. It's not yet rewritten in better language yet not because C is such good language but because rewrites are a pain. But because of the last segfault, the business is now more motivated to have it rewritten in Java.

comment 6y ago · link · parent

Was looking for this.