News for hackers. Stuff that matters.
Re:Rust Is Surprisingly Good as a Server Language by tomerbd on Monday July 13, 2020 @04:27AM (#23818471)
The ecosystem, i.e. Spring.
Re:Rust Is Surprisingly Good as a Server Language by emerongi on Monday July 13, 2020 @05:47AM (#23818967)
Oof, there are people out there that like to work with Spring?

The over-engineering in the Java ecosystem has wasted more of my time than saved it.

Re:Rust Is Surprisingly Good as a Server Language by pjmlp on Monday July 13, 2020 @11:27AM (#23821760)
Yes, although on my case it is JEE actually.

That over-engineering is what save us from clunky solutions that are good for hello world applications and HN like posts, but fail when doing deployments across heterogeneous platforms on Fortune 500 IT departments with endless number of external contractors and technology stacks hardly seen elsewhere.

And if I have to pick between managing WebSphere containers and taking care of k8s, I will rather pick WebSphere.

Re:Rust Is Surprisingly Good as a Server Language by The_rationalist on Monday July 13, 2020 @07:12AM (#23819453)
The learning curve should be beaten after a few weeks and is definitely lower than learning rust. On the other hand, the productivity and expressiveness return on investment is huge. Spring is arguably the state of the art framework on the server and is integrated with so many powerful technologies.
Re:Rust Is Surprisingly Good as a Server Language by wtetzner on Monday July 13, 2020 @11:04AM (#23821496)
> On the other hand, the productivity and expressiveness return on investment is huge. Spring is arguably the state of the art framework on the server and is integrated with so many powerful technologies.

Having worked with Spring for years (and still working with it, unfortunately), I have found exactly the opposite.

It does way too much dynamically, making debugging hard and rendering the type-system almost useless.

Sure, it comes with a lot of libraries for handling a large varieties of tasks, but they all seem to be half-assed, and much of the time I either have to work around their limitations or write something myself anyway.

I really don't see why the same thing couldn't have been achieved by writing a bunch of useful libraries that don't depend on a dependency injection framework (which I also don't find much value in).

Finally, it takes forever to startup, making testing a pain. It even means that JUnit tests are slow.

Re:Rust Is Surprisingly Good as a Server Language by im3w1l on Monday July 13, 2020 @07:13AM (#23819471)
I have not used spring and only ever seen hate for it. Would be nice to read a pro-spring article or similar.
Re:Rust Is Surprisingly Good as a Server Language by deleuze on Monday July 13, 2020 @10:24AM (#23821074)
It's like any framework: once you learn it's idioms, you can be insanely productive. Unlike other frameworks, enterprise Java is all about flexibility, so in Spring land, it's often in incredible easy to tune or replace lower level components like connection pools, etc.

As such, I'd describe it as a good combination of highly dynamic architecture with lots of manual control. Of course, all of this is enabled with copious amounts of magic, which is usually why people don't like Spring.