Here is a short summary. The compile-time reflection project was stopped, and now nobody wants to touch that subject any more due to fear of getting the wrath of the Rust project again (the person responsible for the whole thing is still part of the leadership).
- 0 Posts
- 29 Comments
Unfortunately, it’s not guaranteed to be the same string all the time, so it’s rather useless for anything but debugging and logging.
No, the Rust Project recently made sure that Rust can’t have compile-time reflection.
let bar: Result = ...; let foo = bar.inspect(|value| log::debug("{}", value));is equivalent to
let bar: Result = ...; let foo = bar.map(|value| { log::debug("{}", value); value });
Oh,
inspecthas finally arrived! That will help a ton with debug logging.
I’m comfortable with debugging, but I rarely use it with Rust. With the language being so strict in everything, it’s clear most of the time what’s happening, and most situations can be resolved by simple logging of variables.
In JavaScript, I have to use the debugger all the time, since variables can get some really weird invalid values with the completely wrong type.
Necessary skills:
- Development processes: advanced git usage (like fixing history after a bad rebase, merging multiple completely divergent branches, etc), issue tracking
- Devops: continuous integration, continuous deployment, Docker (also, how to build your own Docker images out of Rust projects), Kubernetes
- Social: how to interact with coworkers without creating enemies for life
anlumo@feddit.deto
Rust@programming.dev•The Linux Kernel now contains the first useful thing built using RustEnglish
8·2 years agoThe Linux devs are hesitant to use Rust, because it doesn’t compile to all platforms Linux supports. So, it can only be used for drivers that are only useful on specific platforms that are supported by the compiler, which meant that until now it only was experimental ones like the graphics driver for Apple Silicon Macs.
RISC-V is exciting for chip manufacturers, not sure why end users should be. I personally don’t care whether the CPU in my system required the producer to pay a license fee.
anlumo@feddit.deto
Technology@beehaw.org•The Perfect Webpage: How the internet reshaped itself around Google’s search algorithms — and into a world where websites look the same.
1·2 years agoI’ve started to ask ChatGPT first to avoid this.
anlumo@feddit.deto
Technology@beehaw.org•Proton Mail finally gets a desktop app for encrypted email and calendar
3·2 years agoYes, and UX is bad in web applications. I‘m saying that as a web application developer.
anlumo@feddit.deto
Godot@programming.dev•How do I go about keeping in-game keybinds relegated to the game?
5·2 years agoMost styled text editors bind this to bold/unbold text.
anlumo@feddit.deto
Godot@programming.dev•How do I go about keeping in-game keybinds relegated to the game?
1·2 years agoWhy do you have a system-wide shortcut on something as basic as ctrl-b in the first place?
The idea is that these rules just do what you’d expect the language to do in those situations. The additional advantage of Rust is that if you’re wrong, the consequences are just a compilation error, not a crashing program.
anlumo@feddit.deto
Technology@beehaw.org•Unity Layoff 3.8% Of Workforce - Weta Digital Closed – GameFromScratch.com
4·2 years ago1.6 Billions, and everybody wondered why they bought Weta Digital and what they want to do with it. Apparently they didn’t know as well.
They didn’t even kill competition with that move, they just dealt a major blow to the film industry.
anlumo@feddit.deto
Technology@beehaw.org•Google Chrome will limit ad blockers starting June 2024English
1·2 years agoI personally prefer to use such languages, but I often don’t have a choice for certain tech stacks.
anlumo@feddit.deto
Technology@beehaw.org•Google Chrome will limit ad blockers starting June 2024English
4·2 years agoIt also took 6 years longer than everybody else to support WebGL2, and it’s the only browser without a working WebGPU implementation. It also has no timeline for wasm-gc, while Chrome already ships with it default enabled and Firefox will ship with it on the next release.
anlumo@feddit.deto
Technology@beehaw.org•Google Chrome will limit ad blockers starting June 2024
36·2 years agoAs a web developer, Safari needs to either die in a fire or be transferred to a company that actually cares. It’s more than half a decade behind everybody else.
anlumo@feddit.deto
Technology@beehaw.org•The deal to bring Sam Altman back to OpenAI has fallen apart, Former Twitch CEO Emmett Shear will now take over as interim CEOEnglish
8·2 years agoSpeaking of extremely unprofessional…
You can buy just the motherboard of a Framework laptop and build something around that. There are even cases for them available to print.