Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PeCaN
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
PeCaN
7y ago
>It'd be fun to throw together a modern CISC-V or something that does a better job than x86 from an instruction encoding efficiency perspective, and see how it stacks up against modern RISCs. It'd probably be about the same sin
62.
▲
by
PeCaN
7y ago
> There isn't anything about Itanium that makes it worse for mobile. Shit code density?
63.
▲
by
PeCaN
7y ago
Note that this is to make Haskell more readable to non-Haskell programmers (which is a bit of a weird goal IMO). It is not for readable Haskell in general. Advice like "not using $" just makes code less readable if you're
64.
▲
by
PeCaN
7y ago
How'd you find a VMS job anyway?
65.
▲
by
PeCaN
7y ago
a lot of programming fonts have ligatures for this
66.
▲
by
PeCaN
7y ago
so that not too many things get hashed to the same location. that's kind of the entire point, you want hashes to be distributed equally among the entire array to minimize collisions.
67.
▲
by
PeCaN
7y ago
For the record I think the specific example from the OP is rather silly and of course never an optimization on x86(_64), but I'd never pass up a chance to talk about more fun architectures ;-)
68.
▲
by
PeCaN
7y ago
It's possible, if unlikely, that a compiler targeting the DEC Alpha could exhibit something similar (but with 16-bit values instead of bytes). See my reply to reitzensteinm. (I have no idea if any Alpha compilers did this in the wild.)
69.
▲
by
PeCaN
7y ago
Conceivably there's a benefit when you can't load the value you want in one instruction (e.g. on many RISC architectures with fixed 32-bit instructions you can't have a 32-bit immediate) for example on Alpha the most genera
70.
▲
by
PeCaN
7y ago
They're pretty good at simulating molecules and molecular interactions. I think chemical engineering is probably the killer app for quantum computers.
71.
▲
by
PeCaN
7y ago
to be honest writing x86 assembly is Not That Bad™ (personally I can't speak for ARM though) I wrote some simple silly applications for KolibriOS[0] a while back and it's relatively pleasant (I think a basic GUI window is less cod
72.
▲
by
PeCaN
7y ago
this is the most hacker news post i have ever seen that doesnt involve Rust
73.
▲
by
PeCaN
7y ago
oh, and i forgot, the worst part of nuclear power is the fans.
74.
▲
by
PeCaN
7y ago
QNX 4 was mostly written in C and the demo disk fit on a single floppy and included the whole system including a TCP/IP stack, drivers for a few common network adapters, a GUI, a web browser (with javascript), and various demo applicat
75.
▲
by
PeCaN
7y ago
Not waste disposal, nuclear disasters. I think the waste problem is awkward but far from a dealbreaker for nuclear energy, especially with breeder reactors and other more efficient designs. The problem is that even though nuclear reactors w
76.
▲
by
PeCaN
7y ago
How long until they also replace background check agencies with a public social credit registry :-)
77.
▲
by
PeCaN
7y ago
Chinese nuclear engineering sounds like foreshadowing to the next Chernobyl.
78.
▲
by
PeCaN
7y ago
It's safe in terms of deaths, but most power sources' failure modes don't include "render a large area uninhabitable for a century".
79.
▲
by
PeCaN
7y ago
I don't think Texas Instruments deserves to be counted out. Their revenue last year was greater than Nvidia. Given that the margins on microcontrollers and DSPs are not nearly as large as on GPUs, they're shipping a lot of chips
80.
▲
by
PeCaN
7y ago
I think they got some retroactive goodwill from the DES thing when it was discovered that they legitimately made it stronger. Of course, they've more than squandered that by now, but it's not like they always completely ignored
81.
▲
by
PeCaN
7y ago
>How fast does the CPU step up and down the throttling caused by AVX-512? It's actually really, really slow. On newer (I think around Skylake-X, which is when AVX-512 was introduced) CPUs it takes up to 500 microseconds i.e. mill
82.
▲
by
PeCaN
7y ago
It's actually done by little gnomes inside the qubits.
83.
▲
by
PeCaN
7y ago
Since other people have already explained how qubits are not at all similar to transistors, I'd like to mention that it is not comparable at all to SIMD and there is no indication that quantum computers will be better at vector math th
84.
▲
by
PeCaN
7y ago
This is reasonable enough, but personally I'm not really convinced a text editor should be handling windows at all, especially since neovim allegedly is designed to be embedded by a ‘real’ UI (and presumably could be embedded by a term
85.
▲
by
PeCaN
7y ago
That's an extremely cool party trick but I'm also slightly concerned that neovim started to cut bloat in vim and ended up implementing a compositing window manager with fake transparency. Though the idea is just pretty damn cool i
86.
▲
by
PeCaN
7y ago
PGO detects hot/cold functions and places them together¹ ², but I imagine whatever it needs on startup is probably not especially hot. …Though it might all be cold, which would have the same effect, actually. ― ¹ At least on GCC but I
87.
▲
by
PeCaN
7y ago
That's fair, but that's also stuff that you just can't really do in Java in general¹, so it's not useful for a comparison. The fact is that the vast majority of JavaScript code is pretty static and there's nothing p
88.
▲
by
PeCaN
7y ago
Modern JS engines only interpret cold functions, and static vs dynamic doesn't matter once type information has been collected. The real reason is that HotSpot has 10+ more years of work put into it than V8.
89.
▲
by
PeCaN
7y ago
I would say a reasonable number of people consider the first two points to be features.
90.
▲
by
PeCaN
7y ago
humans already do that and even provide advertising data along with it
More ›