Readit News logoReadit News
wrathofmonads commented on Oracle made a $300B bet on OpenAI. It's paying the price   finance.yahoo.com/news/or... · Posted by u/pera
wrathofmonads · 4 days ago
Oracle’s massive bet on OpenAI might be financially risky, but its investments in AI farms could accelerate Java’s evolution for AI. While Python dominates training, inference is where the money is. Projects like OpenJDK Babylon hint at a future where the JVM becomes a serious player in AI inference.

https://openjdk.org/projects/babylon/articles/auto-diff

wrathofmonads commented on Leaving the U.S. for the Netherlands   newyorker.com/magazine/20... · Posted by u/rbanffy
wrathofmonads · 6 days ago
I sometimes wonder whether the political attitudes of some immigrants and their descendants are shaped by negative experiences or family histories from their countries of origin. This might help explain why people with backgrounds in places like South Africa, the Levant, or Eastern Europe often express strong libertarian views or criticize institutions such as the European Union, progressive politics, or European bureaucratic culture.

Many people don’t realize how much European countries have advanced. Poland and Romania, for example, have been among the major beneficiaries of EU integration. At the same time, American tech companies enjoyed relatively easy access to the European market for years, operating with limited regulation, while countries like Russia and China restricted foreign platforms early on and invested heavily in developing their own cloud and digital infrastructures.

Deleted Comment

wrathofmonads commented on Scala 3 slowed us down?   kmaliszewski9.github.io/s... · Posted by u/kmaliszewski
dtech · 9 days ago
Sort of true, but I often hear this take from Java programmers and it feels like "Blub" [1]/Stockholm syndrome to me.

Personally, I'm extremely glad to not have had to write .toStream().map(...).collect(Collectors.list()) or whatever in years for what could be a map. Similar with async code and exception handling.

For me one of the main advantages of Kotlin is that is decreases verbosity so much that the interesting business logic is actually much easier to follow. Even if you disregard all the things it has Java doesn't the syntax is just so much better.

[1] https://paulgraham.com/avg.html

wrathofmonads · 9 days ago
Java 16+

    stream.map(...).toList()
https://bugs.openjdk.org/browse/JDK-8180352

wrathofmonads commented on Scala 3 slowed us down?   kmaliszewski9.github.io/s... · Posted by u/kmaliszewski
frje1400 · 9 days ago
> And if you are starting a new project, why would you pick Java over Kotlin?

Because in 5-10 years you'll have a Java project that people can still maintain as if it's any other Java project. If you pick Kotlin, that might at that point no longer be a popular language in whatever niche you are in. What used to be the cool Kotlin project is now seen as a burden. See: Groovy, Clojure, Scala. Of course, I recognize that not all projects work on these kinds of timelines, but many do, including most things that I work on.

wrathofmonads · 9 days ago
Clojure has never been a popular language, nor has it aimed to be mainstream. That is the Lisp curse. It has never positioned itself as a "better Java". It shines in applications where immutable, consistent, and queryable data is crucial, and it has found another niche in UIs through ClojureScript.
wrathofmonads commented on Scala 3 slowed us down?   kmaliszewski9.github.io/s... · Posted by u/kmaliszewski
derriz · 9 days ago
I was involved in a Scala point version migration (2.x) migration a few years ago. I remember it being painful. Although I recall most of the pain was around having lots of dependencies and waiting for libraries to become available.

At the time Scala was on upswing because it had Spark as its killer app. It would have been a good time for the Scala maintainers to switch modes - from using Scala as a testbed for interesting programming-language theories and extensions to providing a usable platform as a general commercially usable programming language.

It missed the boat I feel. The window has passed (Spark moved to Python and Kotlin took over as the "modern" JVM language) and Scala is back to being an academic curiosity. But maybe the language curators never saw expanding mainstream usage as a goal.

wrathofmonads · 9 days ago
Kotlin hasn’t made much of an impact in server-side development on the JVM. I’m not sure where this perception comes from, but in my experience, it’s virtually nonexistent in the local job market.
wrathofmonads commented on Anthropic acquires Bun   bun.com/blog/bun-joins-an... · Posted by u/ryanvogel
DarkNova6 · 13 days ago
Apples and oranges. Maven is leagues beyond npm. Screw Gradle.

How many mass security incidents have there been with npm just the last few weeks?

wrathofmonads · 13 days ago
Maven is excellent! Once you understand it, you can work with almost any Maven project without needing to learn the specifics. I’d take Maven or Cargo any day over anything in the JavaScript or Python ecosystem.
wrathofmonads commented on Anthropic acquires Bun   bun.com/blog/bun-joins-an... · Posted by u/ryanvogel
mrcsharp · 14 days ago
> Nobody cares about this

And that was my point. The choice of using JS/TS for LLM stuff was made for us based on initial wave of SDK availabilities. Nothing to do with language merits.

wrathofmonads · 13 days ago
This has always been the case. The Java and C# ecosystems prioritise stability and scale. They wait for ideas to prove themselves in other languages like Erlang, Python, Go, Scala, and so on, and then adopt the successful ones. Last-mover advantage. That said, there are some caveats. Java is still missing value types, while C# has moved quickly with async/await rather than adopting models like goroutines or virtual threads, which can sometimes limit concurrency ergonomics for the developer.
wrathofmonads commented on Anthropic acquires Bun   bun.com/blog/bun-joins-an... · Posted by u/ryanvogel
dts · 14 days ago
A lot of people seem confused about this acquisition because they think of Bun as a node.js compatible bundler / runtime and just compare it to Deno / npm. But I think its a really smart move if you think of where Bun has been pushing into lately which is a kind of cloud-native self contained runtime (S3 API, SQL, streaming, etc). For an agent like Claude Code this trajectory is really interesting as you are creating a runtime where your agent can work inside of cloud services as fluently as it currently does with a local filesystem. Claude will be able to leverage these capabilities to extend its reach across the cloud and add more value in enterprise use cases
wrathofmonads · 13 days ago
Java was doing "cloud-native, stripped down (jlink) image, self-contained runtime with batteries included" long before Bun existed. There's also GraalVM for one executable binary if one's ambitious.
wrathofmonads commented on Is C++26 getting destructive move semantics?   stackoverflow.com/questio... · Posted by u/signa11
amluto · 25 days ago
> C++ maps almost perfectly to the hardware with minimal overhead

Barely.

The C++ aliasing rules map quite poorly into hardware. C++ barely helps at all with writing correct multithreaded code, and almost all non-tiny machines have multiple CPUs. C++ cannot cleanly express the kinds of floating point semantics that are associative, and SIMD optimization care about this. C++ exceptions have huge overhead when actually thrown.

wrathofmonads · 25 days ago
In simulations or in game dev, the practice is to use an SoA data layout to avoid aliasing entirely. Job systems or actors are used for handling multithreading. In machine learning, most parallelism is achieved through GPU offloading or CPU intrinsics. I agree in principle with everything you’re saying, but that doesn’t mean the ecosystem isn’t creative when it comes to working around these hiccups.

u/wrathofmonads

KarmaCake day27August 13, 2024View Original