Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
za3faran
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
za3faran
4d ago
Java can and has been used for real-time systems, but it does not look like the Java that you would come across in normal programs. Obviously, RTOS have specific requirements, which usually rule out GCs and other runtimes, where even "
2.
▲
by
za3faran
5d ago
Hopefully more people start realizing this. It's been happening behind the scenes for way too long, but now it's out in the open, they don't care about hiding it anymore.
3.
▲
by
za3faran
5d ago
CPU is still more expensive than memory. Trading more memory to save CPU (and reduce the # of nodes required to run your service) can still hold.
4.
▲
by
za3faran
5d ago
It's not untrue, there are people who have observed this, and for a long time now. AOT compilers assume a closed world system, whereas JIT are able to perform runtime optimizations that AOT can't. By real world systems, I mean lon
5.
▲
by
za3faran
5d ago
Key is "well optimized". At some point and scale, it becomes almost impossible to chase those manual optimizations, not to mention that usage patterns at runtime can change in such a way that make such an optimization prohibitivel
6.
▲
by
za3faran
5d ago
GraalVM native-image already provides an AOT-only executable.
7.
▲
by
za3faran
6d ago
To be fair, it's not that hard to get an improvement compared to running TS in the backend.
8.
▲
by
za3faran
6d ago
We've seen several anecdotes where JIT languages (e.g. Java) outperform Rust in throughput and latency in long-running server programs.
9.
▲
by
za3faran
6d ago
In real world systems, Java can beat programs in compiled languages like C++ and Rust when it comes to throughput and even latency.
10.
▲
Principles of Memory Management in Java [video]
(youtube.com)
5 points
by
za3faran
12d ago
|
0 comments
11.
▲
by
za3faran
13d ago
Fus-ha Arabic (High Arabic) is intelligible as it is used in official communication, academia, news papers, documentaries, etc. But obviously it is not spoken day to day.
12.
▲
by
za3faran
22d ago
What is more important that those $75 is whether or not the gas offered at the other station is Top Tier grade. Costco always is as far as I can tell. (I am not affiliated with Costco in any way shape or form)
13.
▲
by
za3faran
22d ago
> But I can get gas for $3.62 right now at the station down the block from my house. But is that gas station selling Top Tier[1] gas? As far as I'm aware, Costco always sells Top Tier, and now they're rolling out Top Tier+. [1]
14.
▲
by
za3faran
26d ago
This sounds very interesting. Which JVM profiler do you use?
15.
▲
by
za3faran
28d ago
I would argue that languages like Java (C#, Kotlin, etc.) strike a very good compromise between modeling ability and comprehension, which is why they are popular and people gravitate toward them. You can have more complex languages like Sca
16.
▲
by
za3faran
1mo ago
This article is from 1899 in the NYT: https://i.imgur.com/A9ZPlhG.png
17.
▲
by
za3faran
1mo ago
You might want to check out Quarkus, Mirconaut, or Helidon MP. They do build time DI, and are more focused on performance and reduced resource usage. They are similar enough to Spring, and I believe Quarkus and Micronaut have an optional Sp
18.
▲
by
za3faran
1mo ago
Up until quite recently, golang lacked generics, so `interface{}` was passed everywhere. It does not have typesafe enums (you can pass integers and it will compile). It has no way of declaring immutable structures. It does not have pattern
19.
▲
by
za3faran
1mo ago
That could be a Spring issue then, not Java. Do you run with -Xmx specified?
20.
▲
by
za3faran
1mo ago
What issues are you seeing using LLMs with C#?
21.
▲
by
za3faran
1mo ago
Java and C# (JVM and .NET in general) are favorable here.
22.
▲
by
za3faran
1mo ago
Java has GraalVM which compiles to native code if you care about startup time.
23.
▲
by
za3faran
1mo ago
I wouldn't be surprised if Java has a much better experience here. After all, java.util.concurrent has many great implementations, and Java's `record`s are immutable, as are it's upcoming value types.
24.
▲
by
za3faran
1mo ago
What domain is your company in?
25.
▲
by
za3faran
2mo ago
> or we needed integration with an unsupported database How difficult is/was it to add a custom integration?
26.
▲
by
za3faran
2mo ago
> or, in another country, torture or death in prison for obstructing an authoritarian government Also happens in the US
27.
▲
by
za3faran
2mo ago
They also had a much more active lifestyle (e.g. farming, hunting, physical training, etc.) that would offset carb heavy foods.
28.
▲
by
za3faran
2mo ago
Java/Kotlin would have given you what you needed, and more (better observability, performance, etc.)
29.
▲
by
za3faran
2mo ago
You can get items at Costco that you do not need a lot of room for. Plus, you can meal prep and save time and money. It should not cost you $1500 per month to eat healthy food.
30.
▲
by
za3faran
2mo ago
You still need a language/platform that performs well. Python and gang do not when compared to things like the JVM and .NET.
More ›