HackerLangs
TopNewTrendsCommentsPastAskShowJobs

owlstuffing

no profile record

Submissions

OpenJDK Interim Policy on Generative AI

openjdk.org
3 points·by owlstuffing·vor 3 Monaten·1 comments

Optional/Named Arguments for Java

github.com
1 points·by owlstuffing·vor 4 Monaten·1 comments

Rethinking Syntax: Binding by Adjacency

github.com
53 points·by owlstuffing·vor 4 Monaten·23 comments

Type-Safe JDBC: Schema-First Native SQL in Java

github.com
3 points·by owlstuffing·vor 4 Monaten·1 comments

comments

owlstuffing
·letzten Monat·discuss
Delphi?! Interbase?! Is this a Borland reunion?
owlstuffing
·vor 3 Monaten·discuss
Ada was designed to solve different problems in harsher environments than other PLs at the time. Mostly, it was designed for the defense and aeronautics industries and had to compete against other PL designs to become a govt standard, similar to how weapons of war are developed and chosen. Think developing for hardcore code audits. There is no way the language could check all the boxes and remain compatible with, say, Pascal or Modula syntax.
owlstuffing
·vor 3 Monaten·discuss
Analytics with type-safe raw SQL (including DuckDb’s awesome extensions) is pure gold:

https://github.com/manifold-systems/manifold/blob/master/doc...
owlstuffing
·vor 3 Monaten·discuss
Precisely. 'member CUA?
owlstuffing
·vor 3 Monaten·discuss
Many will argue that Oracle is overreacting, and they may not be entirely wrong. But as someone who reviews PRs for open source languages and tooling, their interim actions strike me as both sound and measured.

The number and size of AI-assisted PRs have reached a tipping point. Reviewing them already consumes a significant amount of time, and even filtering out the obvious ones is a drag. More importantly, the risk/reward balance is shifting in the wrong direction. For now, placing constraints on AI-assisted contributions feels like a sensible way to manage that risk.

Will this policy reject or slowdown otherwise beneficial PRs? Potentially. But that is the tradeoff. Until there is a better way to offset risk, this one is probably the least bad strategy.
owlstuffing
·vor 3 Monaten·discuss
[dead]
owlstuffing
·vor 3 Monaten·discuss
General purpose != multiple dialects, that is the trouble with languages like this - C# is a tower of babel.
owlstuffing
·vor 3 Monaten·discuss
In isolation, yes, I agree with you. But in the context of the cornucopia of other "carefully evaluated" features mixed into the melting pot, C# is a nightmare of language identities - a jack of all trades, master of none, choose your dialect language. No thanks.
owlstuffing
·vor 3 Monaten·discuss
F# units are handy, but nothing like Manifold units (Java):

https://github.com/manifold-systems/manifold/tree/master/man...
owlstuffing
·vor 3 Monaten·discuss
> Pulling them all into C# just makes C# seem like a big bag of stuff, with no direction.

Agreed. Java is on the same trail.
owlstuffing
·vor 3 Monaten·discuss
> It doesn't cover ad-hoc unions

Yes and no. C# unions aren’t sealed types, that’s a separate feature. But they are strictly nominal - they must be formally declared:

    union Foo(Bar, Baz);
Which isn’t at all the same as saying:

    Bar | Baz
It is the same as the night and day difference between tuples and nominal records.
owlstuffing
·vor 3 Monaten·discuss
It’s not their code, and it’s not for them to understand. The endgame here is that code as we know it today is the “ASM” of tomorrow. The programming language of tomorrow is natural human-spoken language used carefully and methodically to articulate what the agent should build. At least this is the world we appear to be heading toward… quickly.
owlstuffing
·vor 3 Monaten·discuss
There is a large and growing segment of executives in the software world that is pushing this model hard, like betting their career on it. To them the “dark factory” is an inevitability. As a consequence, not only are developers choosing this path, but the companies they work for are in varying degrees selecting this path for them.
owlstuffing
·vor 3 Monaten·discuss
Not having to run a mess of Linux commands to install software.
owlstuffing
·vor 4 Monaten·discuss
"Fat" runtime? Go? Nah.

Go's runtime is thin: goroutines, a GC specialized for concurrency, networking, and little else. Java, by contrast, assumes a JVM plus massive stdlibs to handle everything from enterprise apps to big-data, making its platform genuinely "fat" and layered. Other Java-tier languages, C# included, follow the same model.
owlstuffing
·vor 4 Monaten·discuss
Now that Go is styled as a Java competitor its framing is different. But here's an old golang.org archive for fun:

https://web.archive.org/web/20091113154831/http://golang.org...

The main page title *Go: a systems programming language*

It still sports all the low-level stuff too, pointer arithmetic and all.
owlstuffing
·vor 4 Monaten·discuss
It's replete with oddities and limitations that signal "ah, this is because systems language."

Go’s type system, for example, is very much a systems-language artifact. The designers chose structural typing because it was lighter weight, but provided enough type safety to get by. It sucks though for enterprise app development where your team (and your tooling) are desperate for nominal typing clarity and determinism.
owlstuffing
·vor 4 Monaten·discuss
> I think the reputation you mentioned. . .

Actually no. Go was designed from the beginning as a systems language as a C replacement.
owlstuffing
·vor 4 Monaten·discuss
Kotlin's "delegation" feature isn't true delegation, it's just call forwarding, which is better than nothing, but it falls down pretty quickly as an alternative to implementation inheritance.

The manifold project provides true delegation[1] for Java.

1. https://github.com/manifold-systems/manifold/blob/master/man...
owlstuffing
·vor 4 Monaten·discuss
> Maybe this is just a question of taste but I never could get along with Javas (or Kotlin's) tooling

Are you joking? IntelliJ is without a doubt the best dev tooling environment available.