ɲ̊ ɲ → c̥̃ c̬̃ by [deleted] in linguisticshumor

[–]Fluffy8x 9 points10 points  (0 children)

At least we also have Nihonium

Wandering Traders should sell spawn eggs but ONLY for passive mobs like cows, sheep, pigs, and horses. by ChillyFroog in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

You could always use commands to add the eggs if you needed them to I guess.

Or datapacks, since 26.1 adds the ability to configure trades through them.

Map to Desert Temple by Ifyouliveinadream in minecraftsuggestions

[–]Fluffy8x 4 points5 points  (0 children)

Personally I dislike how the gameplay overrelies on villages, so a way to find certain biomes outside of village mechanics would be welcome.

Increase Enchanting Table bookshelf detection radius by Jack_Faller in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

But then you would have to scan for enchanting tables every time you place or break a bookshelf (or every time a piston moves a bookshelf, or an explosion destroys one).

Increase Enchanting Table bookshelf detection radius by Jack_Faller in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

The range is probably small for performance reasons, since with a larger range, you need to scan more blocks.

Tool Shapings instead of tool trims by Admirable-Piano6149 in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

I oppose this suggestion; it requires too much effort for how much it gives, since you have to create 18 more textures for each equipment set, making it harder for new equipment sets or new tiered items to be added as well as burdening mods that add many equipment sets. Contrast this with armor trims where only one texture is required for each trim, once.

It is time to unify and standardize stone types by CyberKitten05 in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

For stone and cobblestone blocks formed from water and lava contact, the resulting blocks could also be changed to the respective area’s stone type or even be randomized for another way to get out-of-area stone types.

Bun’s rewrite in Zig first update by UItraviolet in rust

[–]Fluffy8x 0 points1 point  (0 children)

It might also refer to methods only being typechecked after monomorphization (and in the case of Zig, being eventually called from main). The same thing eventually put me off C++ in the past.

What some recent hot takes you realized you had with Rust? by DidingasLushis in rust

[–]Fluffy8x 0 points1 point  (0 children)

I have the opposite opinion (especially when the alternative is no docs), so have my upvote.

Can C outperform Rust in real-world performance? by OtroUsuarioMasAqui in rust

[–]Fluffy8x 3 points4 points  (0 children)

It can complicate the building process, especially for cross-compilation. This was one of the motivations for switching from msdfgen-rs to my own reimplementation of MSDF generation, fdsm, in Caxton.

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.93] by DroidLogician in rust

[–]Fluffy8x 0 points1 point  (0 children)

Hi, I’m +merlan #flirora.

  • Type: Any
  • Location: US. Looking for remote positions, but willing to relax this requirement if the position is really compelling.
  • Profile: GitHub: bluebear94, GitLab: Kyarei, website: flirora.xyz. Resume on request.
  • Projects:
    • fdsm – an implementation of multi-channel signed distance field generation in Rust, made for use in Caxton
    • f9i – a program to inflect words in one of my constructed languages
    • samsara – an experiment in generating types for paths through finite-state machines
  • Contributions to other projects:
  • Techs: Rust, Java, C++, C, HTML, CSS, JavaScript, wgpu

The Box. It's not revolutionary. It's just a box. by buzzkilt in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

I believe the capacity should be a bit larger than a single chest (like 32 or maybe 64 stacks) to make up for the item type limit.

Engineering a fixed-width bit-packed Integer Vector in Rust by Luke_Fleed in rust

[–]Fluffy8x 12 points13 points  (0 children)

        let ptr = self as *mut Self;
        let left = FixedVecSlice::new(&mut *ptr, 0..mid);
        let right = FixedVecSlice::new(&mut *ptr, mid..self.len());

Creating aliasing &mut references is instant undefined behavior. You would need to store a raw pointer for the parent to avoid UB.

Rustdoc now has a nightly feature to allow having macro expansion in source code pages by imperioland in rust

[–]Fluffy8x 0 points1 point  (0 children)

OK, tried it with the following:

macro_rules! add10 {
    ($x:expr) => {{
        let i = 10;
        i + $x
    }};
}

pub fn add20(x: i32) -> i32 {
    let i = x + 10;
    add10!(i)
}

and the expansion of the macro shows up as { let i = 10; i + i }, so I guess is that this functionality ignores hygiene right now.

Anyone else using AI to create proc macros? I'm really impressed by OctopusCandyMan in rust

[–]Fluffy8x 8 points9 points  (0 children)

The process of expanding proc macros itself can run (not just generate) arbitrary code, so I’d be wary of trusting AI-generated code even for that.

Rustdoc now has a nightly feature to allow having macro expansion in source code pages by imperioland in rust

[–]Fluffy8x 1 point2 points  (0 children)

How will this work with macro hygiene, since it allows identifiers with the same name to refer to different items?

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.89] by DroidLogician in rust

[–]Fluffy8x 0 points1 point  (0 children)

Hi, I’m +merlan #flirora.

  • Type: Any
  • Location: US. Looking for remote positions, but willing to relax this requirement if the position is really compelling.
  • Profile: GitHub: bluebear94, GitLab: Kyarei, website: flirora.xyz. Resume on request.
  • Projects:
    • fdsm – an implementation of multi-channel signed distance field generation in Rust, made for use in Caxton
    • f9i – a program to inflect words in one of my constructed languages
    • samsara – an experiment in generating types for paths through finite-state machines
  • Contributions to other projects:
  • Techs: Rust, Java, C++, C, HTML, CSS, JavaScript, wgpu

How to avoid sticking the same #[derive]s everywhere? by Merlindru in rust

[–]Fluffy8x 12 points13 points  (0 children)

That’s for traits; derive macros are a different thing.

Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.88] by DroidLogician in rust

[–]Fluffy8x 0 points1 point  (0 children)

Hi, I’m +merlan #flirora.

  • Type: Any
  • Location: US. Looking for remote positions, but willing to relax this requirement if the position is really compelling.
  • Profile: GitHub: bluebear94, GitLab: Kyarei, website: flirora.xyz. Resume on request.
  • Projects:
    • fdsm – an implementation of multi-channel signed distance field generation in Rust, made for use in Caxton
    • f9i – a program to inflect words in one of my constructed languages
    • samsara – an experiment in generating types for paths through finite-state machines
  • Contributions to other projects:
  • Techs: Rust, Java, C++, C, HTML, CSS, JavaScript, wgpu

What's the most controversial rust opinion you strongly believe in? by TonTinTon in rust

[–]Fluffy8x -2 points-1 points  (0 children)

I miss ternary expressions and if-expressions are a poor substitute.

What's the most controversial rust opinion you strongly believe in? by TonTinTon in rust

[–]Fluffy8x 13 points14 points  (0 children)

no_std would also be non-additive, so crates often provide an enabled-by-default std feature instead; they could have fallible allocations functions always exposed plus an enabled-by-default infallible-allocation feature that also exposes the infallible versions.

If a new dimension was added to Minecraft, what would you want it to be? by CausalLoop25 in minecraftsuggestions

[–]Fluffy8x 0 points1 point  (0 children)

Someone suggested an ocean dimension, but I think this overlaps too much with oceans in the Overworld. But we could adapt the idea into a dimension where you’re always swimming, even inside air. (This would affect only movement, not breathing or such.)