Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gf000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
451.
▲
by
gf000
7mo ago
Still a lot, but in absolute terms the majority of Java applications are 8+ for 4-5 years now, according to Oracle's statistics - so they are a minority. It's just that there are so many java projects that it is still a huge numbe
452.
▲
by
gf000
7mo ago
> Kotlin coroutines don't really exist. They're a (very neat) programming trick to support coroutine-like behavior on the JVM Well, guess how coroutines are implemented in Rust/C++/everywhere else! Nonetheless, I do t
453.
▲
by
gf000
7mo ago
Small java programs start up well in the milliseconds. I don't really think it's fair to compare some old jboss monstrosity doing the job of a whole kubernetes cluster to a dumb hello world server written in go. Sure, java startup
454.
▲
by
gf000
7mo ago
Says a single guy who may have coined the term, but that's not how words work. The industry's millions of devs use it differently, so the de facto meaning is that java is an OOP language, and the original is closer to the actor mo
455.
▲
by
gf000
7mo ago
Tiobe once rated Visual Basic ahead of JS. I would rather believe some future reading octopus than that absolutely useless ranking. Nonetheless, I agree with your take.
456.
▲
by
gf000
7mo ago
Besides doing yourself a disservice of not using a proper IDE, what exactly makes Java not writeable in vim or the like? Like it's a pretty simple language with not much magic going on.
457.
▲
by
gf000
7mo ago
Yeah, I believe some ex-Googlers even claimed that writing Gmail was simply impossible at that time with ordinary JS, and the abstraction behind GWT was an absolute necessity (though maybe the frontend part was not all that important - clos
458.
▲
by
gf000
7mo ago
How much less allocation rate? Value types are an important thing and fortunately they are coming to Java as well. But they don't decrease allocation rates nearly enough in every kind of software. They may be a necessity in games/
459.
▲
by
gf000
7mo ago
Java's GCs (plural) are hands down better.
460.
▲
by
gf000
7mo ago
How is Go not high level? What makes it "systems" language? That's just marketing. It is a language with a fat runtime, running a garbage collector. You just burn it into the binary and call it a day.
461.
▲
by
gf000
7mo ago
I do agree to a certain degree, but with getters/setters you could properly hide/set to read-only fields.
462.
▲
by
gf000
7mo ago
> However complex error recovery is an anti pattern for Go. Bit of snark from my side, but that's exactly what makes it less good of a fit for "industry purposes". Go's error handling is possibly the worst out of any
463.
▲
by
gf000
7mo ago
> Spring framework when stuff like Django, Rails, or the Go ecosystem exist. Django and Rails have a very similar model to Spring, so frankly this is just "I was lazy to learn a new tool and it must suck" kinda take. Is there
464.
▲
by
gf000
7mo ago
Well, what frameworks were used? Also what is behind the web requests, what were they doing? Because it's comparing mostly frameworks, not languages. As for the build tools, unfortunately the scene is not the best on Java - but javac i
465.
▲
by
gf000
7mo ago
Mostly a tongue in cheek reply, but you might be interested in TornadoVM. (Nonetheless, I agree with you)
466.
▲
by
gf000
7mo ago
Intelligence is not a well understood concept. "AI" is also not a well understood concept - we have LLMs that can pick up some novel patterns on "first sight", but then that pattern takes up space in the context window a
467.
▲
by
gf000
7mo ago
There are non-DSL frameworks in Java. It's just that arguably the benefits of a DSL outweigh learning them. Putting an annotation on a method is much easier than registering this method at n places in ordinary code, which could look an
468.
▲
by
gf000
7mo ago
Well, what mainstream language has better tools for composition?
469.
▲
by
gf000
7mo ago
Java improvements usually have a runtime component, so no, kotlin simply couldn't have had Lazy no matter what. It was just syntactic sugar for a getter.
470.
▲
by
gf000
7mo ago
There are not a lot of cases left that still cause pinning. FFI is the main one.
471.
▲
by
gf000
7mo ago
The "reasonable" thing go does is pausing core threads doing the actual work of your program, if it feels they create too much garbage so it can keep up, severely limiting throughput.
472.
▲
by
gf000
7mo ago
There are more Java devs than people in my home country. Like how could you even give a single description for all of them? They all work on vastly different stuff, from low-latency trading to robotics, to regular old CRUD. Not even the CRU
473.
▲
by
gf000
7mo ago
They trade blows, and have different philosophies (complex runtime, simpler language vs the reverse). E.g. on the GC side Java is ahead of any other platform, especially with the low-latency ZGC garbage collector.
474.
▲
by
gf000
7mo ago
On the other hand, there is a bunch of movement on Valhalla side nowadays. You can download a build and try out value types yourself!
475.
▲
by
gf000
7mo ago
Java's primary development happens on OpenJDK. Android has their own runtime (creatively named as Android runtime), which does not run java byte code, but their own binary format. JVM class files can be compiled to that format, but t
476.
▲
by
gf000
7mo ago
Not sure it tells all that much about 'how the OS works'. This is a historical abstraction that happened to look how it looks today with all its numerous warts and shortcomings. We can easily imagine it done a better way - for all
477.
▲
by
gf000
7mo ago
Yeah I'm sure coding agents will be able to accurately find some non-obvious bugs in such a big and complex code base as X server.
478.
▲
by
gf000
7mo ago
Graceful degradation is a thing. If you don't get a response from a client that you are redrawing, you may just put a translucent shader on the window, show the user the changing borders immediately, and then resume whenever it's
479.
▲
by
gf000
7mo ago
What do you mean by window shading?
480.
▲
by
gf000
7mo ago
Well, window management is likely compositor-specific in the first place, so I don't really see the problem. It's not part of the spec, because it would unreasonably constrain what an implementation could do. E.g. what window mana
More ›