Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
estebank
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
841.
▲
by
estebank
3y ago
It could be the case. There are multiple separate efforts to improve the debugging experience in production (improving monitoring, cheap profiling, improving logging, encoding more info in the DWARF output), but all of those will take some
842.
▲
by
estebank
3y ago
The Rust team doesn't have its own execution runtime. Tokio is certainly the closest thing to the "default".
843.
▲
by
estebank
3y ago
Really happy to see these results on the perception of googlers on quality of the Rust compiler errors, an area I'm highly passionate about. I'd like to take this as an opportunity to encourage the 9% (and the other 91% as well) t
844.
▲
by
estebank
3y ago
You're right, I was reading a sister thread that was talking about Rust and lost the plot.
845.
▲
by
estebank
3y ago
Out of bound access is avoided because you ise handles that the arena has given you, creating an invalid handle is restricted. You avoid double free because of Rust's owbership semantics that make the arena itself reaponsible for "
846.
▲
by
estebank
3y ago
Being performatively abrasive is no way of convincing anyone. I happen to agree with some of the underlying points you're making, and I still find myself shaking my head. Being off-putting is not a personality.
847.
▲
by
estebank
3y ago
https://www.ansi.org/resource-center/code-conduct https://www.iso.org/publication/PUB100011.html
848.
▲
by
estebank
3y ago
Panics are implemented in the same way as exceptions are in C++, beyond that Rust doesn't have a concept of exceptions at all. Fallibility is expressed in terms of sum types that signal state for success or failure with Result.
849.
▲
by
estebank
3y ago
It makes sense to benchmark unsafe Rust against safe Rust, both for the same algorithm without changes as well as alternative architectures to get around the constraints of the borrow checker and type system. I would go as far as saying tha
850.
▲
by
estebank
3y ago
Panicking can be leveraged for a DoS attack. Use after free can be leveraged for arbitrary code execution.
851.
▲
by
estebank
3y ago
Look at the previous to last chart at https://www.sfchronicle.com/bayarea/article/westfield-charts... That's a drop of foot traffic of more than half in the area.
852.
▲
by
estebank
3y ago
The first thing I tell people is ".clone() it, Box it, Arc it. You can make it faster later." Experienced devs see an Arc<RwLock<T>> and are tickled by the "obvious" performance impact, but then they try to u
853.
▲
by
estebank
3y ago
If you look at the population density per neighborhood[1], that area is not any denser than other parts of the city, including the very residential Richmond and Sunset districts, but the number of shops is much higher. That means that all t
854.
▲
by
estebank
3y ago
> Sure, you could have an "urban mall" with no parking, and that would be nice & pedestrian. But that's not the Westfield Malls in LA. But it is what Westfield SF is. https://www.google.com/maps/pl
855.
▲
by
estebank
3y ago
Look at the zoning map[1]. All the red is only commercial buildings. (If you don't want to open the PDF, effectively the entire zone all around Market Street and Union Square, from Folsom to China Town.) Businesses in cities thrive on
856.
▲
by
estebank
3y ago
You're not wrong, but making self be the last argument would cause confusion for almost everyone coming from other languages, and for Rust it is too late to change that now. You could special case the behavior of the method call syntax
857.
▲
by
estebank
3y ago
Let's say you travel every week day once on each direction (480 trips). The average person will be off their expected arrival time by more than 5 minutes on 72 trips. Of those 72, how many are over, let's say, half an hour? In Bue
858.
▲
by
estebank
3y ago
In a lot of places, the push for alternatives to single use plastic bags go beyond their carbon footprint at manufacture. Disposable bags end up littering cities, which can block drains and cause other issues. Is banning them heavy handed?
859.
▲
by
estebank
3y ago
Equality would be to be able to go where you need to go, in reasonable time, cost and accomodation, regardless of class, race, gender or disability. Focusing on cars is over-indexing on one potential solution. People want to move around.
860.
▲
by
estebank
3y ago
The lack of a shower and having to carry all your luggage when you leave the train. I have in the past ridden overnight trains and slept in them, reducing the need for accommodation by one night. I think if you pack lightly, you can certain
861.
▲
by
estebank
3y ago
GP is talking about adding support for a specific format to Serde, something equivalent to serde_json, not serializing an ADT they have. I've also found it to be difficult.
862.
▲
by
estebank
3y ago
What are the limitations you encounter with cxx and auto-cxx?
863.
▲
by
estebank
3y ago
I'm not sure I agree: the biggest pain point of Rust is that it makes some common patterns from C and C++ non-representable (outside of unsafe). People coming from other languages will likely encounter patterns they are used to that a
864.
▲
by
estebank
3y ago
I believe the GP is arguing against change because they like the status quo. It is not "go there to get what you want", it's "go there so you don't bother me".
865.
▲
by
estebank
3y ago
The size of a country is irrelevant to this discussion: it is about urban centers. The density of cities in both countries is relevant, and of course they are different: that's precisely what the conversation is about. I remain uncon
866.
▲
by
estebank
3y ago
A precondition for that is mixed use residential zoning, which urbanists are also for and US cities are generally against.
867.
▲
by
estebank
3y ago
One thing people that are against changes to the urban environments miss is that the desire is not for cars to be banned, just deprioritized. The aim is to reduce the need for personal vehicles, not eliminate them entirely. There are 289M
868.
▲
by
estebank
3y ago
Yes, and in those countries TB is one the leading causes of death![1] In 2021, there were 10.6 million people infected, and 1.6 million died from it.[2] [1]: https://www.worldlifeexpectancy.com/cause-of-death/tuberculo.
869.
▲
by
estebank
3y ago
In Rust neither is duck typed. For T you must specify the traits it must have. This makes compilation fail at definition, not at the point of incorrect usage. For an example of GATs, you can see the following: https://play.rust-l
870.
▲
by
estebank
3y ago
Guido van Rossum
More ›