13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 7y ago · link · parent
> Would that be a complete silver bullet, tho? Nope.
I don't think anyone would disagree!
> So I agree with you that using a language with C++ isn't exactly "optimal"
Yeah, I think the distinction here is that I don't consider it "suboptimal" I consider it to be an absolute disaster. I would call rust "suboptimal" in that the language contains some soundness holes and the stdlib contains unsafe - issues, but practically still a massive improvement.
comment 7y ago · link · parent
The problem with protecting a C++ codebase like a JS renderer is that the attacker has HUGE amounts of control. They can literally already execute arbitrary code in the renderer, making information leaks and other techniques much easier. ASLR was never intended to protect against an attacker with such a level of control.
comment 7y ago · link · parent
What's even worse is that Go code is not (outside of Linux/ some distros) compiled with ASLR.
comment 7y ago · link · parent
comment 7y ago · link · parent
ES is the current free text search engine out there, and it's famously painful to manage. Resource consumption and GC pain can be really significant.
I see 'rust' and I know immediately that at least some pains I've experienced will be eliminated.
comment 7y ago · link · parent
The obvious, no two sides about it problem right now is discrimination.
comment 7y ago · link · parent
https://github.com/jonhoo/rust-imap
I did not contribute to that library, but it's nice to see a practical implementation. They use the same approach, essentially, as I describe in my blog.
comment 7y ago · link · parent
I think Dart is, in fact, an excellent example of how much power Google is willing to throw behind a language. Dart was constantly marketed on the Chrome blog, for example.
comment 7y ago · link · parent
No language has usurped Javascript for frontend, and the only two approaches that may work are:
a) Typescript, which intends to be very close to javascript
b) Webassembly, which has taken years to get off the ground
Go didn't have that problem to contend with. I don't think it's fair to say that because Dart failed to take off quickly that proves that Google isn't the main reason for Go's success.
edit: I see lots of "Dart is a counterexample" posts. It really shouldn't be considered one.
comment 7y ago · link · parent
Curious if anyone in a DS role has tried it out. I'm certainly tempted to try it out, I'm sure I'm losing lots of performance in parts of my analytics pipeline due to Python being garbage slow.
comment 7y ago · link · parent
I just think it's crazy to compare that to what Exxon has done.
For example, as you stated:
> In this quote, substitute for "Fossil fuel industry" and "Exxon", "we" and see how well it fits.
And let's try applying that to the quote:
> Our own scientists warned their managers 40 years ago of “potentially catastrophic events”. Yet rather than alerting the public or taking action, we have spent the past few decades pouring millions of dollars into disinformation campaigns designed to delay action.
Uhhhhh no? I have had scientists telling me about global warming, but they were not hired by me, or direct reports of mine. They didn't advise me on how I could steer my business, as it is one of the major contributors to this problem.
I have not spent millions of dollars a year trying to create a culture that questions scientific facts.
It's incomparable.
comment 7y ago · link · parent
> However, Firefox wouldn't exist without Google and (to a lesser extent, Google Chrome).
These are unrelated issues, though. A connection, financial or otherwise, to Google, does not mean that users aren't getting a browser that prioritizes privacy.
comment 7y ago · link · parent
This may interest you. This is probably going to be the 'official' way to get what you're talking about.
comment 7y ago · link · parent
With custom runtimes that's not the case anymore. I write my lambdas in Rust.
Can't stress (7) enough, would also add 'morale' savings. It can be really stressful for developers to deal with gratuitous ops work.