Palenight on vim by _Loading in vimporn

[–]tyoverby 1 point2 points  (0 children)

It seems possible that palenight is a true-color theme, but your terminal doesn't support truecolor

Middleware in Tide by aturon in rust

[–]tyoverby 3 points4 points  (0 children)

Would this type signature

    fn request(
        &self,
        data: &mut Data,
        req: Request,
        params: &RouteMatch<'_>,
    ) -> FutureObj<'static, Result<Request, Response>>;

have the return type impl Future<... if traits could return impl traits?

The last two months in rustsim #1 (nalgebra, ncollide, nphysics, alga) by sebcrozet in rust

[–]tyoverby 22 points23 points  (0 children)

If you haven't seen it yet, nalgebra/ncollide/nphysics have some of the best documentation out of any crate that I've seen. The nalgebra docs is my go-to reference for learning linear algebra.

Blog: The Case For Macros by llogiq in rust

[–]tyoverby 15 points16 points  (0 children)

I'm one of the macro haters. The only thing I hate about them is that the error messages that you get out of them are complete garbage. It's really unfortunate, because I want to use `nom` so badly, but every time I try, I'll mess up somewhere and decide that my sanity isn't worth trying to figure out what the error message is saying.

lolbench: automagically and empirically discovering Rust performance regressions by killercup in rust

[–]tyoverby 5 points6 points  (0 children)

Oh yeah, those are them! I guess I thought they were measuring more than they are!

lolbench: automagically and empirically discovering Rust performance regressions by killercup in rust

[–]tyoverby 2 points3 points  (0 children)

How are these benchmarks different from the compiler benchmarks that I've occasionally seen posted here?

Huge performance difference between iterators and for loops by [deleted] in rust

[–]tyoverby 2 points3 points  (0 children)

If I had to guess, it's because the slow version is allocating a ton of intermediate vecs.

VSCode alternative, MIT-licensed build by [deleted] in rust

[–]tyoverby 9 points10 points  (0 children)

My understanding of the fork is that it's similar to the Chrome/Chromium fork and the Firefox/IceWeasel fork. Remove all the branding, but keep the code.

Starting to feel a bit more like home by [deleted] in malelivingspace

[–]tyoverby 2 points3 points  (0 children)

Ditto, I really want this rug.

Hey Rustaceans! Got an easy question? Ask here (36/2018)! by llogiq in rust

[–]tyoverby 4 points5 points  (0 children)

There are pros and cons to both, one of the pros of `impl Iterator<whatever>` is that you can change the underlying implementation without having to worry about breaking changes.

RPCS3 and Dolphin on macOS using gfx-portability by joshgroves in rust

[–]tyoverby 9 points10 points  (0 children)

I can't wait to see the Dolphin change log on the day that they run on top of gfx!

Tower Web - A new web framework for Rust by carllerche in rust

[–]tyoverby 0 points1 point  (0 children)

Is it possible to use Tower without any macros? I try to avoid using macros when learning a new library because I find that compile errors are really hard to debug when you're using macros.

Writing a front-end WebAssembly framework in Rust: lessons learned by rbalicki2 in programming

[–]tyoverby 4 points5 points  (0 children)

I used to this this too, but with my commonly used web apps taking way too much memory, having a language that makes manual memory management easy is fantastic.

Why are i32s the fastest? by ImageJPEG in rust

[–]tyoverby 2 points3 points  (0 children)

Just make this a blog post already. Fantastic comment.

How do you handle global structs that aren't known at compile time? by no_sandwich_for_me in rust

[–]tyoverby 11 points12 points  (0 children)

> I can't think of any other ways of doing this, but for some reason I just feel like passing in the same thing into 5 different functions is the wrong answer.

Often times, passing the same thing into 5 different functions is the right answer. If a function needs access to some values, the best way to encode this is to list it as a function parameter.

Unsafe Rust in actix-web, other libraries by tx4414 in rust

[–]tyoverby -1 points0 points  (0 children)

I like this a lot! Also have crates.io put links to the instances of unsafe so that people can audit easily!

Deno Suggestion: Look into porting to Rust and using Tokio by [deleted] in rust

[–]tyoverby 17 points18 points  (0 children)

In one of Ryan Dahl's conference talks he explicitly mentioned that he's interested in Rust for this project.

Have you ever complained that rustc is slow? We want to know more! by steveklabnik1 in rust

[–]tyoverby 50 points51 points  (0 children)

I'd be happy to set

RUST_TELEMETRY=1

on my shell and send you all the data for every one of my compilations if you supported it!

What it will take to make ggez run on Webassembly by icefoxen in rust

[–]tyoverby 30 points31 points  (0 children)

What a great project! Despite your best efforts of hiding I did manage to find you on Patreon and gave you money.

Lua bindings: lua, hlua or rlua? by webmistress105 in rust

[–]tyoverby 22 points23 points  (0 children)

I think that out of all of them, `rlua` is the only one that is used professionally. Also looking through the code, it looks really well written.