Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moltonel
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
moltonel
3mo ago
Gccrs is valuable for various reasons (bootstrapping, refining the spec, etc), but for the main purpose of "compiling to targets supported by gcc but not llvm", it's definitely not as promising as https://github.co
2.
▲
by
moltonel
3mo ago
From a "trusting trust" point of view, compiling rustc-translated-to-C with a C compiler (and comparing the result to normally-compiled rustc) is a valid demonstration, because we're again starting from code and can eliminate
3.
▲
by
moltonel
4mo ago
Go funcs can return both a value and an error, or neither, it's a common gotcha. Having to check the behavior each time is no fun. Missing error handling is checked at compile-time in Rust (lint-time in Go), and can be enabled for any
4.
▲
by
moltonel
4mo ago
Yes, but all else being equal it is a higher bar in Rust than in Go. There are fewer things left for the human to check after a clean build+lint in Rust than in Go. The issue of over-engineered AI output is orthogonal to that.
5.
▲
by
moltonel
4mo ago
I find Go harder to review than Rust. The verbose error handling diluting the interesting parts is one thing, but the main issue is the weak type system. Having to read the callee's code to check if it deviates from `res xor err`, or i
6.
▲
by
moltonel
7mo ago
> Gettext is functionally limited to source code being English (or alike). It handles all translation languages just fine, and competently so. The *ngettext() family of functions take two strings (typically singular/plural) and rely
7.
▲
by
moltonel
7mo ago
It's not hard to make a case against gettext, despite its maturity and large ecosystem. IMHO pluralization is a prime example, with an API that only cleanly handles the English case, requires the developer to be aware of translation go
8.
▲
by
moltonel
10y ago
You'll need 100s of areas if you want to minimise your local storage usage, and micro-managing that would be a PITA. GM announces 'up to 1750mb' to download the part of my country I traveled to in the last month, it's a
9.
▲
by
moltonel
12y ago
OsmAnd is great but its target users are OSM contributors and map geeks, not "Joe User looking for a GM alternative". For your usecase, have a look at mapswithme instead. It's proprietary but very neat. Does only the basics b