Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joas_coder
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
joas_coder
7d ago
Strongly agree. Ironwood ( https://github.com/ironwood-lang/ironwood ) takes that to the limit by throwing away the JVM :) The static type is the tag, so nothing is tagged at runtime. Primitives are machine-width values,
2.
▲
by
joas_coder
7d ago
> Now with containers, running Java apps in containers isn't great because of that JVM layer. Funny, Ironwood ( https://github.com/ironwood-lang/ironwood ) explores exactly this space: familiar Java programming w
3.
▲
by
joas_coder
4mo ago
And a quick YouTube short video on how to put the app on auto-pilot so that you don't have to do anything to have your screenshots receive meaningful names: https://youtube.com/shorts/8bxhBgJvp7M
4.
▲
by
joas_coder
4mo ago
Thanks for the feedback. I did not know my Mac had an on-device Apple Foundation model. Is it multimodal? I'll be checking it out and comparing it with Google Gemma 4. I thought Apple was out of the AI model race. The idea is to ship m
5.
▲
by
joas_coder
4mo ago
For anyone who wants to see the workflow before downloading the large app bundle, here’s a short demo: https://www.youtube.com/watch?v=QIt2H_CUYBM
6.
▲
Show HN: I made a Gemma 4 Mac app that names screenshots with local AI
(snapname.app)
7 points
by
joas_coder
4mo ago
|
6 comments
7.
▲
by
joas_coder
2y ago
I agree it would be interesting and a fun project! Correct me if I'm wrong, but the problem with PGO is that every time the code changes the PGO needs to be updated as well. Also, my past experience with PGO (for the GraalVM native-ima
8.
▲
by
joas_coder
2y ago
I see your point. Sorry about that. Your given example looks very cool. We'll try to do something like that. For now, you can see the results here: https://gist.github.com/coralblocks/21523d73f460924874685f11... O
9.
▲
by
joas_coder
2y ago
It will be hard to make a final conclusion. It is more of a research exercise to learn. All we can say is that as the code stands right now Java JIT is faster than C++ clang AOT for this simple map implementation. And all the code, compilat
10.
▲
by
joas_coder
2y ago
You can find all the results and code in our GitHub repository => https://github.com/coralblocks/CoralBench?tab=readme-ov-file...
11.
▲
Java (JIT) vs C++ (AOT) for a simple hash table
(github.com)
4 points
by
joas_coder
2y ago
|
8 comments
12.
▲
by
joas_coder
2y ago
If you don't mind suggesting a better title I'll be happy to change it
13.
▲
by
joas_coder
2y ago
Do you know a trustworthy source where I can compare single thread performance of M3s and M4s?
14.
▲
by
joas_coder
2y ago
I thought they were trustworthy but I can be wrong. Where is the screaming text in what site that you are referring to?
15.
▲
by
joas_coder
2y ago
Agree! But how about the M3 8 Core (4754) beating the M4 Max 14 Core (4614)? I thought the M4s were faster than the M3s (single core / single thread), but it looks like they will only be faster on multi core / multi thread benchma
16.
▲
by
joas_coder
2y ago
According to CPUBenchmark.net the M3 Max 16 Core is the fastest single thread cpu with a score of 4,785, followed by the M3 Max 14 Core with a score of 4,771. Although the numbers above are close, it does not make much sense to me that a ch
17.
▲
by
joas_coder
2y ago
I see. Sorry about that. Won't be putting any more comments in the title. Thanks for your guidance. I HAVE NOW CHANGED THE TITLE => Thanks again!
18.
▲
by
joas_coder
2y ago
Sorry about that. I'm new here. Would you be so kind as to tell me what I did wrong? I'll be happy to correct it and learn not to do it again.
19.
▲
CPUBenchmark.net says M3 is faster than all M4s on single thread performance
(cpubenchmark.net)
11 points
by
joas_coder
2y ago
|
16 comments
20.
▲
by
joas_coder
2y ago
Their official benchmarks => https://www.cpubenchmark.net/singleThread.html According to PassMark CPU Benchmarks, a trusted source, updated frequently, the M3 Max 16 Core is the fastest single thread cpu with a score of
21.
▲
by
joas_coder
2y ago
You were interested in the diamond queue, so just wanted to say that it is now released in our GitHub => https://github.com/coralblocks/CoralQueue?tab=readme-ov-file...
22.
▲
by
joas_coder
2y ago
You are going to block/wait yourself when availableToPoll() (now changed to availableToFetch() for clarity) returns 0. When that happens you can block/wait by busy spinning or by using a wait strategy. The blocking term means that
23.
▲
Developing Java applications without the Garbage Collector [video]
(youtube.com)
3 points
by
joas_coder
2y ago
|
0 comments
24.
▲
by
joas_coder
2y ago
Totally agree! Because of the zero-garbage and no-gc requirement we don't even use the JDK. We use Java as syntax language and write everything from scratch, even the data structures (java.util.HashMap produces garbage). So the bloate
25.
▲
by
joas_coder
2y ago
This change is now released. Thanks knome and gpderetta for your suggestions and clarifications. availableToPoll() is now availableToFetch() poll() is now fetch() peek() is now fetch(false) Note that fetch() == fetch(true)
26.
▲
by
joas_coder
2y ago
That's fair! I would assume that was due to your comfort zone and muscle memory. Not because you found Java to be harder than C++. Usually a higher level language is easier to grasp, handle and manage than a lower level one.
27.
▲
by
joas_coder
2y ago
It is clear to me now that poll only removes if there is something to remove A much better name would have been FETCH and not POLL We'll be changing everything from poll to fetch in the next version => availableToFetch() and fetch()
28.
▲
by
joas_coder
2y ago
Oh, I see now. I thought he was talking about a computer language but he was actually talking about the English language. My bad. So are you saying that POLL was a bad choice of name because polling means "check if there is something a
29.
▲
by
joas_coder
2y ago
Not a language difference, but a design difference. By calling availableToPoll before polling you can poll a batch of messages without blocking or locking on each message. This design decision allows the ring to perform batching naturally.
30.
▲
by
joas_coder
2y ago
CoralRing does not produce garbage, but it cannot control what other parts of your application choose to do. It will hand to your application a message without producing any garbage, now if you go ahead and produce garbage yourself then the
More ›