Hacker News new | past | comments | ask | show | jobs | submit login

Anybody having any luck with this for rust? Tried to prompt it to give me a MQTT hello world and instead it just keeps suggestion more & more commented out imports:

// Send string via mqtt

// use async_std::task;

// use async_std::prelude::;

// use async_std::net::TcpStream;

// use async_std::io::prelude::;

// use async_std::io;

// use async_std::sync::Mutex;

// use async_std::sync::Arc;




Possibly confused by having multiple ways to implement this solution? Seems like languages that have many ways to accomplish something, and being trained on that data, might have issues providing a proper solution. I'm fairly sure a bug report would help in this case (if you want to help them, you might just be experimenting; nothing wrong with a skeptical look)




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

Search: