Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rtoway
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
rtoway
2y ago
> Where I live in SE England they seem to be trying to take productive agricultural fields out of use I think this is an unfair characterisation. Many farmers in the UK _want_ to build solar installations on their fields as it is a fanta
2.
▲
Holding Apple Accountable: The Future of the Internet Economy Depends on It
(newsroom.spotify.com)
38 points
by
rtoway
3y ago
|
86 comments
3.
▲
by
rtoway
3y ago
FWIW, in the UK unemployment is also very low at the moment.
4.
▲
by
rtoway
5y ago
I was under the impression that must of Rust's compile time comes down to LLVM
5.
▲
by
rtoway
5y ago
Swift tooling is surprisingly bad especially when It's made by a trillion dollar company. Rust's free rust-analyzer extension provides much faster and much more feature filled IDE features than XCode.
6.
▲
by
rtoway
5y ago
You can do this in Rust today, with the standard library's reference counter
7.
▲
by
rtoway
5y ago
The lint is on by default in the latest version of the compiler
8.
▲
by
rtoway
5y ago
Rust has a lint against this kind of attack + you can explicitly disable non-ASCII identifiers if you really want to
9.
▲
by
rtoway
5y ago
Housing in your area might get vastly more expensive, but housing somewhere else might not see the same price increase. The CPI is for the entire country
10.
▲
by
rtoway
5y ago
Because people like meat? I like meat. I don't like what happens to the animal though. I don't think it gets that much more complicated than that
11.
▲
by
rtoway
5y ago
Last I checked, studies on the issue of social media and mental health are pretty mixed and inconclusive. But it is a popular belief regardless
12.
▲
by
rtoway
5y ago
I was thinking of following the book but with Bevy. How do you replace bracket-lib?
13.
▲
by
rtoway
5y ago
Bevy, while an ECS based library, can easily be used to program a game in a more traditional way (excuse my formatting): struct Player { health: Health, } // ECS style fn update_player(query: Query<&mut Player
14.
▲
by
rtoway
5y ago
Thanks for educating me. I am affected by recency bias
15.
▲
by
rtoway
5y ago
Interesting perspective. FWIW a lot of modern languages now have put the types on the left for a good reason, it's a lot easier to parse. Plus for a reader, at least in Rust, wherever you see a `:` you know that a type is coming after.
16.
▲
by
rtoway
5y ago
Wacky, quirky stuff?
17.
▲
by
rtoway
5y ago
I'm not a Go fan but the language to me looks very readable and clean. However in my opinion syntax is usually not that important, you can and will get used to anything
18.
▲
So you want to write a GUI framework
(cmyr.net)
9 points
by
rtoway
5y ago
|
0 comments
19.
▲
by
rtoway
5y ago
> It is a statement of fact, we cannot be any more certain; it is unequivocal and indisputable that humans are warming the planet. How do you convince the deniers of this? It seems that more graphs and facts only make them deny harder
20.
▲
by
rtoway
5y ago
Not mentioned, but I believe this release finally activates mutable-noalias by default!
21.
▲
by
rtoway
5y ago
Ah you are right about that. Yes, it would be a nice place to avoid an allocation
22.
▲
by
rtoway
5y ago
In Rust, many times this kind of code will compile to the same code using plain old loops and if statements
23.
▲
by
rtoway
5y ago
Release The Apprentice outtakes! You know you want to, Bezos :)
24.
▲
by
rtoway
5y ago
The optional brackets really makes the code look clean and easy to read!
25.
▲
by
rtoway
5y ago
I think their reasoning for things that are shortened is that if it's something you will be writing a lot, it's nicer to have it shortened. So pub fn mut etc. are shortened, but return isn't
26.
▲
by
rtoway
5y ago
I think it's fair to say the compiler does a lot of heavy lifting in Rust
27.
▲
by
rtoway
5y ago
Isn't x86 assembly not directly executed by the CPU? IIRC it's turned into microcode instructions. I could be wrong though