[-] teolan@lemmy.world -1 points 11 hours ago

Like sudo that has had zero days lurking for 10 years?

I'm not advocating for reimplementing stuff for no good reason though.

[-] teolan@lemmy.world 16 points 19 hours ago

And there are apps that make it very very easy and fun. Check out street complete.

[-] teolan@lemmy.world 33 points 19 hours ago

You can contribute them!

There's a pretty barebones editor in Organic Maps, but you can also check out Street Complete and Every door (more advanced and less user friendly, though insanely efficient)

[-] teolan@lemmy.world 7 points 19 hours ago

Zig is a very new and immature language. It won't be kernel-ready for at l'East another 10 years.

a better syntax

That's pretty suggestive. Rust syntax is pretty good. Postfix try is just better for example.

Zig also uses special syntax for things like error and nullability instead of having them just be enums, making the language more complex and less flexible for no benefit.

Syntax is also not everything. Rust has extremely good error messages. Going through Zig's learning documentation, half the error messages are unreadable because I have to scroll to see the actual error and data because it's on the same line as the absolute path as the file were the error comes from

No hidden memory allocation

That's a library design question, not a language question. Rust for Linux uses its own data collections that don't perform hidden memory allocations instead of the ones from the standard library.

it's more readable

I don't know, Rust is one of the most readablelangueage for me.

Fast compile time

Is it still the case once you have a very large project and make use of comptime?

it's simpler to learn

Not true. Because it doesn't have the guardrails that rust has, you must build a mental model of where the guardrails should be so you don't make mistakes. Arguably this is something that C maintainers already know how to do, but it's also not something they do flawlessly from just looking at the bugs that regularly need to be fixed.

Being able to write code faster does not equate being able to write correct code faster.

Really great interop with C

Yes, because it's basically C with some syntax sugar. Rust is a Generational change.

[-] teolan@lemmy.world 1 points 19 hours ago

It is absolue in safe Rust, aka 99% of Rust code.

54
submitted 5 months ago by teolan@lemmy.world to c/linux@lemmy.ml
18
submitted 7 months ago by teolan@lemmy.world to c/linux@lemmy.ml
[-] teolan@lemmy.world 37 points 9 months ago

GTK is in bare C, which is rather easy to interop with Rust. Even if using GLib from Rust is a pain, GTK can and does have decent Rust bindings.

QT on the other hand is C++ with object oriented stuff, and therefore cannot have easy bindings to Rust.

57
submitted 10 months ago by teolan@lemmy.world to c/fediverse@lemmy.world
[-] teolan@lemmy.world 29 points 11 months ago

And it's not just r/askreddit all subreddits I tried show a similar drop, including the ones that still seem relatively active.

21
submitted 1 year ago by teolan@lemmy.world to c/rust@programming.dev
[-] teolan@lemmy.world 39 points 1 year ago

It was an April fools.

Still doesn't justify forcing employes to handle the platform if they can't protect them from being subjected to porn

206
submitted 1 year ago* (last edited 1 year ago) by teolan@lemmy.world to c/linustechtips@lemmy.ml

There are a couple more tweet that can be found here.

2
submitted 1 year ago by teolan@lemmy.world to c/linux@lemmy.world

cross-posted from: https://lemmy.world/post/2231450

I'm on Arch linux + sway and running flatpak run org.mozilla.Thunderbird just hangs. I have reset to the default permissions in flatseal.

Anyone has the same issue?

[-] teolan@lemmy.world 94 points 1 year ago

And a tweet becomes an "X-cretion"

[-] teolan@lemmy.world 83 points 1 year ago

“You should tweet that” becomes “you should X that”

"You should X-create" that

[-] teolan@lemmy.world 123 points 1 year ago

It used to be much more dominated by the tanky rethoric of the devs, and most discussions were around FLOSS/Privacy. Now it's much more diverse.

Also, lots of porn. I kinda wish it were possible to completely block instances as a user. If I understand it's on the roadmap.

4
submitted 1 year ago by teolan@lemmy.world to c/rust@programming.dev
view more: next ›

teolan

joined 1 year ago