Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iigijshaba
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
iigijshaba
2mo ago
Those systems are primarily written in C or C++-but-in-C-style, right? Without exploiting RAII among other features, as Jarred mentioned that he liked in Rust. While Rust took RAII from C++.
2.
▲
by
iigijshaba
2mo ago
Now that I have taken a closer look, the code looks significantly better than it seemed at first glance, though there are still peculiarities, and some drawbacks. An unfortunate aspect is that the code has become a bit more bloated in some
3.
▲
by
iigijshaba
2mo ago
More that I got confused by the C function returning bool, not as an error value, but as a result, which is my fault for skimming it quickly. I have taken a closer look at the code, and it seems superficially a somewhat faithful rewrite, no
4.
▲
by
iigijshaba
2mo ago
I have read up on it again, and while it was entirely dysfunctional at the very early stages, it quickly came up to par or beyond, with the LLM especially helped by the huge test suite written in Typescript, different from both Zig and Rust
5.
▲
by
iigijshaba
2mo ago
Sorry, I wrongly assumed in the C code when I skimmed it that the boolean was for error handling, not the result value. The elog() macro is used for error handling.