• 0 Posts
  • 32 Comments
Joined 3 months ago
cake
Cake day: July 29th, 2024

help-circle


  • It’s amazingly good at moderating user content to flag for moderator review. Existing text analysis completely falls down beyond keyword filtering tbh.

    It’s really good at sentiment analysis. Which is great for things like user reviews. The Amazon ai notes on products are actually brilliant at summarizing the pros and cons of a product. I work for a holiday let company and we experimented with using it to find customers we need to follow up with and the results were amazing.

    It smashes other automated translating services as well.

    I use it a lot as a programmer to very quickly learn new topics. Also as an interactive docs that you can ask follow up questions to. I can pick up a new language as I go much faster than with traditional resources.

    It’s honestly a complete game changer.






  • The reason is the vast majority of places use c# to avoid this stuff. So performance is often not the first priority

    The complexity it adds takes away from the readability and maintainability. Which is often the priority.

    But in a hot path where you need optimization these are a good send as previously you had to use raw pointers and completely side step all the safety of the language.

    I would say 90% of c# developers will never touch these. It’s more for library and framework writers.

    I believe most of these features are driven by what the Microsoft Devs need to write asp.net and EF.









  • Tbh as an experienced programmer I knew exactly what it was straight away. And I don’t know rust. I would imagine the others are similar.

    The reason that example is simpler is because JSON is literally JavaScript Object Notation.

    It’s also not the same thing. HashMap have type parameters. So you can only add strings to that HashMap whereas you can add anything in js. Does that code even compile?

    You can also do “text”.to_string() which simplifies it more.

    I feel you’re quite inexperienced and once you do more in different languages you’ll begin to realise why things are like this.

    Rust is a compiled language with static typing so these things are required for the compiler to do its job.

    It’s also a performance focused language and would blow ts/js out of the water completely on that metric.

    Languages are just tools and they all have advantages and disadvantages. You use the right tool for the job.