Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Qwuke
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
Hijacking multi-agent systems in your PajaMAS
(blog.trailofbits.com)
7 points
by
Qwuke
1y ago
|
1 comments
32.
▲
by
Qwuke
1y ago
Yes, it's pretty disappointing for a seemingly big improvement over SOTA to be commercially licensed compared the previous version.. At least in the press release they're not portraying it as open source just because it's on
33.
▲
by
Qwuke
1y ago
With a framework like Axum, yes, but with Rocket, no - you can just declare synchronous functions and pass them as a route handler, e.g.: https://github.com/Qwuke/recurse-ring/blob/main/src/main.rs#.
34.
▲
by
Qwuke
1y ago
Sorry, so you can use synchronous functions for writing middleware and routes, but the rocket core does use tokio. Not all async Rust webframeworks let you do away with async and futures entirely in your business logic.
35.
▲
by
Qwuke
1y ago
Rust typically beats Go web frameworks on tech empower performance benchmarks, if you're curious where languages typically rank up in terms of web framework performance. https://www.techempower.com/benchmarks/#sect
36.
▲
by
Qwuke
1y ago
When you have 20 routes each being terminated with redundant `res.json(success);\n MiddleWare::Next` I think you can imagine why someone might see it as not lightweight in terms of unnecessary boilerplate - which most Rust webframeworks, as
37.
▲
by
Qwuke
1y ago
You're right, it doesn't really seem necessary and makes the responses of the route end up as side effects rather than part of the return type of the route functions. Most web frameworks in Rust don't make responses a side ef
38.
▲
by
Qwuke
1y ago
Yes, if you want a mature web framework that doesn't force you to use async then Rocket already exists, which is multithreaded and quite performant - and now allows you to use async if you want to. Feather seems fundamentally single th
39.
▲
by
Qwuke
2y ago
Can you explain how this would work if there weren't optional fields in your struct? Because if you're just suggesting that you use optional fields, that already works with vanilla serde. Also, defaults for fields are already a va
40.
▲
by
Qwuke
2y ago
It did get 29 points in 3 minutes, which seems like a lot even for a fan favorite, but is also consistent with previous OpenAI announcements here.
41.
▲
by
Qwuke
2y ago
Haha yes, I misphrased a bit but that's what I meant when I said you'll need to use C++ to use the stdlib. It's not quite pure embedded Rust but yes it does work.
42.
▲
by
Qwuke
2y ago
Compared to ESP8266, there's generally pretty good ESP32 support for Rust, but you'll likely need to use in your C++ toolchain if you want to use the standard library. no-std in Rust for ESP32 isn't terrible in my experience,
43.
▲
by
Qwuke
3y ago
I met Antithesis at Strangeloop this year and got to talk to employees about the state of the art of automated fault injection that I was following when I worked at Amazon, and I cannot overstate how their product is a huge leap forward com
44.
▲
by
Qwuke
3y ago
So Rust code may look jarring in-general compared to dynamic languages, and this is because Rust is a strongly typed language, but on top of that its type system also gives guarantees around data races that other typed languages don't
45.
▲
by
Qwuke
3y ago
>Rocket was created by Sergio Benitez. He is almost exclusively the only contributor to the project. Not because people don't want to contribute to it, but because the author wants to have it as sort of his child's brain. I
46.
▲
by
Qwuke
3y ago
I'd say it's more of an opinionated approach to a web framework, which reduces boilerplate on a lot of simpler applications. In order to facilitate this, it ends up creating more of a Domain Specific Language (DSL) using macros an
47.
▲
by
Qwuke
3y ago
I'm not sure I understand this - I think having different options for web frameworks is great for Rust! Actually, it's probably more useful for Rust than other languages because Rust ends up being used by such a different range of
48.
▲
by
Qwuke
3y ago
So glad to see 0.5 out of release candidacy! I really appreciated how async functions and event streams were handled in 0.5, and just seeing this version land will make it so much easier to justify using Rocket in production. I still think
49.
▲
by
Qwuke
3y ago
This is a fantastic reading, kudos to you! I'll be sharing this with my reading group, I'll let you know if they've any feedback.
50.
▲
by
Qwuke
3y ago
I love the design of the site and it's really a dream for reading translated poetry! I enjoy reading a handful of Italian poets (and translated poetry in general), and a website like this for German, Polish, etc poetry would be lovely.
51.
▲
by
Qwuke
3y ago
I've not had much pain with semver violations in the Rust ecosystem (compared to say people abusing the yank functionality of crates.io), but semver is easy enough to get wrong where I might have just been lucky. This is such a cool pr
52.
▲
by
Qwuke
6y ago
Kicks, fraidycat is great. Is there text anywhere of the current thoughts on what fraidycat 2: the desktop service may look like?
53.
▲
by
Qwuke
6y ago
As someone who was on the fence about it, I feel exactly the same. The way the Rust maintainers and proponents of post-fix await helped create broader community consensus was impressive in itself too.
54.
▲
by
Qwuke
6y ago
I think there are good improvements to be had in the async side of the ecosystem, but I do agree that Rust error handling is the most delightful of any language I've regularly used.
55.
▲
by
Qwuke
6y ago
If hibp started using something that guarantees k-anonymity when checking for an email, like their password service does[1], then I think it'd be possible to keep the email unique. 1: https://www.troyhunt.com/ive-just-l
56.
▲
by
Qwuke
6y ago
My South African cousins have desperately wanted an African Fortnite server. When playing on EU servers their latency was around 200ms on a good day iirc.
57.
▲
by
Qwuke
7y ago
The differential dataflow codebase was really polished and optimized last I saw - when they say "demand milliseconds" I think they put the effort into delivering that. Additionally, given it will be Apache licensed in 4 years, I t
58.
▲
by
Qwuke
7y ago
I absolutely agree - there's a lot of explaining when you have to choose the less traveled path, and it hurts there's a perception that both languages are intended for 'academic' or 'niche' purposes. Why Rust i
59.
▲
by
Qwuke
7y ago
I don't think the 'Rust is not as far along as backend web Haskell' is true in my (minimal) experience. I've worked at one very small company and one very large company, and at both Rust was a much more serious/comm
60.
▲
by
Qwuke
7y ago
I think that's a great description! Every 'batteries included' Rust web framework I've used so far makes the same boilerplate/magic trade off as Rails, though some magic has felt more intuitive than others. Hyper do
More ›