Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
p0nce
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
90 ms
·
871.
▲
by
p0nce
10y ago
Yes I think "data race freedom" when I see "thread-safety" (I despise this one term for being so vague). In the punchline, "prevent segfaults" is framed in negative terms. If you put "provides memory safet
872.
▲
by
p0nce
10y ago
Look, it's really really simple. 1/ It says on the tin "prevents segfaults". It does not prevent segfaults in all cases, but OK, let's debate the other claim. 2/ It also says "guarantees thread safety"
873.
▲
by
p0nce
10y ago
I get what you are saying. What strikes me as different in the other frontpages are: the claims are made in terms vague enough to be unassailable.
874.
▲
by
p0nce
10y ago
I don't see an inaccurate statement on the Ruby frontpage: https://www.ruby-lang.org/fr/ edit: I'm just saying "don't lie". I shouldn't have to defend this view point and get downvotes for
875.
▲
by
p0nce
10y ago
Python doesn't market itself by telling it's memory-safe https://www.python.org/ If a language frontpage is inexact I'll assume the rest of the website is inexact, simple as that.
876.
▲
by
p0nce
10y ago
The urge to write something clear and short should not lead to write a false fact. Or at least have asterisks.
877.
▲
by
p0nce
10y ago
I wish the term wouldn't exist. I've measured "zero-cost abstraction" that weren't quite so when profiled. What it really means is "if the inlining goes like the programmer expects, then it should have no cost&
878.
▲
by
p0nce
10y ago
The Rust frontpage is kind of promoting these misunderstandings: https://www.rust-lang.org/en-US/index.html > prevents segfaults Only outside unsafe blocks. > guarantees thread safety. But you just said you can h
879.
▲
by
p0nce
10y ago
> The output of panic will only ever be seen by the programmer. Obviously not if it's used for input errors (network failure). Crashing assertions are made for bugs, not input errors.
880.
▲
by
p0nce
10y ago
> This wasn't something we anticipated up front, but build times have become onerous for us. A build from scratch now falls into the category of "go make coffee and play some ping-pong." Recompiling a couple of changes isn
881.
▲
by
p0nce
10y ago
dub (D build tool) support both of these locations. I can attest stuff gets reused.
882.
▲
by
p0nce
10y ago
> I thought D still required a GC? Not strictly required. You can certainly disable it at the cost of more work (and understanding). Or live with it and reduce its impact as needed.
883.
▲
by
p0nce
10y ago
Another idea: not having pets.
884.
▲
by
p0nce
10y ago
Java definately made the best decision here. Sad that we still have to live with unsigned types and the promotion rules.
885.
▲
by
p0nce
10y ago
OK, I stand corrected then. Sorry for the noise.
886.
▲
by
p0nce
10y ago
My favourite book this year: Thinking Fast and Slow. Well worth the hype.
887.
▲
by
p0nce
10y ago
Yes we have to support nuclear over-production during summer and store it with dams. Yet this winter we'll be under-capacity, lots of reactors are currently shutdown because of maintenance.
888.
▲
by
p0nce
10y ago
> So programming OpenGL, happens to be like trying to write web applications, while trying to make the code portable and bug free (with workarounds) across all graphic cards out there. And it's much harder to test because you have t
889.
▲
by
p0nce
10y ago
> I still have doubts if it is worth it. It is definately worth it to have such ownership. This style was discovered in C++ and made better in Rust. A leaner version of this is the C++11 version, which has std::unique_ptr and raw pointer
890.
▲
by
p0nce
10y ago
Yes it's a serious concern. I was there in the tango split, it was ugly and mean, but the level of communication and understanding is higher this time.
891.
▲
by
p0nce
10y ago
> A C++ program has to be beautiful or it probably wont last long. You can't be serious. A C++ program has difficulty being beautiful because changing anything takes lots of time to compile. C++ subtly trains your brain not to ever
892.
▲
by
p0nce
10y ago
> what are the weak points of D? The weak point is that it has a bad rep despite evidence of being useful, and loved in the field. Perhaps still paying the price of old split of community years ago? As a business I have no problem with D
893.
▲
by
p0nce
10y ago
Not sure why an overall rant post is given this visibility
894.
▲
by
p0nce
10y ago
Of course. https://www.amazon.com/Economics-Software-Quality-Capers-Jon...
895.
▲
by
p0nce
10y ago
Actually it does work there.
896.
▲
by
p0nce
10y ago
Except you can't encrypt with a hash function.
897.
▲
by
p0nce
10y ago
For the time being, nothing beats the polish that went into Sublime Text.
898.
▲
by
p0nce
10y ago
I implemented those for D: https://github.com/d-gamedev-team/gfm/blob/master/integers/g... It's nothing special when you have adhoc templates.
899.
▲
by
p0nce
10y ago
> Being able to switch .iter() to .par_iter() and have things "just work" is a game changer. It's called .parallel() in D, works the same way I guess. It turns a lazy computation chain into a parallel one.
900.
▲
by
p0nce
10y ago
H.265 already has realtime 4kp60 10-bit encoder boxes out there, multiple hardware decoder and encoder IPs. This race started back in 2012 or earlier. Existing chips in consumer devices trounces every H.264 encoder out there: http:/&#
More ›