News for hackers. Stuff that matters.
Re:Falling in love with OpenBSD again by platform on Saturday March 16, 2019 @02:36PM (#19409378)
Depends on the software requirements you have, and perhaps on the network throughput you need.

For example java 11 is not, yet, a native option in any of the BSDs (OpenBSD, FreeBSD, NetBSD, DF Bsd).

Re:Falling in love with OpenBSD again by wolrah on Saturday March 16, 2019 @04:58PM (#19410260)
IMO not having Java should be considered a positive. Java is wonderful in theory, but in practice it's likely been one of the most common recurring headaches in my IT management career.

For a platform where one of the key marketing points has always been "write once, run anywhere" it sure is apparently not only easy but seemingly encouraged to write software that only runs on a specific version of the JVM, often with key security features disabled.

Either Java itself sucks or Java encourages its developers to suck. I'm not sure which.

Obviously not all Java applications nor all Java developers suck, but there is a larger than normal amount of suckage in the Java universe.

Re:Falling in love with OpenBSD again by darkpuma on Saturday March 16, 2019 @05:04PM (#19410283)
> "Either Java itself sucks or Java encourages its developers to suck. I'm not sure which."

Neither. Java makes it easy for developers that suck to contribute. (The subtle difference here being that it won't make a good developer lose his competency.)

Incidentally this is why companies love java so much. Hiring a java developer straight out of college is much easier than hiring a C++ developer straight out of college. Arguably in the last few years Java's niche has been encroached on by other accessible languages with mild learning curves (golang, javascript/node, etc) but for years Java was the obvious choice if you wanted to hire cheap developers that could at the bare minimum fullfil the design requirements.

Re:Falling in love with OpenBSD again by wolrah on Sunday March 17, 2019 @12:18PM (#19414754)
> Neither. Java makes it easy for developers that suck to contribute.

So do PHP and Visual Basic. Both of those languages are very well known for having a larger than normal amount of developer suckage, but they don't seem to have the same sort of fragility as Java. There are a lot of shitty Wordpress plugins out there, but never have I ran in to one that only worked on a specific narrow window of PHP releases in the same way as many terrible Java apps are with the JVM.

Re:Falling in love with OpenBSD again by hedora on Saturday March 16, 2019 @06:02PM (#19410614)
It definitely encourages its developers to suck.

More politely, it comes with non-removable training wheels, which makes it OK if you’re getting started as a developer, but a terrible choice for projects that will require experienced developers.

Re:Falling in love with OpenBSD again by darkpuma on Saturday March 16, 2019 @09:17PM (#19411539)
I would phrase that as "It doesn't encourage developers to get better."
Re:Falling in love with OpenBSD again by hedora on Saturday March 16, 2019 @10:53PM (#19411914)
Not my original wording, but it definitely includes roadblocks that prevent developers from progressing after a point.

Examples:

Type erasure means the standard library doesn’t quite use generics right, so you end up sprinkling unchecked casts all over the place.

It is nearly impossible to handle resource lifetimes correctly, even with autoclosables.

No unsigned types, so many advanced algorithms are neigh-impossible to express, let alone rediscover.

Encapsulation for primitive types comes with a high runtime overhead (cache misses, gc pressure)

Package-private doesn’t quite do what you want for large projects, where you want to split API implementations into multiple packages.

Re:Falling in love with OpenBSD again by ams6110 on Saturday March 16, 2019 @05:29PM (#19410404)
I've had the same experience. Whenever I have a misbehaving server, out of memory, slow performance, it almost always traces back to Java. However I don't think Java sucks necessarily. I think the sorts of software that people develop in Java, and the organizations that develop it, suck. In short, most Enterprise software sucks.
Re:Falling in love with OpenBSD again by JdeBP on Saturday March 16, 2019 @05:32PM (#19410415)
Re:Falling in love with OpenBSD again by jbverschoor on Saturday March 16, 2019 @03:46PM (#19409793)
This is the reason I switched from FreeBSD to Debian about 20 years ago. Sad that it's still not an option.
Re:Falling in love with OpenBSD again by platform on Sunday March 17, 2019 @06:58AM (#19413373)
java is definetely an option on all of the BSDs I mentioned. It just they did not have Java 11 ported to them yet.

But now since OpenJDK 11 is ported to FreeBSD, others, will follow.

Sorry if my comment was not clear.

Re:Falling in love with OpenBSD again by prakhunov on Saturday March 16, 2019 @11:02PM (#19411960)
I don't think there is a package yet for OpenBSD but this has changed in FreeBSD as of 3 days ago:

https://supernews.freshports.org/java/openjdk11/

Re:Falling in love with OpenBSD again by platform on Sunday March 17, 2019 @06:57AM (#19413371)
ah, this is great news. Thank you.

I have been monitoring this since October last year. Since now freeBSD has it, other BSDs should soon pick that up.

I noticed that freeBSD is bit like a 'mothership' as far as package ports go, to the other BSDs.