Skip Navigation

Posts
65
Comments
607
Joined
3 yr. ago

  • I think the author brings some interesting points, but ultimately I think it's a faulty premise.

    The fediverse is whatever the user wants it to be. That's the whole point really. If you want a reliable communications platform with zero dropped messages, aka email 2.0, then you can definitely build that on the fediverse and people can join such a platform if that's what they want.

    If that's not what you want... Well then don't join such a platform. Join another one. You do you.

    We don't need anyone telling us how to communicate or consume content or whatever we want to do with the fediverse. The whole point of the fediverse is that everyone gets to decide for themselves, so there's no need to be prescriptive about any one approach.

  • Is Dioxus easy to get started with?

    I haven't tried it myself but I've read the tutorials and it looks very React-inspired. It looks quite easy to pick up. It is still based on HTML and CSS but you can use one code base for all platforms.

  • Rust programs can definitely still consume a lot of memory. Not using a garbage collector certainly helps with memory usage, but it's not going to change it from gigabytes to kilobytes. That requires completely rethinking how things are done.

    That said I'm very much in favour of everyone learning Rust, as it's a great language - but for other reasons than memory usage :)

  • Or just use rust for everything with Dioxus. At least, that's what Dioxus is going for.

  • This is the way with modern software engineering, especially in the industry. It comes from the basic fact that:

    1. Companies want to get code for free from the internet - someone else already wrote that code, let's use it for free and have better profit margins!
    2. Companies do not want to spend time and effort vetting that free code, as that would make it... well, not free. That would require manpower (perhaps unless you trust AI to do it these days...) and that's money.

    Basically they want to eat their cake and have it too. This applies to all modern package managers for modern languages that make it easy to distribute your own code and consume free online code.

    I doubt the industry will ever mature to a point where this will stop, as the tradeoff of getting free code with no work is just too good for most companies, especially the smaller ones.

  • Have you tried the Rust book? I learned via that and it's great.

  • I think that's quite harsh. As I said, I know it's not what OP asked and it was just a suggestion. I'm just adding it as an option. Perhaps someone else reading the thread will find it useful, if not OP (who I don't think you should speak for).

    OP mentioned they want native speed and were struggling with badly documented libraries. I feel like it was appropriate to at least mention Rust, considering those two things. Since when is widening a discussion slightly considered bad? You don't have to reply to my comment either, if my comment does not seem interesting to you. Let alone downvote it. You can just leave it alone, it doesn't hurt anyone.

  • Not that cool maybe but I once played a lot of Pathfinder (1st edition). I made a website with a detailed database of all the items in Pathfinder with very specific filters and also including a random item generator. You can try it out here:

    https://sortekanin.com/collection/items/

  • I know it's not really what you're asking, but have you considered learning Rust? In many ways, Rust is more similar to C than C++ and is just as capable. There are quite a few very well documented (as is common in the Rust ecosystem) Rust libraries for GUIs, including efficient native ones or immediate mode ones and such. Just a suggestion.

  • I'm amazed by the fact that it remains such high quality even when you go so far back to the early videos. It's crazy. Dude is a genius.

  • That's not livestock, it's just the genetically engineered intelligent cow species we made for fun. It's wearing an earring.

  • Kind of weird but suit themselves I guess

  • How come?

  • shouldn’t Rust enforce returning from function

    This is impossible. How would you enforce that? What prevents a function from panicking, aborting the whole process or just going into an infinite loop? All these things correspond to the never type.

    I think you're misunderstanding what the never type is. It's not equivalent to None at all. It's a type that doesn't have any values. This is useful in situations with generic code where for example an error type can be chosen as the never type. Then you could destructure or unwrap a Result without handling the error, cause the type system guarantees the error never occurs.

    I think you should read up on the never type a bit more. It's a perfectly natural part of the type system. In fact you can make your own very easily: enum Never {}

  • Can't wait for the never type to be stable :D

  • I feel like it is just a matter of time before either:

    1. The fragmented communities develop more and become distinct, so that they are more unique and shouldn't merge.
    2. One of the communities becomes the more popular "default" option, and the other becomes less active as people gather in the more popular one.

    Even if that doesn't happen, redundancy isn't bad. We've seen how hard it is to migrate when there's only 1 real option and that option disappears or goes bad for some reason (i.e. reddit). If there was another fairly active community with the same focus, that would make it easier to keep going. That's part of why decentralization is good.

  • This is a non issue. Different communities and instances have different rules, norms, cultures etc. There's no need to smash everyone together in a monoculture.

  • Exactly. This is a non issue and actually a feature.

  • I mean, just set the limit to a ridiculously high number then? I'm not aware that Lemmy has any in-built limits, but I could be wrong.

    I believe that Mastodon instances with limits only link to external posts that exceed the limit, they don't display the whole post.

    Of course you can always run into network limits if you get huge posts, but that applies to everything and doesn't have anything in particular to do with Mastodon.

  • Isn't character limits an instance setting?