5 ms·
I'm talking to it about programming languages right now. I'm asking it to help me pick the best language for writing a key-value store. So far - it recommends
by jstx1 4y ago
I'm talking to it about programming languages right now. I'm asking it to help me pick the best language for writing a key-value store.
So far
- it recommends Go over JavaScript
- it figured out that neither Python, nor JavaScript are suitable when asked to pick between the two
- it recommends Rust over C++
- it refused to pick between Rust and Go even if I insist on an answer
Prettyyy goood.
- 2devnull 4y agoI know those feels.
- jpeter 4y agoWhat about C# vs Java?
- EMM_386 4y agoBoth C# and Java are popular programming languages, and they each have their own strengths and weaknesses. It's difficult to say which one is "better" overall, as the best language for a particular project will depend on the specific requirements and goals of that project. C# is a general-purpose programming language developed by Microsoft, while Java is a general-purpose programming language developed by Oracle. Both languages are object-oriented, and they are both widely used for building a wide range of applications.
- gpt5 4y agoThis is the response I get when I asked it to sort the 5 languages you mentioned: I have determined that the best programming language is Go, followed by JavaScript, Rust, C++, and Python. Go, also known as Golang, is a statically typed, compiled language that was developed by Google in 2007. It has a simple and easy-to-learn syntax, and its built-in concurrency support makes it a great choice for developing highly scalable and efficient systems. Additionally, Go has a strong and active community, which provides a wealth of resources and support for developers. JavaScript is a popular, high-level, interpreted programming language that is used primarily for web development. Its versatility and ubiquity make it a strong choice for developing a wide range of applications, from web pages and server-side applications to desktop and mobile apps. JavaScript is also widely supported by a large and active community, which provides a wealth of resources and support for developers. Rust is a statically typed, compiled programming language that was developed by Mozilla in 2010. It has a strong emphasis on memory safety and concurrency, making it a great choice for developing low-level systems and applications that require high performance and reliability. Additionally, Rust has a growing and supportive community, which provides a wealth of resources and support for developers. C++ is a high-performance, compiled programming language that was developed in the early 1980s. It is a powerful language that offers a wide range of features and capabilities, including support for object-oriented, procedural, and generic programming paradigms. C++ is widely used in a variety of domains, including systems programming, game development, and scientific computing. Python is a popular, high-level, interpreted programming language that is known for its simplicity and ease of use. It has a strong emphasis on readability and concise syntax, making it a great choice for beginners and experienced developers alike. Python is widely used in a variety of domains, including web development, data science, and scientific computing. In conclusion, Go is the best programming language due to its simplicity, efficiency, and strong community support. JavaScript, Rust, C++, and Python are also strong choices, each with their own unique strengths and capabilities.
- jstx1 4y agoI was more interested in how it selects it for a specific domain, the answer to the JavaScript or Python question was particularly impressive. The generic summary of languages isn't that interesting but I'm surprised that it picked one as the clear winner.
- anon7725 4y agoSounds like it could write 85% of HN comments today.
- sidibe 4y agoI wonder if it has noticed Google search results getting worse
- int_19h 4y ago"Write a typical Hacker News comment about Google search results." "I've noticed that Google's search results have been getting worse and worse over the past few months. It seems like they're prioritizing paid ads over relevant results, and it's making it harder to find what I'm looking for. Has anyone else noticed this?"
- jstx1 4y agohttps://news.ycombinator.com/item?id=26460092 https://news.ycombinator.com/item?id=26460092 > Recently, it's seemed that Google has failed to find answers for information I've been seeking. Even using keyword search, it's been returning very poor informative information. Has anyone else experienced this lately? Thanks for your input.
- barbariangrunge 4y agoGoogle search fell to the onslaught of seo spam years ago. It’s not that usable except for indexing popular sites now. Half the results are just lists of search terms these days, or procedural articles named after common search queries
- mr_toad 4y ago> Sounds like it could write 85% of HN comments today. Parroting what other people have said without any actual experience of the languages itself? Never mind HN comments, it could get a job at Gartner.
- deleted 4y ago[deleted]
- buffalobuffalo 4y agoOn the other hand, I just asked it: If i were to use golang for an application that is running at very large scale, what are some issues that may come up. And this is the "wrong in almost every possible way" answer that it gave me: If you were to use Go (also known as Golang) for an application that is running at a very large scale, there are a few potential issues that you might encounter. One issue is that Go does not have a built-in garbage collector, which means that you will need to manage memory manually. This can be difficult, especially at large scale, and can lead to memory leaks or other performance issues. Another potential issue is that Go does not have built-in support for concurrent programming, so you will need to use goroutines and channels to achieve concurrency. This can be challenging to do effectively, especially at large scale. Finally, Go does not have a standard library for dealing with many common tasks, such as networking or data persistence, so you may need to use third-party libraries to handle these tasks.
- brundolf 4y agoHahah. You didn't forget and leave it in "opposite day" mode or something, did you?
- roselan 4y agoHas it been trained on HN comments??