←back to thread

74 points holmofyHu | 3 comments | | HN request time: 0.001s | source
Show context
ffsm8 ◴[] No.41276279[source]
this new project, spring-rs is a wrapper for various other projects, gluing them together. (and thats totally fine!)

But naming it after the Spring Framework might be slightly exaggerating its ambition.

Even its homepage uses marketing thats not really on point for Spring i think?

i.e. Lightweight: The core code of spring-rs does not exceed 5,000 lines

I dont think anyone can honestly call Spring with its 8 million Lines of Java Code ... lightweight?

replies(5): >>41276354 #>>41276588 #>>41277190 #>>41277291 #>>41277513 #
karmakaze ◴[] No.41277190[source]
This is like the renaming to JavaScript to ride the coattails of Java.

I suppose Spring is still a popular, widely known framework. Other than desired popularity, there's no resemblance and is antithetical. Anything I see associating with Spring, I would assume to be outdated and inefficient.

replies(1): >>41278735 #
randmeerkat ◴[] No.41278735[source]
> I suppose Spring is still a popular, widely known framework. Other than desired popularity, there's no resemblance and is antithetical. Anything I see associating with Spring, I would assume to be outdated and inefficient.

Spring is a battle tested, robust, optimized framework, that has scaled the largest brands in the world. It is literally what fortune five hundred companies trust their fortunes with. Spring is far from being outdated or inefficient, and will likely continue to dominate the market for years if not decades to come.

replies(3): >>41278817 #>>41278977 #>>41282654 #
matrix2003 ◴[] No.41278977[source]
> Spring is a battle tested, robust, optimized framework, that has scaled the largest brands in the world. It is literally what fortune five hundred companies trust their fortunes with. Spring is far from being outdated or inefficient, and will likely continue to dominate the market for years if not decades to come.

I spit my coffee out on part of this one!

I’ve been a Spring developer for the better part of the last 10 years, and it definitely has warts, bugs, undocumented behavior, and plenty of source code diving for half-implemented features.

It does allow corporate middleware to easily be inserted, making management feel better and devs lives’ harder.

Don’t get me wrong, it has a placed in “corporate” development, but there are much more streamlined frameworks out there. In today’s day and age where SDKs are readily available and APIs are mostly sane, I think it has less of a place.

replies(3): >>41280614 #>>41282661 #>>41282753 #
1. foundart ◴[] No.41280614[source]
> but there are much more streamlined frameworks out there

Which ones would you recommend instead of Spring?

replies(1): >>41285498 #
2. matrix2003 ◴[] No.41285498[source]
The answer is “it depends,” but personally I like ktor/micronaut better or golang’s stdlib. I do a lot of REST work right now, and I try to keep my services small.
replies(1): >>41293838 #
3. karmakaze ◴[] No.41293838[source]
I've also used Go without ORM-like libraries. For Java/Kotlin I've been trying out Javalin + JDBI which isn't too bad. You just have to roll your own things (or do the integration with what's available) sometimes. My apps start in 1/10s of seconds.

I wouldn't recommend it for a team that's used to copy/pasting from StackOverflow to get things done.