this post was submitted on 30 Mar 2024
1576 points (97.7% liked)

linuxmemes

20742 readers
802 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 5 months ago (1 children)

Python doesn't have a production web server in its standard library. Neither does Java. Those are external programs or libraries. C# is the only language I know that comes with an official production grade server, and that's still a separate package (IIS).

Rust has a set of recommended data structures in their standard libraries too: https://doc.rust-lang.org/std/collections/index.html

I don't know what algorithms you are looking for so can't answer here.

The rest I don't think are included in Rust. Then again they aren't included in most languages standard libraries.

[โ€“] wolf 2 points 5 months ago

Golangs web server is production grade and used in production. (Of course everyone uses some high performance proxy like NGINX for serving static pages, that's another story.)

Technically you are right that java has no production web server, which I don't like, OTOH Java has standard APIs WebServers and Spring is the defacto standard for web applications. (I totally would not mind to move Spring into the OpenJDK.)

My point is simple: Instead of having Rust edtion 2020, 2021 etc. and tweaking the syntax ad infinitum, I'd rather have a community which invests in a good/broad standard library and good tooling.

The only platform widely used in production w/o a big standard library is Node.js/JavaScript, mostly for historical reasons and look at the problems that Node.js has for a decade now because of the missing standard library.