Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
apta
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
110 ms
·
511.
▲
by
apta
6y ago
The people who designed golang did not have PhDs in PL. They were not even PL designers to begin with, and it shows at how poorly designed it is. (And no, one person who happened to work on C doesn't count, since language design evolve
512.
▲
by
apta
6y ago
It's not a preference specifically because golang's error handling is error prone. The things that slide in golang code don't happen in languages with exceptions.
513.
▲
by
apta
6y ago
What kind of software are you developing that gets deployed over satellite links? Sounds interesting.
514.
▲
by
apta
6y ago
Loom will have superior context cancellation and deadline handling than golang. https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part1....
515.
▲
by
apta
6y ago
And here we see why the claim that golang forces users to handle errors is simply not true. Error handling in golang is just badly implemented.
516.
▲
by
apta
6y ago
And the Fed is making money by lending money with interest to the government. Easy, immoral money.
517.
▲
by
apta
6y ago
Rust doesn't compete with golang. The latter is in the same space as python. Rust competes with C++.
518.
▲
by
apta
6y ago
It's quite absurd that the Fed is a separate entity from the government. Just shows how corrupt they are.
519.
▲
by
apta
6y ago
> While Oracle has regressed and is oppressing the ecosystem in its typical ways. Not sure what you're referring to here. Java/JVM has been open sourced for a while as well. > while Java is just a kitchen sink of non-cohesiv
520.
▲
Taking Project Loom for a spin (Java virtual/green Threads)
(renato.athaydes.com)
2 points
by
apta
6y ago
|
0 comments
521.
▲
by
apta
6y ago
Both `-O` and `-C opt-level=3`. I'm guessing this is one of those high throughput scenarios where having a GC is quicker because it's able to defer deallocation until the end of the program.
522.
▲
by
apta
6y ago
I found Java's to be quicker than Rust: Java: time java Test 117777800 0.60 real 0.52 user 0.12 sys Rust: time ./test 117777800 1.94 real 1.89 user 0.0
523.
▲
by
apta
6y ago
Islam has instituted a 2.5% "charity tax" (Zakah) for over 1400 years now. It's not that those politicians are unimaginative, it's that they're either willfully neglectful or ignorant. Great political qualities to h
524.
▲
by
apta
6y ago
Preferring something doesn't automatically make it good or acceptable. Just like how some people prefer to smoke or prefer to gamble or prefer to drink. Regarding your point, debt today is only cheaper because it is available and widel
525.
▲
by
apta
6y ago
Yes, and if you look up the opinion of present-day scholars, you'll find that many of them call said banks out on it (if it walks like a duck and quacks like a duck). While I'm not a scholar, I completely agree that it's jump
526.
▲
by
apta
6y ago
Thank you for chiming in. I'm aware that Judaism bans interest, but you're also correct that thier Rabbis made loopholes such that only Jews don't lend money with interest to other Jews, but they're allowed to lend money
527.
▲
by
apta
6y ago
One reason is that it causes the cost to be borne by those overseas bank, just to address the incompetencies of the US government and the bizarre law to tax its citizens living overseas, which I think only one or two countries do.
528.
▲
by
apta
6y ago
It may come as a surprise to people, but there have been societies which banned interest/usury, yet got things done just fine (e.g. Islam bans usury, but the Islamic Golden Age speaks for itself). Even until relatively recently, when W
529.
▲
by
apta
6y ago
There are other ways of bootstrapping businesses: people pitch in money in exchange for owning a percentage of said business. That's exactly using someone else's capital to build, but without the parasitic and immoral practice of
530.
▲
by
apta
6y ago
Thanks for the info. It makes sense in that case. Though the JVM can be very performant when written properly, and especially now with ZGC, Valhalla, Panama, etc.
531.
▲
by
apta
6y ago
Why is it so hard to enforce banks to report such transactions? Doesn't the US force foreign banks to report balances of US citizens residing overseas? Oh the double standards.
532.
▲
by
apta
6y ago
Just goes to show how much of a net negative the parasitic banking system is on society.
533.
▲
by
apta
6y ago
That's why you use a binary transport like gRPC.
534.
▲
by
apta
6y ago
You can ship the JVM with your app such that it's self-contained and system independent. Apps like IntelliJ already do this. And now with jlink, you can strip it down to make deployment sizes even smaller by only shipping the parts of
535.
▲
by
apta
6y ago
You can ship the JVM with your app such that it's self-contained and system independent. Apps like IntelliJ already do this. And now with jlink, you can strip it down to make deployment sizes even smaller by only shipping the parts of
536.
▲
by
apta
6y ago
The JVM now ships with ZGC, a low latency GC targetted at exactly that. https://wiki.openjdk.java.net/display/zgc/Main
537.
▲
by
apta
6y ago
It's known that golang optimizes for latency at the expense of throughput, and it doesn't give you the option to change this if your requirements change. This is the power of the JVM. In any case, the JVM now ships with ZGC, a low
538.
▲
by
apta
6y ago
> (1) compile faster This isn't really true for non-trivial code bases. And even if it is, it's not a big difference in practice, especially with incremental compilation where I find it actually much quicker to change a couple
539.
▲
by
apta
6y ago
You can also ship the JVM directly with your product, that way it's system independent. Even better with jlink.
540.
▲
by
apta
6y ago
You can ship the JVM with your code (uber jar), so no paths to set up. And now with jlink, you can even strip it down to only parts of the JVM that your code uses, to optimize size.
More ›