r/Python • • Oct 21 '22

Discussion Will Rust Take over Data Engineering?

https://airbyte.com/blog/rust-for-data-engineering
0 Upvotes

15 comments sorted by

4

u/thequietcenter Oct 21 '22

1

u/sspaeti Oct 21 '22

Cool, thanks for taking the time and answering to detailed. Clearly, we are working on different projects :)

2

u/jabellcu Oct 21 '22

Will there be pandas in rust? If so, there might be a chance.

5

u/sspaeti Oct 21 '22

Yes, there is :) See the article:

Polars: It's a faster Pandas. Probably going to compete with DuckDB (?)

22

u/kenshinero Oct 21 '22

Can't wait to use libraries in my python code, blissfully unaware that they have been compiled with Rust and not C/C++

3

u/kyleekol Oct 21 '22

That’s the beauty of it no?

2

u/sspaeti Oct 21 '22

Has any of you played with Rust already? As a long-time Python user and someone who enjoys Python with all the libraries for data engineering, I gave Rust a try. I don't think it will replace Python, but I guess more components will be implemented in Rust with a thin Python wrapper.

That said, I still think it will play a significant role in data engineering in the future; still early, but some signs (ideal to catch errors early, most loved languages) are there. I'm curious to hear your opinions, more on mine, in the linked article.

4

u/thedeepself Oct 21 '22

I don't think it will replace Python, but I guess more components will be implemented in Rust with a thin Python wrapper.

What makes you think this?

5

u/AurelianoBuendato Oct 21 '22

Lots of the most popular python libraries are implemented in C/C++. Rust is meant to replace those languages. So it's not at all a stretch that in the near future there will be lots of python libraries written in Rust - the pipes, then, written in python, but as a "thin wrapper" around the Rust libraries. Like they are now, basically, with C/C++.

7

u/tms102 Oct 21 '22

I play around a lot with Rust and really like it. However, I have a software engineering background. I can't see the data engineers or data scientists I work with picking up Rust any time soon.

Besides, for the types of projects we do I don't really see an advantage that would make it worth the effort (to train people etc).

1

u/thedeepself Oct 21 '22

Would you say that it is a better replacement than c and c++ for the same task? Or what would you choose over or c++ for the same task?

3

u/tms102 Oct 21 '22

Depends on the task. Rust's library isn't as extensive and mature as C and C++ has.

Having said that, I like the ergonomics of Rust more (package manager, syntax, compiler errors/hints, etc).

1

u/cliffardsd Oct 21 '22

Great article! Lots of depth, well researched and like some of those links too!

1

u/sspaeti Oct 21 '22

h, well researched and like some of those links too!

Thanks so much 😍