FizzyOrange

joined 1 year ago
[–] FizzyOrange 10 points 4 hours ago

Its definitely best to try and avoid raw pointers, but even if you try really hard I found it's not really possible to get a Rust-like experience with no UB.

Even something as simple as std::optional - you can easily forget to check it has a value and then boom, UB.

The C++ committee still have the attitude that programmers are capable of avoiding UB if they simply document it, and therefore they can omit all sanity checks. std::optional could easily have thrown an exception rather than UB but they think programmers are perfect and will never make that mistake. There are similar wild decisions with more recent features like coroutines.

They somehow haven't even learnt the very old lesson "safe by default".

If I wanted memory unsafety I think I would consider Zig instead of C++ at this point.

[–] FizzyOrange 29 points 12 hours ago (1 children)

Rust for now, by a wide margin. But I'm following other languages that I think have the potential to surpass it, including Vale (promises way more than it delivers currently), Koka, Hylo, maybe Lobster.

[–] FizzyOrange 1 points 1 day ago* (last edited 1 day ago)

Oo neat that they have an Android app. Unfortunately it seems like it must target a quite old API version - Android gives you an unnecessarily scary warning when you install it, and also it crashes when I try to browse anywhere.

Still, great progress!

Also, off topic but does anyone know why the comment vote counts disappeared?

Edit: Never mind they just moved the vote counts away from the vote buttons... They're now at the top. Weird decision to make it less intuitive... but ok.

[–] FizzyOrange 9 points 2 days ago

Almost everyone uses Cargo. I think the only people that don't are Google and Facebook who will probably be using Bazel or Buck2. I think you're a bit confused about what Cargo is.

[–] FizzyOrange 1 points 2 days ago

I think you're in your own echo chamber. It's not an attempt to poison the word, that's just how its meaning has gradually evolved.

If you ask the general public - not far left people on Twitter - I think they would be more likely to agree with the definition I linked rather than the original definition (you have "woke"n up to social injustice, which is obviously a good thing).

(I'll except the "perpetuate mental illnesses as the norm" bit - I think that is veering into the far right rather than what the man on the Clapham omnibus actually thinks.)

[–] FizzyOrange -1 points 3 days ago

Interesting. I think zjitter would be the closest I would intuitively pronounce that way.

I don't really know anything about the quality of X but I think resorting to name calling is insanely. (Some with Micro$oft etc. - haven't seen that one for a while!)

[–] FizzyOrange 1 points 3 days ago (2 children)

Being woke simply means that some people don’t often get the same affordances as others.

See I think that's not what the "anti-woke" people think it means. Turning to urban dictionary, they're using this definition:

Umbrella term for individuals who are engrossed by social justice and thinks of themselves as saviors with a moral high ground, but remain willfully ignorant to the irrationality of their claims and the problems they create. These individuals give special treatment to certain minorities in hopes of ending racism and perpetuate mental illnesses as the norm.

Irrespective of whether or not anyone actually is woke, I hope you agree that it wouldn't be a good thing (according to that definition).

[–] FizzyOrange -1 points 3 days ago (2 children)

Ah I see. I would pronounce it "Zitter" but fair enough. I guess if you're Chinese?

 

Does anyone know of a website that will show you a graph of open/closed issues and PRs for a GitHub repo? This seems like such an obvious basic feature but GitHub only has a useless "insights" page which doesn't really show you anything.

10
Dart Macros (youtu.be)
submitted 4 months ago by FizzyOrange to c/rust
 

Very impressive IDE integration for Dart macros. Something to aspire to.

view more: next ›