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

July pfp
July
@july
Sounds about right Python is the glue C++ is the coprocessor https://warpcast.com/vitalik.eth/0xda32fed8
1 reply
0 recast
1 reaction

Kristin Piljay  pfp
Kristin Piljay
@kristinpiljay
I was curious as I've always wanted to buy a robot kit and learn how to program it (like a robot dog or something like that) and I thought Python would be good for that. I like its simplicity, although really the only other programming language I know is javascript as I never studied C or C++. Unless that is what I learned in high school. it was sooo long ago and the class was just called "computers." 😂
1 reply
0 recast
1 reaction

July pfp
July
@july
Python is good for that
1 reply
0 recast
1 reaction

Kristin Piljay  pfp
Kristin Piljay
@kristinpiljay
Like for this thing? https://www.petoi.com/products/petoi-bittle-robot-dog i wish I could try one without having to buy it though. Maybe there's a used one. It's come down in price from before though, when I first discovered it back in 2019. I've always been fascinated by robots. Is it what you studied in university? Robotics?
1 reply
0 recast
0 reaction