Live data from Hacker News

General Availability of the AWS SDK for Rust

aws.amazon.com

1–10 of 61 posts

Re: General Availability of the AWS SDK for Rust

#4
post #3
post #2

Hello! Me and some other folks who work on the Rust SDK will be around today answering questions in the comments.

Will there be any support for Wasm as a target for compilation?

Why would this be specific to the SDK? If the code is Rust without any native libraries being linked, WASM should work out of the box.

Re: General Availability of the AWS SDK for Rust

#6
post #3
post #2

Hello! Me and some other folks who work on the Rust SDK will be around today answering questions in the comments.

Will there be any support for Wasm as a target for compilation?

Yep! There are actually examples that use Web Assembly: https://github.com/awslabs/aws-sdk-rust/tree/main/examples/w...

Re: General Availability of the AWS SDK for Rust

#7
post #4
post #3

Earlier quoted context omitted.

Will there be any support for Wasm as a target for compilation?

Why would this be specific to the SDK? If the code is Rust without any native libraries being linked, WASM should work out of the box.

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!

Re: General Availability of the AWS SDK for Rust

#8

What are some valid reasons why people wouldn't now use these rust libraries and extend them to their preferred language? Maintaining clients is tedious work and prone to abandonment.

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.

Re: General Availability of the AWS SDK for Rust

#9
post #2

Hello! Me and some other folks who work on the Rust SDK will be around today answering questions in the comments.

Thanks for showing up and answering questions. Congratulations on the release.

What kind of plans for support of Rust's evolving async ecosystem?

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? See example for Containers: https://github.com/aws/containers-roadmap/projects/1

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 :-)

Re: General Availability of the AWS SDK for Rust

#10
post #4
post #3

Earlier quoted context omitted.

Will there be any support for Wasm as a target for compilation?

Why would this be specific to the SDK? If the code is Rust without any native libraries being linked, WASM should work out of the box.

I wish this was true but it isn't.
Post reply on HN