At the same time, C is the only stable ABI available for Rust.
(Justin)
Tech nerd from Sweden
At the same time, C is the only stable ABI available for Rust.
Apparently it’s called nim.
https://en.m.wikipedia.org/wiki/Nim_(programming_language)
Looking at the Wikipedia article, it seems like it has some weird syntax choices. And even though it compiles to C code, I’m not convinced that it’s as fast as C or Rust, since it has a garbage collector.
Yeah definitely. There needs to be migration options between instances if federation is going to work.
That would be smart. I’m sure there is some sort of toolchain that can go from rust -> openAPI -> markdown -> docs page.
Could be worth looking into over the next few weeks, but personally, I’m very busy with building Lemmy instances at the moment.
The TLDR is that they used to, but they became unmaintained. They recommend autogenerating your openapi/library from the rust code directly, like their typescript library does.
Edge cases are undocumented at the moment, and the devs are focusing on keeping the site up atm instead of making more detailed docs.
There are over 250 endpoints, so don’t try to implement them all by hand, just use a code generator, Rust is very strongly typed and your code generator will get it right the first time.
they need the communities to be able to sync their posts/mod-team with other communities. That way communities aren’t dependent on one site.
Yeah Reddit’s core users are pretty technical. At least the ones who joined before the big popularity boom in the last 5 years. The old school redditors will probably end up on lemmy.
Now with IPv6, we give each continent /12s and then each continent’s RIR gives those out as /32s or /48s to ISPs, who then either pass on the /48s to their customers, or further subdivide them into /64s.
So in a way, we actually are kinda doing this /8 /8 /8 division now, but with blocks many, many times bigger, and then each subnet is 72 quadrillion times bigger, with the ability to have up to 18 quintillion devices.
Other Lemmy sites having access to a cookie that says who you’re logged in as could be a privacy risk for the user. Maybe a browser extension?
The ability to redirect your profile link to your new profile when you switch instances would be nice too. A sort of “inbox-forwarding” option, to continue the email metaphor.
it’s like email. You need a server somewhere to hold your inbox. They should make an easy way to migrate your user to another instance, though.
That sounds really smart. Let communities decide which instances they federate with. The mod team owns the community, not the instance admins.
Lemmings
DON’T LOSE YOUR WAY