Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PeCaN
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
PeCaN
6y ago
To be honest I don't really see people who don't want to learn APL being that interested in putting in the effort to completely upend how they think about programming and algorithms in order to use other array languages, regardles
2.
▲
by
PeCaN
6y ago
If you watch the video it looks like their proposed syntax is not APL-like but closer to mainstream languages. I'm honestly not sure if this is a good thing or not. You said "easier" syntax than APL but APL is honestly a very
3.
▲
by
PeCaN
6y ago
I've been working on something like this on and off for the past 4 years or so, although with something more like generators than streams. I think it's a very, very promising idea (I admit to heavily being biased towards anything
4.
▲
by
PeCaN
6y ago
it's not so much that gcc does anything specific so much as LLVM is just really really inefficient—they don't track compilation time at all so it's easy for releases to regress, half the stuff in there is academics implementi
5.
▲
by
PeCaN
6y ago
that's just because gcc has certain optimization passes that can't be disabled (that said gcc -O0 is still absolutely nothing like what a human would write)
6.
▲
by
PeCaN
6y ago
- it takes some die space sure but no x86 processors are actually limited by instruction decoding (except, iirc, the first generation xeon phi in some cases) - huge pages don't exactly require weird OS hoops although i agree the 4kb→2m
7.
▲
by
PeCaN
6y ago
All the Intel CPUs with RDRAND, although I guess that's not exactly hidden anymore.
8.
▲
by
PeCaN
6y ago
I sort of wonder if this approach to JITing is worth it over just writing a faster interpreter. This is basically like what V8's baseline JIT used to be and they switched to an interpreter without that much of a performance hit (and th
9.
▲
by
PeCaN
6y ago
That's fair. It's definitely not a killer, (or even in my opinion the worst thing about RISC-V,) just another one of these random little annoyances that I'm not really sure why RISC-V doesn't include.
10.
▲
by
PeCaN
6y ago
It's not like someone is proposing some crazy new instruction to do vector math on binary coded decimals while also calculating CRC32 values as a byproduct. It's conditional move. Every ISA I can think of has that.
11.
▲
by
PeCaN
6y ago
>[She] complains Risc-V need 4 instructions to do what x86_64 and arm does in two, but... it says Risc-V. So… what, it should take 5 instructions? Executing more instructions for a (really) common operation doesn't mean an ISA is so
12.
▲
by
PeCaN
6y ago
I'm not sure about this "RISC way" stuff. From a uarch standpoint the RISC vs CISC distinction is moot and from an ISA standpoint the only real quantifiable difference seems to be being a load-store architecture. ISAs without
13.
▲
by
PeCaN
6y ago
ARM has it. DEC Alpha had it (before x86, even). I get that there are a lot of narrow-use instructions but popcount is a pretty well-known and common operation.
14.
▲
by
PeCaN
6y ago
popcount is extremely useful in a lot of algorithms, from RSA to chess engines to sparse arrays and tries it's honestly pretty baffling that RISC-V doesnt have it (perils of design-by-academia)
15.
▲
by
PeCaN
6y ago
Not that. https://en.wikipedia.org/wiki/Threaded_code It's an interpreter implementation technique.
16.
▲
by
PeCaN
6y ago
Ironically enough I feel like IBM is actually an example of a giant company that, against all odds, is somehow still innovating, at least with its POWER CPUs. They're doing really interesting and open-ended things like CAPI and the upc
17.
▲
by
PeCaN
6y ago
how are europoors so consistently butthurt about fucking units of temperature
18.
▲
by
PeCaN
6y ago
I considered multiple selections a bit of a gimmick in sublime text and various emacs/vim extensions but the way it works in kakoune feels completely different. Think about vim (and kakoune) as basically a highly interactive language f
19.
▲
by
PeCaN
6y ago
Humans were actually incapable of abstract thought until hacker news invented it.
20.
▲
by
PeCaN
6y ago
Probably not, since it's optimized for scientific workloads (being designed specifically for the K computer replacement) (so it doesn't have texture units, ROPs, etc; you'd have to do too much in software to make it actually
21.
▲
by
PeCaN
6y ago
I thought I'd seen a rather dramatic benchmark of this but I can't find it now. (I think it was in the context of io_uring, whose documentation mentions that polled IO is much lower latency and I'd trust Jens Axeboe on that o
22.
▲
by
PeCaN
6y ago
I was extremely (I think justifiably) skeptical of async I/O on Linux for the longest time but now I legitimately think with io_uring Linux is actually somehow the gold standard for (1). They really got their act together. io_uring is
23.
▲
by
PeCaN
6y ago
While this is intuitively obvious, it doesn't really always play out that way in practice since interrupts can be expensive to handle. For example polled IO can be significantly lower latency than waiting for interrupts.
24.
▲
by
PeCaN
6y ago
I emailed QNX a couple years ago about hobbyist or non-commercial licenses and they replied that they no longer offer them.
25.
▲
by
PeCaN
6y ago
You can find QNX 6.5 and suitable license keys by digging around on the web a bit. 6.5 is probably the last version suitable for use as a desktop OS—I believe 6.6 is where they started to remove the ability to self-host, and the GUI was com
26.
▲
by
PeCaN
6y ago
It's actually the exact opposite of fuzzing; with symbolic execution you aim to prove, symbolically, that all possible code paths have some desired behavior (e.g. not crashing,). With fuzzing you just try code paths (guided) randomly a
27.
▲
by
PeCaN
6y ago
Suggest an alternative to… saying something dumb? …What?
28.
▲
by
PeCaN
6y ago
What the fuck It's kind of funny to me though that there's an actual language out there where you can do use-after-free and all sorts of other C-level stuff but can't use tabs.
29.
▲
by
PeCaN
6y ago
Nuclear is the only power source that's good for the environment even when it fails disastrously :-P
30.
▲
by
PeCaN
6y ago
I don't think "coronavirus escapes from a lab, in the exact area where the outbreak started, that was studying coronaviruses" is exactly an 'extraordinary claim'. If anything it's the elephant in the room. Are
More ›