Viewing profile — killercup
killercup
HN member- Joined
- Sat, May 12, 2012, 2:04 PM UTC
- HN karma
- 939
- Public activity
- 211 items
- HN profile
- View on Hacker News ↗
About killercup
Recent public activity
-
comment
Comment #48708305
Is this the way forward for the EU? Genuinely curious: Are there any EU providers that host the very good recent Chinese open weight models? Like, an EU-based alternative to DeepSe…
-
comment
Comment #38179447
Because this code block looks quite complex, I want to add that it can also be just smol::block_on(async { println!("I'm async!"); }); (I thought tokio had a helper like this too b…
-
comment
Comment #27506992
Ripgrep includes one of the most prominent algorithms from Hyperscan internally for some expressions. Longer story: Ripgrep uses Rust's regex library, which uses the Aho-Corasick l…
-
comment
Comment #26623168
> If the work is done I expect Rust to be faster than C and C++ for the same reason that C++ can sometimes be faster than C: a more advanced type system can allow better optimizati…
-
comment
Comment #25580526
Technically, he only got tested the day after Christmas, so I'm assuming they picked the more dramatic date.
-
comment
Comment #25580507
I'm implying they did not read the article.
-
comment
Comment #25580452
There's no need to take that bet if you can instead just read the article, however. No idea why you bring up a German statistic.
-
comment
Comment #25580403
This is as suprising as the amount of comments assuming the nurse is female. Edit for those who just comment after reading the headline: The article clearly states the nurse is Mat…
-
comment
Comment #25150785
dupe of https://news.ycombinator.com/item?id=25149969
-
comment
Comment #23645851
> I don’t understand what a ‘packer’ is You've found the right series of articles then!
-
comment
Comment #23645313
Start at part 1. No, he doesn't give you an answer, but you might just find it interesting enough to no longer have the qusstion.
-
comment
Comment #23611056
Author here. Please note that the "cheap" in the title refers to the effort needed as well as how sophisticated the tricks are; benchmarking and optimizing your algorithms is still…
-
comment
Comment #22047906
Tar was released in '79 iirc, so it's about the same age.
-
comment
Comment #21818460
The RFC for adding `?` to the language might be a good start: https://rust-lang.github.io/rfcs/0243-trait-based-exception-...
-
comment
Comment #21613834
Hi, author of large parts of this here! This was written in the lead up to the Rust 2018 edition release last year, but it should still be pretty much up-to-date. There is a lot of…
-
comment
Comment #21552549
> Anyone have any ideas about which open source codebases UTF-8 validators exist in? Rust's std library -- the canonical way to read a text file to a string is to (implicitly) use …
-
comment
Comment #20600632
(2017)
-
comment
Comment #20123056
Not sure. Having the ability to abstract over tuples (using a similar mechanism as HLists for example) would help.
-
comment
Comment #20109073
I can't speak for the actix-web maintainers but I did find this in their examples: #[get("/resource1/{name}/index.html")] fn index(req: HttpRequest, name: web::Path ) -> String { p…
-
comment
Comment #20108996
Correct. Fun fact: The amount of traits implementations that need to be generated to support tables with 128 columns actually makes diesel an interest benchmark of the Rust compile…
-
comment
Comment #19516085
The simple builder pattern often looks like a lot of boilerplate, I agree. But you can easily crank the coolness of it up a notch by using one of these properties: - Hide the field…
-
comment
Comment #18943854
Took me a while to find it, but Rust's iterators have an `.inspect` method that gives you a read-only reference, so println debugging works fine. For more advanced tap-like stuff, …
-
comment
Comment #18786032
Scroll down: You can use the cv04 font feature to change the style of the lowercase l!
-
comment
Comment #18392041
This also makes incremental compilation faster, doesn't it?
-
comment
Comment #18392014
> Is there something genuinely computationally harder about compiling Rust? I'm not sure. Here's what I know: Rust has a complex type system. It also compiles whole packages (crate…