Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
kaba0
2y ago
Java is more widely used even within Google itself, and every single positive mentioned applies multiple-folds to it. Java has significantly more, battle-hardened libraries, and in the territory of web backends it is definitely by far the b
32.
▲
by
kaba0
2y ago
I absolutely loved that talk, thanks for sharing!
33.
▲
by
kaba0
2y ago
Terseness is not only about practicality. Even if AI writes it for me, it requires a huge deal more reading comprehension on my part to properly check it. E.g. an if err block every couple lines will actively hinder reading that code, and i
34.
▲
by
kaba0
2y ago
I mean, what does go actually bring to the table? That's a modern language only in release date, it is absolutely not worthy of being next to rust in terms of novelty. Also, old languages can be improved still. Java has some gotchas th
35.
▲
by
kaba0
2y ago
Though to be fair, since a few years ago Java 8 is no longer the most popular java version.
36.
▲
by
kaba0
2y ago
Java does the sane thing within containers, and you definitely not have to set memory settings anywhere else, unless you want some very specific behavior.
37.
▲
by
kaba0
2y ago
Java is one of the couple of platforms that do have virtual threads (others being Erlang, go and Haskell), and by far the biggest among these.. Is it not you who stagnated a bit?..
38.
▲
by
kaba0
2y ago
Go is definitely not an ergonomic language.
39.
▲
by
kaba0
2y ago
There are more Java devs out there than people living in my country. I don't think generalizing this way is helpful, there are many different styles of Java development, and developers have vastly different skill sets.
40.
▲
by
kaba0
2y ago
Flamewar-y reply to a flamewar-y comment: Java is better than Go on every count, and almost all of your cases are 90% done by Java, so it's quite clearly a very good choice for almost everything.
41.
▲
by
kaba0
2y ago
First of all, past performance is not indicative of future results. Second, it's obviously much easier to double your user base from 2 to 4, than from 10 million to 20. New languages tend to have a fast initial growth, but then the cur
42.
▲
by
kaba0
2y ago
Google has been doing it 2 decades ago with Gmail and the like. They could compile java to js. More recently, clojure and c#'s blazor come to mind that have the same ability.
43.
▲
by
kaba0
2y ago
Unless you are shot dead for reaching into your pocket..
44.
▲
by
kaba0
2y ago
It's encrypted, period. Apple having the key doesn't make it plain text.
45.
▲
by
kaba0
2y ago
> complex web apps Heh? I really like Rust, but it has absolutely zero advantage for this domain compared to the existing million choices. Unless you are doing some low-end web stuff with packets, any managed language will have a much be
46.
▲
by
kaba0
2y ago
How is it even remotely in the same category as Java?
47.
▲
by
kaba0
2y ago
But in the given context, returning a Return type will almost by necessity involve a conditional at the caller site, so for an apples to apples comparison that should be compared, not a linear return and nothing else.
48.
▲
by
kaba0
2y ago
But a kernel mode switch is definitely more expensive than a trivial (likely cached) jump instruction.
49.
▲
by
kaba0
2y ago
And for what it's worth, the reason Windows has such a high binary backwards compatibility that win 98 programs can easily run on win 11 or so is that they have this extra abstraction layer.
50.
▲
by
kaba0
2y ago
I'm sure voting sensibly in a democracy, understanding all the consequences it will have on oneself, the nation and on foreign people was definitely part of the function to be optimized for (besides that evolution doesn't work lik
51.
▲
by
kaba0
2y ago
Did you also listen to, or just watched and imagined something else?
52.
▲
by
kaba0
2y ago
Because people are morons
53.
▲
by
kaba0
2y ago
Have you ever heard him speak?! Quite literally asking, are people just voting/liking him based on static images and deliberately cut to look somewhat acceptable videos? I swear his speech is worse than Biden's has ever been.
54.
▲
by
kaba0
2y ago
The charisma of an old, demented moron? He failed as a public speaker even before he got this old, I have heard non-native 5 years old speak better than him. Plus he is spineless, lying, rapist.. well, sure it is a kind of a charisma. One f
55.
▲
by
kaba0
2y ago
In competitions of real world code in a language that has been in use for close to 30 years, and I can find a java 1.1 program that will both compile as source on the latest version, AND the original compiled version itself will run on a mo
56.
▲
by
kaba0
2y ago
I mean, C is also memory safe when run within valgrind.. at an obvious large performance cost.
57.
▲
by
kaba0
2y ago
Not at all. Java or C# can end up in a logical bug from that, but they will never corrupt their runtime. So in java you can just try-catch whatever bad stuff happens there, and go on afterwards. Go programs can literally segfault from a dat
58.
▲
by
kaba0
2y ago
I mean, a very serious security vulnerability is/was row hammering, where an attacker was waiting on flipping a bit they have no access to by continuously flipping neighboring ones. Compared to that a race condition is "trivial&qu
59.
▲
by
kaba0
2y ago
Yeah, and C is memory safe in absence of memory safety bugs..
60.
▲
by
kaba0
2y ago
But ordinary go code is not memory safe. Data racing can trivially happen just by using the language's primitives. It requires no special keyword like unsafe, or native FFI like in other, actually memory safe languages (rust, or of the
More ›