Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
estebank
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
601.
▲
by
estebank
3y ago
Oracle is an acronym: One rich asshole called Larry Ellison.
602.
▲
by
estebank
3y ago
Niko has been involved with Rust since before they had conceived of the borrow checker and the entire commiter list could be fed with a pizza.
603.
▲
by
estebank
3y ago
I would say that in practice 80% of the values go on the stack, 18% in Box and 2% in an Arc/Rc. That's why Rust code tends to be fast: the common cases are really easy to represent with the borrow checker, so a hypothetical GC doe
604.
▲
by
estebank
3y ago
Syntax in programming languages are a question of style and personal preference. At the end of the day syntax is meant to help programmers communicate intent to the compiler. More minimalist syntax trades off less typing and reading for les
605.
▲
by
estebank
3y ago
This is not the only snarky comment about the 3->4 transition, but I feel they are overly harsh. A big problem with that transition was distros jumping to ship pre-release software to users long before the release was ready, which really
606.
▲
by
estebank
3y ago
11% may not sound like a lot, but it is enough to manipulate pricing of the available housing stock.
607.
▲
by
estebank
3y ago
If you can assure that bounds checks are not necessary (either by construction, because it's a statically sized array, or by runtime check because you do a length check once at runtime), then doing those same things will tell rustc e
608.
▲
by
estebank
3y ago
I am reminded of physicians disliking the idea of checklists[1] and revolting against hand washing[2]. [1]: https://www.flightsafetyaustralia.com/2018/11/one-thing-at-a... (interestingly, I would argue that Boeing
609.
▲
by
estebank
3y ago
It came out in 2017 https://www.amazon.com/Game-Engine-Black-Book-Wolfenstein/dp... as per the bottom of https://fabiensanglard.net/about/index.html
610.
▲
by
estebank
3y ago
Rust's backwards compatibility assurances explicitly mention that breaking changes to fix unsoundness are allowed. In practice the project would be careful to avoid breaking more than strictly necessary for a fix. In the case of user c
611.
▲
by
estebank
3y ago
The most obvious slow down people perceive of compile times is due to monomorphization. It is a combinational explosion when instantiating every generic type that is in use, and it exacerbates the issue of rustc producing verbose LLVM IR
612.
▲
by
estebank
3y ago
You're right, but in this case it shouldn't compile :)
613.
▲
by
estebank
3y ago
Yet in 2022 this change from warn by default to error by default was consequential enough for Fedora: >> So what is the current status? How many packages are going to be affected by this change? How are we going to track the progress
614.
▲
by
estebank
3y ago
I can't help but wonder how many bugs could have been detected and fixed a quarter of a century earlier if those lints had been adopted more diligently by the C ecosystem.
615.
▲
by
estebank
3y ago
Not in the US. It is segregating cities between places people work at, places people shop at, places people live in buildings with multiple units and places where people live in single family housing, without any intermingling. Trying to bu
616.
▲
by
estebank
3y ago
println can panic, which by default tries to print to stderr, which can succeed independently of the state of stdout, and the global panic handler can be overriden to write to a log file, pipe an event to a port or just abort. But specialis
617.
▲
by
estebank
3y ago
Rust's stdlib is separated in core, alloc and std, with each requiring more from the platform.
618.
▲
by
estebank
3y ago
Printing to stdout is a fallible operation.
619.
▲
by
estebank
3y ago
It is interesting that before stripping the size of the Rust version is bigger, but after only stripping the size of the OCaml version is bigger. It'd be nice to try and see what the "extra" info that Rust ships by default is
620.
▲
by
estebank
3y ago
Note that that step sheds libc entirely (so the binary needs to provide the minimal things that libc does for your platform, namely that assembly you mention, and you'd have to do the same for a C binary that did that) and gets rid of
621.
▲
by
estebank
3y ago
What you propose is exactly what's been done by the kernel. They are integrating the language in a non-mandatory way, to both exercise the kernel side and the language itself. The unstable features haven't been stabilized because
622.
▲
by
estebank
3y ago
For Rust on Linux it's a bit more involved because they use nightly features, which can change from day to day. In practice there's an implicit tiered strata, with features that rarely change and features that frequently change in
623.
▲
A small Rust binary indeed (2022)
(darkcoding.net)
102 points
by
estebank
3y ago
|
47 comments
624.
▲
by
estebank
3y ago
You might be interested in reading https://darkcoding.net/software/a-very-small-rust-binary-ind...
625.
▲
by
estebank
3y ago
This is true, but the number of "hidden" fees associated with living in the US make the difference slightly less stark than it seems at first, and a catastrophic health event can set you back to 0. The difference is biggest when w
626.
▲
by
estebank
3y ago
It's the same in the UK. But the interest difference with the IS I've noticed is the effect of price anchoring: because everyone has a provider of last resort, the private providers compete on features and price. IIRC my employe
627.
▲
by
estebank
3y ago
In (some?) other countries work visas are not tied to employer but rather job category, and the length of time waiting for permanent residency is usually 2 years. In the US an H1B can be transferred once you reach the portability threshold
628.
▲
by
estebank
3y ago
FWIW, most of my code reads closer the the third to last version, which only adds the &s and ?s.
629.
▲
by
estebank
3y ago
The current conversation is about cities . I lived in SF without a car for 7 months. Getting out of the city was a pain in the neck because the weekend Caltrain schedule is terrible (going from Paris to Brussels is faster than San Franci
630.
▲
by
estebank
3y ago
And the argument is that in cities, it shouldn't be.
More ›