Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joelfolksy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
joelfolksy
7y ago
It's also fascinating that someone could look at those graphs and say that "Go was faster until batch size was > 16 then C# took over," when Go was barely faster but C# was significantly faster.
32.
▲
by
joelfolksy
7y ago
There would be 20 fewer lines of C?
33.
▲
by
joelfolksy
7y ago
Are we looking at the same charts? Go and C# are practically on top of each other for smaller batch sizes, then C# pulls ahead significantly.
34.
▲
by
joelfolksy
7y ago
> and at a given load, C# isn’t in picture And depending on how you draw the picture, Go might not even be in the bandwidth picture.
35.
▲
by
joelfolksy
7y ago
> avoid a lot of allocation by embedding structs, passing interior pointers, etc I can create a struct and take a ref to an interior field of that struct in C#, can I not? And if I wanted to badly enough, I could use unsafe code and take
36.
▲
by
joelfolksy
7y ago
"However given the amount of boilerplate you describe, I cannot understand how such useful and reliable tools can be delivered in Go." I don't follow your logic. Multitudes of useful and reliable tools were built with assembl
37.
▲
by
joelfolksy
7y ago
The natural solution would be to teach it before loops, yes?
38.
▲
by
joelfolksy
7y ago
I would much rather struggle to interpret a complex expression (monads, partial application) than struggle to simulate a sequence of mutations (that potentially spans the entire object graph).
39.
▲
by
joelfolksy
7y ago
Null reference errors in Java and C are due to The Billion Dollar Mistake, which is a specific deliberate weakening of a static type system. Statically-typed languages that do not commit The Billion Dollar Mistake do not have null reference
40.
▲
by
joelfolksy
7y ago
brainfuck or another esoteric language.
41.
▲
by
joelfolksy
7y ago
"Complexity is contagious - if your language is complex your code tends to be complex." Going from assembly language to Go (increasing language complexity) decreases code complexity. Stated a different way, would removing a feat
42.
▲
by
joelfolksy
7y ago
It's the web. It runs HTML, CSS and JS. Wanting to code your web app in anything else is... I don't know... petulant? Thank god for the petulant, else we would still be foraging for berries. Every language has a different purpo
43.
▲
by
joelfolksy
7y ago
So you admit that he refuted your contention that > A language cannot prevent someone from making stupid mistakes.
44.
▲
by
joelfolksy
7y ago
> On the other hand, the layout model of WPF is a lot easier than mastering html+css Thank you. I've never been able to figure out if web layout is as terrible as it seems, or if I'm just missing something. Once you spend the 2
45.
▲
by
joelfolksy
7y ago
Why do we always let these Go evangelism pieces get away with insinuating that language simplicity is an unalloyed good? If language simplicity (and the resulting "low cognitive overhead") were the primary determinant of productiv
46.
▲
by
joelfolksy
7y ago
The brainfuck quip is a bit more potent when the Go advocate in question has made it clear that they think language simplicity and code simplicity are equivalent. That didn't happen here, but it's tempting to assume that's wh
47.
▲
by
joelfolksy
8y ago
The attitudes of men changed? Women's attitudes wouldn't have to change at all to produce that graph.
48.
▲
by
joelfolksy
8y ago
Yep. America hasn't even started to reckon with the attitudes encapsulated in the n word (no, not that one, the other one).
49.
▲
by
joelfolksy
8y ago
I know. I'm saying that the lichess classical culture probably diverges wildly from the lichess blitz culture.
50.
▲
by
joelfolksy
8y ago
I'm just a single data point, although I've seen others complain about it online. I would love it if the major sites would release stats on this. As frustrating as it can be, especially in bullet, I'm more curious than anythi
51.
▲
by
joelfolksy
8y ago
That's pretty cool, but it's probably best to think of classical as a whole different game/community that happens to be accessible from the same homepage.
52.
▲
by
joelfolksy
8y ago
Indeed. Pity the culture is so... unfriendly? Rematches are basically non-existent - even in bullet! It's bizarre, and I have to assume it's going to limit the site's growth.
53.
▲
by
joelfolksy
8y ago
FYI, async/await (a promise type + async function decoration + await expressions) was actually invented by C#. It was designed to operate seamlessly with .NET's concurrency framework, the TPL, which uses a thread pool. So it was a
54.
▲
by
joelfolksy
8y ago
"There are two kinds of men: the ones complained about by their wives, and the ones who are single" - Me, before sleeping on the couch
55.
▲
by
joelfolksy
8y ago
So in the world you're describing, pretty much all languages are "good," and none are "perfect." Not very interesting so far. What are the adjectives that fall in the middle, the ones that some languages deserve and