Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think Rust badly needs an AWS SDK as a lot of systems software is being written now in Go...


Like this?

https://crates.io/crates/rusoto/

Haven't tried it yet (backwaters don't usually look kindly on AWS :) ), but that looks like what you're talking about. There are a ton of libraries for Rust these days (relative to the amount of time since 1.0, at least).


Yes, except with ec2 and tons of other missing AWS services support.


Rusoto maintainer here: The different AWS services are added to Rusoto through code generation based on service definitions from the Python project botocore. We're in the process of moving our code generation from Python to Rust, and once that's in place, we'll be adding remaining services pretty quickly.


It's too bad that compiler plugins / libmacro are still so experimental. Once they're stable, the kind of code generation you're doing as a separate step could be done entirely at compile time. I did some preliminary tests with an eye towards an AWS crate, but decided that a crate that only works with nightly and frequently breaks is of dubious value. Still, it's cool that the Rust compiler will eventually be extensible enough to compile json directly.

Anyways, thanks for Rusoto. It's going to make a project I'm starting next month significantly simpler!


Yes, I've been following this issue closely. Nick Cameron is working on a revamped macro system that will replace the current compiler plugin system for the purposes of syntax extensions. It's probably still gonna be a while, unfortunately, since it'll take some time to get that kind of stuff vetted and baked into the language.

Here are some recent posts by Nick on his experiments and progress (in order of publication):

* http://www.ncameron.org/blog/macro-plans-syntax/

* http://www.ncameron.org/blog/procedural-macros-framework/

* http://www.ncameron.org/blog/libmacro/

Pretty much all of his recent blog posts are on the topic, so it's worth browsing through all of them if you're interested.


Great to hear this! I really don't want to migrate from Python to Go, but I'll gladly do Python to Rust! I'm sure I'm not the only one!


I would like to hear why you would not move to Go... I am a Python guy.


Go lacks an elegant and predictable syntax, unlike Python and Rust. Also, Rust is more potent as a language, it's safer, and it has crates - I prefer a centralized package management as it helps discovery, rating, analytics, and other things we know work great with RubyGems, PyPI, and NPM.


Great to hear! We are moving more and more to AWS at work, and it would be great to use Rust with it!



That has around 5% of the full AWS SDK coverage...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: