Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
virexene
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
virexene
4mo ago
That's basically exactly what Go's `go` keyword does. Good design in my opinion.
2.
▲
by
virexene
4mo ago
this project is pretty interesting, although i'm wondering how they're planning to address the "easy sandboxing" design goal in a compiled language with raw pointer arithmetic and clib interop... in that regard i think l
3.
▲
by
virexene
5mo ago
The operation is slightly more complex yes, but has there ever been an x86 CPU where SUB or XOR takes more than a single CPU cycle?
4.
▲
by
virexene
1y ago
I may have missed something when skimming the paper, but it sounds like Xor filters are constructed offline and can't be modified efficiently afterwards, whereas Bloom filters can be inserted into efficiently. So they don't seem t
5.
▲
by
virexene
1y ago
I wonder if the reason the escape analysis fails could be that, for small enough types, the concrete value is directly inlined inside the interface value, instead of the latter being "a smart pointer" as the author said. So when t
6.
▲
by
virexene
2y ago
I'll have to disagree here. Leaking resources in Rust is pretty trivial: create an Rc cycle with internal mutability. By contrast, in languages with a GC, cycles will be properly collected. And there is nothing preventing GC languages
7.
▲
by
virexene
2y ago
In Zig's case, you do what Rust/C++ do implicitly and create a table of function pointers
8.
▲
by
virexene
2y ago
Ah, you're right, I didn't see it's a more recent addition.
9.
▲
by
virexene
2y ago
I think "packaging" here refers to the process of putting the silicon die in its plastic casing and connecting the die's pad to the case's pins, see https://en.wikipedia.org/wiki/Integrated_circuit_p
10.
▲
by
virexene
2y ago
The author claims that mmap is exposed by glibc whereas memfd_create is not, so they reimplemented it with syscall , but looking at the man page, did they just forget to #define _GNU_SOURCE ?
11.
▲
by
virexene
2y ago
in what way is unicode similar to html, docx, or a file format? the only features I can think of that are even remotely similar to what you're describing are emoji modifiers. and no, this webpage is not result of "carefully cuttin
12.
▲
by
virexene
2y ago
If you want that projection to still be expressible as a matrix transformation, I don't think that's possible.
13.
▲
by
virexene
2y ago
indeed, Rust can be fast, if you know what you're doing. this indeed means not making unnecessary allocations, but in my opinion, it also means... using byte-based indices instead of insisting on char-based indices, ie. Version 0,
14.
▲
by
virexene
2y ago
given that unix time specifically does not handle leap seconds well, i'm not sure i would say they "had it right" all along
15.
▲
by
virexene
3y ago
how the hell do they get to a quadrillion? even multiplying the two factors of 100,000 that are mentioned with no regard for coherence doesn't get you that high
16.
▲
by
virexene
3y ago
that was only the power to the energy measuring device i believe.
17.
▲
by
virexene
3y ago
your compiler might choose to make that the "implementation-defined behavior", but another compiler could choose to always ignore it and give you no easy means of diagnosis. my understanding is that the proposal of "erroneo
18.
▲
by
virexene
3y ago
“the 2⁵² numbers between 0 and 1 that double precision floating point can represent” it's a bit of a nitpick, but i believe there are 1023×2⁵² such numbers, which is quite a bit more. there are 2⁵² double precision floats in just [0.