- 4 Posts
- 29 Comments
bonus_crab@lemmy.worldto Linux@lemmy.ml•Discord now properly supports screensharing on linux8·7 months agoVencord has had it forever. Just a community discord flathub.
bonus_crab@lemmy.worldto ADHD memes@lemmy.dbzer0.com•I am very productive at generating guiltEnglish2·8 months agocoffee. get rid of dopamine sinks like tiktok / instagram / youtube .
bonus_crab@lemmy.worldto Programming@programming.dev•What are your favorite statically typed, compiled, memory safe programming languages?31·8 months agoC# is good too. If you havent heard of lobster you should look into it.
Rust is esperanto because its only actually used by a small group of nerds,
python is russian because everything made in it is unreliable.
bonus_crab@lemmy.worldto Linux@lemmy.ml•One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"2·9 months agoGotta be mm to make sense unfortunately, Linux-GUN 7.62.11
bonus_crab@lemmy.worldto Linux@lemmy.ml•One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"2·10 months agoEasy, GNU->GUN
bonus_crab@lemmy.worldto Linux@lemmy.ml•One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"2·10 months agoOh and try blocks.
bonus_crab@lemmy.worldto Linux@lemmy.ml•One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"6·10 months agoIts mainly a matter of stabilizing existing features in the language - there are rust modules in the linux kernel as of 6.1 but they have to be compiled with the nightly compiler.
Rust is a very slow moving , get it right the first time esque, project. Important and relatively fundamental stuff is currently and has been useable and 99% unchanging for years but hasnt been included in the mainline compiler.
Also certain libraries would be fantastic to have integrated into the standard library, like tokio, anyhow, thiserror, crossbeam, rayon, and serde. If that ever happens though itll be in like a decade.
For what its worth browsing directories full of hundreds to thousands of 4k images with previews is seamless : )
bonus_crab@lemmy.worldto Linux@lemmy.ml•What file systems are you using on your devices and why?2·10 months agogrub menu. all my timeshift snapshots show up there. for /home i just backup to a usb with deja dup.
bonus_crab@lemmy.worldto Linux@lemmy.ml•What file systems are you using on your devices and why?9·10 months agoBtrfs snapshots have saved my ass a few times with bad updates.
bonus_crab@lemmy.worldto Linux@lemmy.ml•What file systems are you using on your devices and why?6·10 months agohow fast is it?
definitely not lol. Its my daily driver pc. I just have a spare drive and an empty slot.
its neat, u can get 4k 240hz out of the usb4 output. Lm sensors didnt pick up the cpu temps. It’s VERY quiet, and the drives have an active heat sink on em. The nvme drive runs at around 40C.
bonus_crab@lemmy.worldto Rust@programming.dev•How can Rust be so fast in the TechEmpower Web Framework Benchmarks?9·1 year agoso to briefly answer the question in the title after reading the article : i dunno maybe prepared statements
bonus_crab@lemmy.worldto Programming@programming.dev•Critical Rust flaw enables Windows command injection attacks191·1 year agoWindows is as much to blame as any affected languages tbh.
For what its worth , the cache locality of Vec<Box<Dyn trait>> is terrible in general, i feel like if youre iterating over a large array of things and applying a polymorphic function you’re making a mistake.
Cache locality isnt a problem when youre only accessing something once though.
So imo polymorphism has its place for non iterative-compute type work, ie web server handler functions and event driven systems.
so if (somehow) the accumulator was an integer, this loop would autovectorize and the performance differences would be smaller ?
also nvme drives get HOT, and sticking em together in an enclosure with no heatsink or fan would probably have thermal throttle under load.
“In a local setup, I was able to saturate a 200G link with a single CPU core, and at netdev conf 0x19 earlier this month, Jamal reported 188Gbit of bandwidth using a single core (no HT, including soft-irq). Safe to say the efficiency is there, as bigger links would be needed to find the per-core limit, and it’s considerably more efficient and faster than the existing devmem solution.”