课程: Advanced AI Analytics on AWS: Amazon Bedrock, Q, SageMaker Data Wrangler, and QuickSight
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Converting Python analytics code to Rust using GenAI
课程: Advanced AI Analytics on AWS: Amazon Bedrock, Q, SageMaker Data Wrangler, and QuickSight
Converting Python analytics code to Rust using GenAI
- [Instructor] Here we have a Python Rust performance race. In this example I have a Fibonacci computation and we run it in Python and it takes 13.5 seconds and Rust, it's about a fifth of a second. And if we do a simulation, you can see that it's just running laps around the Python version of the code. And there's a pretty big difference in this particular version. So you can make the argument, well just use some other C library or rewrite it in C, et cetera. But you could also make the argument, why not just use one language? Why not not have to deal with packaging and have a binary that is extremely fast and also very secure because it's a modern compiled language. So there are some pretty significant problems with legacy scripting languages like Python that Rust fix. So how would we do this? Here we have DeepSeek, and in this case, DeepSeek allows us to paste some Python code in and we can say, you know, convert to Rust for example, we can say, you know, this is slow. Give me a…
内容
-
-
-
Introduction to analytics with AI on AWS5 分钟 42 秒
-
(已锁定)
Visualizing Rust and Bedrock analytics integration2 分钟 36 秒
-
(已锁定)
Hands-on demo: Bedrock analytics with Rust5 分钟 28 秒
-
(已锁定)
Converting Python analytics code to Rust using GenAI4 分钟 21 秒
-
(已锁定)
Building an intelligent code transformation pipeline2 分钟 39 秒
-
(已锁定)
Implementing code instrumentation with GenAI on AWS8 分钟 42 秒
-
(已锁定)
Performance pipeline integration with GenAI3 分钟 8 秒
-
-
-