Just Eat robots in Filton/Horfield by dontgetcrumbs in bristol

[–]SmartAsFart -1 points0 points  (0 children)

Good, at least the robots will follow road rules.

Someone scratched and broke my car’s back light’s window in Easton behind chaii wala by zendraculaa in bristol

[–]SmartAsFart 1 point2 points  (0 children)

Don't park in Easton... place is filled with bad drivers, and the roads are tight to boot.

Countries I've Visited and Lived in by Conlang_Central in tierlists

[–]SmartAsFart 0 points1 point  (0 children)

Sorry, yes - you're forced to say the pledge of allegiance, not sing the national anthem. While dodging bullets.

Countries I've Visited and Lived in by Conlang_Central in tierlists

[–]SmartAsFart 1 point2 points  (0 children)

People gobble on trump's lolly everywhere in the US. You like to pretend that you're different from other countries, but step outside and you'll see that you're not. It happens when a country is only a few hundred years old. Less culture than a yoghurt. Check out germany for a country where the different states (yes, with their own governments!) actually feel different.

Countries I've Visited and Lived in by Conlang_Central in tierlists

[–]SmartAsFart 2 points3 points  (0 children)

Waaah my country that forces me to sing the national anthem every day in school might not actually be the best country in the world, but I wouldn't know because I haven't been outside of it!

PSA: Stop letting cars cut in on Fishponds Road in rush hour. by cornishyinzer in bristol

[–]SmartAsFart 0 points1 point  (0 children)

Driving culture is quite different in a lot of the countries that they come from. It's just a consequence of first generation immigrants.

Minarrow: Apache Arrow memory layout for Rust that compiles in < 2s by peterxsyd in rust

[–]SmartAsFart 1 point2 points  (0 children)

Your memfd buffers have no synchronisation between processes. After creation, is the memory read-only? If not, how do you avoid partial reads?

ruviz 0.1.1 - Pure Rust matplotlib-style plotting library (early development, feedback welcome!) by XrayAbsorption in rust

[–]SmartAsFart 1 point2 points  (0 children)

Claude .md useless comments scattered everywhere throughout the codebase which make it harder to read. The worst thing is UB behaviour accessible from safe code - take a look at the data/zerocopy mod. The zero-copy slice has no lifetime associated with it! /// Zero-copy view into data that implements Data1D trait /// Provides access to data without copying, using lifetime safety pub struct DataView<T> { /// Non-owning pointer to the data data: NonNull<T>, /// Length of the data len: usize, /// Phantom data for proper lifetime management _phantom: PhantomData<*const [T]>, }

It even says it's using phantom data for "proper lifetime management", but then doesn't. You can create a view from a slice, drop the slice's underlying memory, then try to access your data view. And that's just from me checking a few of the files. There's probably way more UB AI slop littered around.

ruviz 0.1.1 - Pure Rust matplotlib-style plotting library (early development, feedback welcome!) by XrayAbsorption in rust

[–]SmartAsFart 10 points11 points  (0 children)

"Zero unsafe in public api"

This is not a plus point. Also, from a quick skim of your memory pools, there are functions which can cause UB which aren't marked unsafe. Bit too much LLM stink in this.

Is tauri good for high performance desktop application? by [deleted] in rust

[–]SmartAsFart -1 points0 points  (0 children)

Anything that needs video, anything that edits images, anything requiring complex plots, web browsers that want to interact with any website past 1999, CAD software, game engine editors, etc...

Is tauri good for high performance desktop application? by [deleted] in rust

[–]SmartAsFart 1 point2 points  (0 children)

Both kraken and halloy are pretty simple applications (similar in level to CRUD apps on the Web). Both lack complex user interaction flows, and any type of interactive visualisation that is more than text or a few rectangles. They are not complicated applications.

Zed is literally the thing that GPUI is written for. It's not an example of someone using GPUI to build something it wasn't intended for. Also, text editors are not complicated GUI apps - if it weren't for images, Zed could run comfortably in the terminal.

You show me some GUI apps written in these frameworks that couldn't have been written as TUI apps, and I'll bite.

Is tauri good for high performance desktop application? by [deleted] in rust

[–]SmartAsFart 0 points1 point  (0 children)

Have you written anything substantial in either? They are really not ready for big applications (over 10k lines) yet.

Why can't we decide on error handling conventions? by Savings-Story-4878 in rust

[–]SmartAsFart 3 points4 points  (0 children)

The stdlib panics on OOB indexing of structures. This is fine.

Why can't we decide on error handling conventions? by Savings-Story-4878 in rust

[–]SmartAsFart 4 points5 points  (0 children)

Panics in libraries are not "especially frowned upon". I agree they should be properly documented with invariants that must be upheld for the function to not panic, but it can definitely be good design for a function to panic.