Content pfp
Content
@
0 reply
0 recast
0 reaction

July pfp
July
@july
1/n Here's an extensive overview & thread and a few thoughts on Robotics projects and whether they should use Rust or C/C++ or Python
3 replies
4 recasts
21 reactions

July pfp
July
@july
2/n Use C++
2 replies
0 recast
19 reactions

Shashank  pfp
Shashank
@0xshash
related: learned that most of SearchGPT from openai is in C++
1 reply
0 recast
2 reactions

July pfp
July
@july
Honestly everyone hates on C++ but the world of the past 40 year is built on it
1 reply
0 recast
0 reaction

Kristin Piljay  pfp
Kristin Piljay
@kristinpiljay
I was going to ask you why since I like Python, but I asked ChatGPT and it explained it (pros and cons of both), so it makes sense to me. I also asked for a comparison for different tasks. In conclusion, it said: For Prototyping and AI/ML Tasks: Python is generally better due to its ease of use and vast array of libraries, especially for tasks like vision processing and machine learning. For Real-Time and Performance-Critical Applications: C++ is more suitable because of its speed and low-level hardware access. For ROS Development: Both languages are useful, but you might find yourself using Python for higher-level processes and C++ for performance-intensive modules. In practice, many robotics projects use a combination of both languages. Python can be used for high-level logic, and C++ can handle real-time, hardware-level tasks. Do you agree?
1 reply
0 recast
0 reaction