@david Yeah, Oracle is a Dumpster Fire, that’s true. 🫤
Timeline
Recent posts from feeds followed by sorenpeter@darch.dk
(Just a brain dump, nobody needs to read this.)
Does yarnd still support the old “threading”? Let’s see.
(Just a brain dump, nobody needs to read this.)
I really think I should go back to Java.
Writing programs in Python is so exhausting. I want a compiler and I want static typing. No, linters and type checkers and IDEs are not good enough. Compilers catch way more errors in advance.
Rust is also exhausting. They’re constantly adding language features and, at the same time, the runtime library remains tiny and you need 3rd party libraries for everything. Many of those are still at version 0.x (SemVer!) and you can’t rely on anything. Often times, you need the latest Rust nightly compiler.
Go is … I don’t like it. And huge binaries.
I like C as a language, but it’s too fragile. I want to have a proper HashMap every now and then.
None of the above have good GUI libraries, at least not on Linux.
And then there’s Java. This is my fractal renderer that I wrote over 17 years ago:
https://movq.de/v/fcd3c4e557/vid-1784121825.mp4
It’s fast. It has a GUI with custom widgets and those weren’t even hard to make. It still works without changing a single line of code. The source code files have timestamps from 2009 and I just noticed that the JAR file I’m using in the video was compiled in 2010.
Java as a language is relatively easy to learn and to master. There are few surprises. The source code organization with packages is good. Java API docs are clear and well written.
The JVM ramp-up times have improved considerably:
https://movq.de/v/e7314e521e/vid-1784121998.mp4
This isn’t like the Dark Ages anymore. Might even be usable for some CLI tools.
The only thing where Java really sucks is anything close-ish to the kernel. Try issuing an ioctl() … I couldn’t have made my TUI framework in Java, but then again, I wouldn’t have needed to because Swing already exists and it just works.
@movq ha ha in this case I think I'm OK with a broken thread ha ha
@prologic See, that’s what edit/delete is good for. 😅🤪
@movq yeah it's one of the fundamental principles of Yarn social and everything that I've poured into the ecosystem that we've collectively built here over the last, What is it six or seven years now?
@david That’s a good thing. I still use it heavily, but I also realize that it is addictive. This whole idea of getting likes and boosts is horrible. Seeing “number goes up” is inherently addictive design, if you ask me. This should never have been added to a Free Platform like Mastodon, and I’m glad that twtxt doesn’t have anything like it.
@movq That's crazy... Do not want!
@david @prologic No worries, I was just trying it on for size.
I played it again today (10/12 on first try), but I can't say that I love the format of the "share link" (the unnecessary yellow and green circles).
I think if I did want to post daily scores or something (for posterity), I'd likely setup a separate feed just for my "achievements". 😁
søren peter mørch