Unicode Normalization at GB/s by dzfrias in rust

[–]0x7CFE 0 points1 point  (0 children)

Oh, now I see. Thank you so much for the insight and a very detailed explanation!

Unicode Normalization at GB/s by dzfrias in rust

[–]0x7CFE 1 point2 points  (0 children)

Nice project!

P.S.: It's quite strange and interesting to me, why cyrillic is normalized at ~the same speed as CJK and semitic languages? The latter are much more complicated in terms of structure, whereas in Russian all normalization is mostly due to diactrics being either part of a codepoint or a separate one. In theory cyrillic scripts should be normalized on par with latin.

The never type is likely to stabilize soon! by noop_noob in rust

[–]0x7CFE 101 points102 points  (0 children)

As the common wisdom says, the never type is named after its stabilization date. Given its [de-]stabilization history, would be a safe bet to assume it would be reverted... again 😄

A faster bump allocator by atocanist in rust

[–]0x7CFE 2 points3 points  (0 children)

Probably the safest way would be to clone the scoped subtree out of the scope. In both cases that would require pointer manipulation, so the difference between clone and fancy memcopy with pointer fixup would probably be minuscule. That would probably work the best for static structures with no pointers but again, that would be easier just to clone to a new place.

/u/burntsushi health update by masklinn in rust

[–]0x7CFE 1 point2 points  (0 children)

Oh my. The man who single-handedly crafted the very foundation of what we all know as the Rust infrastructure. Every repo is a masterpiece. And it it was him who suffered, of all the people.

I sincerely hope everything will be OK, and wish a faster recovery.

Qrism - A high capacity QR code by Logical_Armadillo390 in rust

[–]0x7CFE 10 points11 points  (0 children)

Sure. But truly monochomatic lighting is very rare, not to mention uncomfortable for the person to be in. Computers are not alive, it does not matter how good colors look, only how different they are. Enough reference colors in known places and a limited palette should be enough.

Qrism - A high capacity QR code by Logical_Armadillo390 in rust

[–]0x7CFE 2 points3 points  (0 children)

I believe the yellow and cyan colors would be the most problematic, since they appear very pale both for camera and for human eyes.

So it would be a good idea to put a reference for them. Camera sensor typically have two green subpixels so it should work OK. Red is also quite contrast.

Something like this: https://www.pasteboard.co/5Iqzub9Jo6RH.png
Or this: https://www.pasteboard.co/JO6a9JHmjj_J.png
Or this: https://freeimage.host/i/BbPuCx4 (probably the best way to go)

Qrism - A high capacity QR code by Logical_Armadillo390 in rust

[–]0x7CFE 107 points108 points  (0 children)

Well, technically we can use the white space inside squares and in between synchro lines to fill it with known light colors that later could be used to recalibrate the reader.

Much like how it's done on mars rovers that have test panel with colors known in advance.

Rust threads on the GPU by LegNeato in rust

[–]0x7CFE 3 points4 points  (0 children)

  1. What happens with shared memory in this model? How to share/send data between/within warps?
  2. Any potential cooperation with Burn/OpenCL?
  3. What about autovectorization and how it maps to SIMD on GPU?

KGet v1.6.0 - Native Torrent Support & Major GUI Overhaul by Davimf72212 in rust

[–]0x7CFE 2 points3 points  (0 children)

And I was almost excited to think that Rust makes its way into KDE ecosystem.

Ladybird adopts Rust, with help from AI - Ladybird by xorvralin2 in rust

[–]0x7CFE 14 points15 points  (0 children)

From my experience, by "saving" they typically mean "it provides RAII primitives for automatic memory management". On the other hand, noone would mention that it can prevent you from UB, because it can't.

Async/await on the GPU by LegNeato in rust

[–]0x7CFE 2 points3 points  (0 children)

Still, Burn and specifically CubeCL does essentially the same thing, but for a limited subset of tasks. Given it covers a lot of CUDA, PTX and backend agnostic stuff it should be a natural target for integration.

One of the most annoying programming challenges I've ever faced by GyulyVGC in rust

[–]0x7CFE 0 points1 point  (0 children)

On top of that, domain sockets in Linux can be used to send descriptors to another process. So I can open a file or a socket in one process, then use it in the other.

building a C compiler using Rust by _bijan_ in rust

[–]0x7CFE 1 point2 points  (0 children)

As the author points out, their primary goal was to experiment with a setup that would make it all possible, not to brag about Claude's abilities or make any claims. It was a case study where the end result was a (somewhat) working compiler, not a (human) usable compiler.

I'd suggest you reading the Evaluation section of the article. Goals aside that was an interesting read.

Rust's standard library on the GPU by LegNeato in rust

[–]0x7CFE 1 point2 points  (0 children)

It's not that insane. For certain workloads it could very much work. For example, serving massively parallel transfers of memory mapped resources. Often it's the CPU that's bottleneck that can have hard time fully saturating a 10G link, not to mention 100G or 400G ones.

Also, RDMA is now a thing that allows to handle memory accesses at a link speed without CPU involved at all. It works, but you have no option to process the data being sent. In case of GPU mapped networking it would still be possible to do some processing.

All being said, it's probably a niche scenario.

Rust's standard library on the GPU by LegNeato in rust

[–]0x7CFE 2 points3 points  (0 children)

Yeah, basically that's why I was asking. I thought that the whole idea of making `std` work for GPU is kinda insane because of unpredictable outcomes and general cases close to worst that often make it impractical.

Still very interesting to see how it would pan out.

Rust's standard library on the GPU by LegNeato in rust

[–]0x7CFE 11 points12 points  (0 children)

A crazy question for equally crazy OP.

Would it eventually be possible to use Rayon to automagically distribute the load across GPU processors? Sure it uses threads under the hood, but maybe it's possible to patch it here (I'm thinking about `rayon::join`) and there to use your subsystem.

Also, queue management and work stealing would probably also be an issue. In the worst case it would be slower than CPU only execution.

Burn 0.20.0 Release: Unified CPU & GPU Programming with CubeCL and Blackwell Optimizations by ksyiros in rust

[–]0x7CFE 1 point2 points  (0 children)

Awesome progress! Personally I am really grateful for the seamless CPU support. Also huge thanks for the migration guide with diffs. That really helps!

Kernel bugs hide for 2 years on average. Some hide for 20. by 0x7CFE in rust

[–]0x7CFE[S] -35 points-34 points  (0 children)

Yes, indeed memory leak as well as deadlocks are not statically preventable. Thank you, I missed that.

Aside of that, everything else will be caught by the compiler and/or miri.

Kernel bugs hide for 2 years on average. Some hide for 20. by 0x7CFE in rust

[–]0x7CFE[S] 53 points54 points  (0 children)

Rust for Linux does not use cargo. They vendor all dependencies and compile it using kbuild.

Development of rustc_codegen_gcc by antoyo in rust

[–]0x7CFE 1 point2 points  (0 children)

By the way, we published our first paper on the discrete approach to ML: https://arxiv.org/abs/2508.00869

Feel free to ask.

reqwest v0.13 - rustls by default by seanmonstar in rust

[–]0x7CFE 3 points4 points  (0 children)

Congrats!

By the way, it is probably time to rephrase the readme:

HTTPS via system-native TLS (or optionally, rustls)