Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Validark
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
Validark
7mo ago
Awesome algorithm and thank you for donating it to open source!
32.
▲
by
Validark
7mo ago
This article is a complete waste of time. It reads like a children's story or a marketing announcement but it's not actually saying anything meaningful or making any technical point beyond just stating "If we use vectors then
33.
▲
by
Validark
8mo ago
We're talking about fallthrough happening by default or not by default. You could call it a "map" construct or a "choose" statement for all I care. Whether or not you have to write the "case" keyword 10 ti
34.
▲
by
Validark
8mo ago
> Swift doesn’t have a match statement or expression. It has a switch statement that developers are already familiar with. Except this switch statement is actually not a switch statement at all. It’s an expression. It doesn’t “fallthroug
35.
▲
by
Validark
9mo ago
https://validark.dev
36.
▲
by
Validark
9mo ago
Why did you restrict yourself to mobile development only?
37.
▲
by
Validark
9mo ago
It might have more value than you think. If you look up SCEV in LLVM you'll see it's primarily used for analysis and it enables other optimizations outside of math loops that, by themselves, probably don't show up very often.
38.
▲
by
Validark
9mo ago
What's actually way cooler about this is that it's generic. Anybody could pattern match the "sum of a finite integer sequence" but the fact that it's general purpose is really awesome.
39.
▲
by
Validark
10mo ago
"we wouldn’t even need to bother looking at the AI-generated code any more, just like we don’t bother looking at the machine code generated by a compiler." 2020: I don't care how it performs 2030: I don't care why it per
40.
▲
by
Validark
11mo ago
I liked the article, but I found the random remark about RISC vs CISC to be very similar to what the author is complaining about. The difference between the Apple M series and AMD's Zen series is NOT a RISC vs CISC issue. In fact, many
41.
▲
by
Validark
11mo ago
I hate the idea of having one "Software Discipline". Something is lost when people are constrained by OOP or TDD or "Clean Code". Obviously, as with the example of TDD in the article, a lot of these terms mean different
42.
▲
by
Validark
1y ago
I don't remember so much of it now, but as a kid I did a History project on this where I went to the local state University and read all the references in the archives related to Celluloid and other names it went by. A really interesti
43.
▲
by
Validark
1y ago
According to Wikipedia, Alexander Parkes created the first celluloid (later called "Parkesine") on purpose in 1855 (as mentioned in the article, Collodion already existed and, when dried, created a celluloid-like film). John Wesle
44.
▲
by
Validark
1y ago
"Safety" is always important, and you can write safe software in Zig.
45.
▲
by
Validark
1y ago
Andrew wrote ONE SENTENCE and that's enough for you to diagnose him? That's enough for you to identify a pattern of behavior? Really? He's "polishing a pig"? He's hiding "all issues" with Zig in inter
46.
▲
by
Validark
1y ago
Intermernet said, "Posting critical blog posts [...] is counter-productive." You said, "anybody [...] can write whatever they want". "They are under zero obligation ...". "Members of the Zig project are fr
47.
▲
by
Validark
1y ago
Andrew may be expressing frustration or dismay or annoyance in that statement, but he is not definitively "painting them as bad actors trying to sabotage the language". You are HEAVILY reading into his statement. He only said he w
48.
▲
by
Validark
1y ago
I would be interested in more examples where "assembly is faster than intrinsics". I.e., when the compiler screws up. I generally write Zig code with the expectation of a specific sequence of instructions being emitted, and I usua
49.
▲
by
Validark
1y ago
You're supposed to say, "Not today, CIA" "Nice try, FBI" "Nice attempt at obscurity, Department of Homeland Security"
50.
▲
by
Validark
1y ago
Apple can't do whatever they want. They are subject to consumers through market choices and through government legislation. When one company has a monopoly, e.g. when almost every kid at school has an iPhone, that company needs to be r
51.
▲
by
Validark
1y ago
Of course I think Apple should be compensated for their services. But the idea that software businesses should have to pay 30% of their income to Apple is insanity. How are they meaningfully contributing to every sale? Should I have to pay
52.
▲
by
Validark
1y ago
Personally, I would like compilers to better exploit vectorization, which can get you 2x to 10x faster on random things within typical workloads, rather than worry about dubious optimizations that have performance improvements that may or m
53.
▲
by
Validark
1y ago
Ahhhhhh!!!!!!!!!!!
54.
▲
by
Validark
1y ago
I'm still stuck on the whole 30% tax. How is that considered even remotely reasonable?
55.
▲
by
Validark
1y ago
It's hot out there, fr fr
56.
▲
by
Validark
1y ago
https://zaunkoenig.co/m3k 24 grams. You won't even feel the weight of it.
57.
▲
by
Validark
1y ago
Oh, yes, I understand now. I've thought to myself before it would be nice if I could have implementation 1 go into variable x. And implementation 2 go into variable y. Then I do `assert(x == y)` and a compiler like Cranelift should kno
58.
▲
by
Validark
1y ago
A lot of people have ways of accomplishing this, but my way is using compile-time execution in Zig (I know at least D, C++, and Terra have their own versions of this feature). You can specify a parameter as `comptime` and then do different
59.
▲
by
Validark
1y ago
"Register pressure is even worse because that is only a problem because of the ISA, not the microarchitecture." I'm not so sure. How many cycles would you expect this code to take? mov dword [rsi], eax add dword [rsi],
60.
▲
by
Validark
1y ago
Classic Matu3ba, at it again, coaxing me down new rabbit holes. Hahaha. I hope you know I became a SWAR wizard for you. That video is very interesting to me. I don't yet know enough about all those languages to speak intelligently on h
More ›