søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

movq (www.uninformativ.de)

@david Yeah, Oracle is a Dumpster Fire, that’s true. 🫤

In reply to: #sh7w2snf6trw 4 months ago
movq (www.uninformativ.de)

(Just a brain dump, nobody needs to read this.)

Does yarnd still support the old “threading”? Let’s see.

Read replies 4 months ago
movq (www.uninformativ.de)

(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.

Read replies 4 months ago
prologic (twtxt.net)

@movq ha ha in this case I think I'm OK with a broken thread ha ha

In reply to: #ch33r7x342zt 4 months ago
movq (www.uninformativ.de)

@prologic See, that’s what edit/delete is good for. 😅🤪

In reply to: #ch33r7x342zt 4 months ago
prologic (twtxt.net)

@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?

In reply to: #7rpd4ha 4 months ago
prologic (twtxt.net)

@zvava oooos 🤣

In reply to: #ch33r7x342zt 4 months ago
movq (www.uninformativ.de)

@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.

In reply to: #7rpd4ha 4 months ago
itsericwoodward (itsericwoodward.com)

@movq That's crazy... Do not want!

In reply to: #egsqiwxhd6mr 4 months ago
itsericwoodward (itsericwoodward.com)

@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". 😁

In reply to: #megfcguk4az7 4 months ago
Reply via email