I'm working on an ESP32 project right now, and Espressif provides shrink-wrapped toolchains for C/++ and Rust. The latter even comes with a little tool called 'espup' that cleanly installs their fork of Rust and LLVM (for Xtensa support) - I was able to compile and run a blinky in less than half an hour.
> Many people already use non-portable SIMD for the 1-3 targets they care about, instead.
This is something a lot of people (myself included) have gotten tripped up by. Non-portable SIMD intrinsics have been stable under std::arch for a long time. Obviously they aren't nearly as nice to hold, but if you're in a place where you need explicit SIMD speed-ups, that probably isn't a killer.
After spending a summer working in Singapore, I fully support introducing corporal punishment to America (and accelerated capital punishment for drug trafficking offenses.) It turns out that - surprise! - actually punishing criminals where it hurts, even for "petty" offenses, works wonders for making your country a nice place to live.
Now, obviously, Singapore's methods aren't perfect - a common complaint I heard was that money can buy you kid gloves - and I imagine the Supreme Court smackdown over caning versus the 8th Amendment would be biblical. But any return to broken windows governance would be much appreciated.
You don't need years to look around and see that (unlike much of the US) there are no homeless addicts, fare evaders, or vandals on the transit in Singapore. (Or, for that matter, murderous psychos with dozens of prior arrests.)
Logically, therefore, they have superior crime policy we should learn from - nothing to do with culture.
The way I think of is is that crime is like a market. When the consequences are low, crime will rise. If you introduce such severe consequences for crimes that criminals never dare do it again, crime will inevitably fall. Singapore seems to get this but none of the rest of us do.
macOS kinda gets there. I've (grudgingly) come to admit that it has by far the best security story of any desktop operating system. Apps require explicit user consent to access the filesystem, peripherals, and other sensitive data (e.x. Discord requests "Input Monitoring" access to determine if you're "actively online" even when unfocused.)
The only place it seems to fall flat is network I/O - LAN access requires permission, but dialing out to the wider Internet does not.
Compare Windows, which has jack (except for bloated anti-malware hooks in NTFS.)
Linux is _trying_ to replicate macOS with Flatpak/XDG portals, but those still need more time in the oven.
Source: I use both a MacBook and a Linux desktop daily.
To be fair, Vim and Curl are almost certainly dynamically linked, so they get to "cheat" a little. 10 megs is entirely reasonable for a statically linked utility intended to "just work" when you dump it somewhere in your $PATH.
Take the Micro editor. It's written in Go, and packs a fair bit of functionality into a single 12 meg static binary (of which a few megs is probably the runtime.)
Exactly, but if you say that you'll just be accused of yourself being a biased bigot, conveniently distracting from the original reason the discussion started at all! These psychological tactics don't work on people anymore.
Honestly, as someone who just purchased his first MacBook, Liquid Glass is... fine? The control center could use a little more opacity, but besides that, my opinion tends to range from "whatever" to "hey, that looks pretty nifty!"
My dude, before HTTPS, anyone could go to a Starbucks and skim every customer's Facebook session with a free Firefox extension. That's not an "edge case."
I even remember running some prank app on my Android that MITM-ed everyone's connections and started slowly removing letters from the website or replaced all the images with cat pictures. It worked super well. That could've have been more than 10-15 years ago.
Things have improved significantly with HTTPS adoption.
I'm working on an ESP32 project right now, and Espressif provides shrink-wrapped toolchains for C/++ and Rust. The latter even comes with a little tool called 'espup' that cleanly installs their fork of Rust and LLVM (for Xtensa support) - I was able to compile and run a blinky in less than half an hour.
See https://docs.espressif.com/projects/rust/book/ - it also wasn't too hard for me to whip up a Nix Flake with the same toolchain, if that's your jam.
reply