HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rusbus

1,238 karmajoined 12 ปีที่แล้ว
https://rcoh.me

Submissions

Show HN: Dial9, a tool for diagnosing p99+ performance in Rust programs

github.com
1 points·by rusbus·18 วันที่ผ่านมา·0 comments

Three bugs that aren't in dial9

dial9-rs.github.io
2 points·by rusbus·2 เดือนที่ผ่านมา·0 comments

dial9: A microscrope for Tokio (and Rust applications in general)

github.com
1 points·by rusbus·2 เดือนที่ผ่านมา·1 comments

Metrique: A high performance Rust metrics library designed for wide events

github.com
2 points·by rusbus·6 เดือนที่ผ่านมา·0 comments

Metrique: A new high performance Rust metrics library from AWS

github.com
3 points·by rusbus·10 เดือนที่ผ่านมา·0 comments

comments

rusbus
·9 วันที่ผ่านมา·discuss
This is exciting because the effect size is so large. But as the author's acknowledged, selection bias is nearly impossible to control for in this non-randomized study:

> and lacks randomized controls. Self-selection is the central threat: students who complete more quizzes may be more motivated or higher-performing generally

But this is still a strong result. I'm excited to see more in this space.
rusbus
·2 เดือนที่ผ่านมา·discuss
Two years ago someone told me "I wish I could understand what Tokio is actually doing."

This really stuck with me and earlier this year I had both an idea and the time to try to make it happen. I think with dial9 that is finally possible. dial9 is a system to pull in a huge amount of events, very efficiently and analyze them later. Tokio is just one source of those events, but its a very important one.

Once we had Tokio, I realized we could also pull in lots of other sources as well; Linux kernel events, application events, tracing etc. etc.

Folks have already had good luck using dial9 to find tricky issues in prod.
rusbus
·10 เดือนที่ผ่านมา·discuss
Does anyone else find it incredibly ironic that this article summarizing the paper was obviously written with AI?

All the headings and bullets and phrases like "The findings are clear:" stick out like a sore thumb.
rusbus
·ปีที่แล้ว·discuss
perhaps you did not read the post—the author attempted layer-by-layer first but discovered it was impossible to get a smooth final result.

This is apparently a well known issue among people who create resin-cast structures.
rusbus
·ปีที่แล้ว·discuss
Another useful library in this space that allows you to avoid manually writing bindings is https://github.com/duchess-rs/duchess
rusbus
·2 ปีที่แล้ว·discuss
TLDR: Install a wifi microcontroller _inside_ a TI-84. Make a little app that can talk to ChatGPT.
rusbus
·3 ปีที่แล้ว·discuss
How crazy is the build chain these days? Well, to build it in FIPS mode you need a Go compiler!
rusbus
·3 ปีที่แล้ว·discuss
The verbatim responses come as part of "Browse with Bing" not the model actually verbatim repeating articles from training data. This seems pretty different and something actually addressable.

> the suit showed that Browse With Bing, a Microsoft search feature powered by ChatGPT, reproduced almost verbatim results from Wirecutter, The Times’s product review site. The text results from Bing, however, did not link to the Wirecutter article, and they stripped away the referral links in the text that Wirecutter uses to generate commissions from sales based on its recommendations.
rusbus
·3 ปีที่แล้ว·discuss
The Rust SDK does not currently use the CRT under the hood. The CRT is a high performance C-Library for fast HTTP connections (and a lot more).

For S3, there is a meta-layer that interceps requests to S3 and converts them into ranged-gets and multipart uploads for parallelization.

It's quite complex and can also use significantly more memory, but it does allow for *much* faster uploads and downloads in some circumstances.
rusbus
·3 ปีที่แล้ว·discuss
Probably the biggest one is "batteries included but replaceable." The Rust ecosystem is still maturing, so we did a lot of work to make reasonable default choices but still allow customers to make different ones.

Some of our other design tenets are here: https://smithy-lang.github.io/smithy-rs/design/tenets.html
rusbus
·3 ปีที่แล้ว·discuss
It's on our radar—one of the biggest issues is that some of the services like EC2 are absolutely massive. We're investigating ways for customers to only compile the operations they need, etc.
rusbus
·3 ปีที่แล้ว·discuss
if you use other Async runtimes, you need to "wire them up", in this case by providing a "sleep" implementation. I'd strongly recommend using Tokio, especially if you're a beginner. I think the "beefy" statements are not necessarily accurate. You can use it as a single-threaded runtime if you want. Tokio is not going to have a significant impact on your compile times or binary size (given you're already using the SDK!)
rusbus
·3 ปีที่แล้ว·discuss
The Rust SDK is built on top of the smithy-rs code generator. On the service coverage front, you'll find nearly 100% parity—There are some legacy APIs that aren't supported. It also doesn't have many "high level libraries" (e.g. S3 transfer manager) that can find for other languages.

New services will come out the same day as all other SDKs–All SDKs utilize the same automated system to deploy new releases.

The only exception is services which require extensive custom code. We're still catching up on those for the Rust SDK.
rusbus
·3 ปีที่แล้ว·discuss
> What kind of plans for support of Rust's evolving async ecosystem?

We were hoping async-function-in-trait would land before GA, however, we have a plan to add support in a backwards compatible way when it's released.

> Any particular reason why the public roadmap does not show the columns similar to "Researching", "We're Working On It" like the other similar public AWS Roadmaps?

Our roadmap has unfortunately been in a state of disrepair for some time. We're hoping to get it cleaned up and accurate post GA.

> Would be nice to have fully working examples on Github, for most common scenarios across most AWS services. This is something that historically AWS SDKs have been inconsistent on. Just a request not really a question :-)

There are lots of examples here [1], some simple, some quite complex. If there's something you have in mind, please file an issue! Having great examples is one of our priorities.

[1]: https://github.com/awslabs/aws-sdk-rust/tree/main/examples
rusbus
·3 ปีที่แล้ว·discuss
Not all languages have a great interop story with Rust. Binding the JNI is especially tricky, for example. Furthermore, when performance isn't important, the need to package and compile Rust code may be an unnecessary hassle.
rusbus
·3 ปีที่แล้ว·discuss
Although this is true in theory, in practice you need to be very careful when writing code if you want to target WASM. One example: `SystemTime::now` will panic on some WASM platforms!
rusbus
·3 ปีที่แล้ว·discuss
Yep! There are actually examples that use Web Assembly: https://github.com/awslabs/aws-sdk-rust/tree/main/examples/w...
rusbus
·3 ปีที่แล้ว·discuss
Hello! Me and some other folks who work on the Rust SDK will be around today answering questions in the comments.