995 karma · joined November 15, 2019
Email: contact <AT> gpanders.com
Does it? Rust seems happy to allocate silently all the time.
let x = String::new(“hi”);
let y = vec![];
Do either of these allocate? As the writer or reader of this code, how do I know if either of these statements result in a heap allocation, or if the data is strictly on the stack?Zig’s requirement of explicitly passing around an Allocator type removes any ambiguity completely.
You can also press the STEAM + LB buttons to open a magnifier for reading small text.
I don’t know if I’m in the minority or not, but I have never owned a gaming PC, and have not had a console since I was a teenager with an Xbox 360. I’m now 30, and I bought the Steam Deck precisely because of its portability.
Seems like a quick and condescending way to shut down any critical thinking or debate.
“Agree with me, or suffer the same fate”.
Of course, bridging the uncanny valley to make it even look passably human is another milestone entirely.
You can get by without paying for credits, though it does involve more in-game grinding. For me, what made me lose my interest in these games is the role playing requirement. I understand that for some people that is part of the fun, but I could never really get into it.
Losing pictures of my kids when they were young would be devastating. For some things, it’s a very big deal.
Some technical blogs I follow use this. They create a public mailing list that they treat as their “public inbox”. Anyone can send an email to it, and all messages are publicly viewable. No signup or account required either since it’s all just email.
I’m a fan of this solution personally.
EDIT: Looks like this was indeed just added in the last couple of weeks https://github.com/lima-vm/lima/commit/c18ae239b69a47db77436...
It’s a bummer too, because it looks like a more sane version of using Nix as a package manager. I’ve written about this elsewhere, but my experience using Nix as a package manager on macOS was very bad. I understand the value proposition of isolated development environments, but the execution with Nix left a lot to be desired (in my experience). Something that provides similar benefits in a nicer package would be very welcome.
(With the obvious caveat that I do not claim to represent the entire American population) I think it is the latter. This kind of thing is newsworthy precisely because it gets people riled up (as it should). It is pretty shocking to me as someone who has lived in the US my entire life. As other commenters have said, I also walked to school alone as a kid with no issues.
Does anyone have recommendations for a higher contrast (preferably simple/few colors) theme that also has broad support?
Code navigation and completion, for one.
But there are plenty of knobs to turn that provide a spectrum between “show nothing” and “show everything”. I also find the inline diagnostic text noisy, so I configure it to only show on the line where my cursor is. You can also use the “open_float” function to open the diagnostics on your current line in a floating window. That way you can leave them off my and simply view them on-demand.
I certainly agree that Rust is much better than C/C++, but it’s not quite at Zig level, at least in my (limited) experience.
With Zig, that all goes away. It’s as simple as saying `zig build -Dtarget=aarch64-linux-gnu` or `zig build -Dtarget=riscv32-freestanding-none` and it just works. It’s pretty incredible.
Zig has set the bar for how cross compilation should be done and all other languages should be measured against it. Rust is close but is still a headache. The only other language that compares at the moment (IMO) is Go.