349 karma · joined Aug 12, 2023 (3y ago) · 305 submissions
comment 4d ago · link · parent
Not necessarily. The path paved by Masullo likely sheds light where there was none prior to his work. AI can exploit that to perhaps gain a foothold from a different perspective toward the same goal.
comment 6d ago · link · parent
The problem with expanding it to include function calls is that it compromises binary compatibility. A code change on a function that results in a different range or has different side effects, will not be realized unless the caller is recompiled.
comment 2w ago · link · parent
JB’s wheelhouse is human-oriented code authoring, they own it. That realization is the fundamental reason they abandoned Fleet: as with VS Code and others, Fleet was draining their talent and would have resulted in a tool that wasn’t best-of-breed in any one category.
This situation reminds me of the beginning of the end of Borland’s demise: they spent nearly two years writing OS/2 versions of all their language products, suspending innovation and progress across the board, and allowing the competition (Microsoft) to catch up and begin to hire away their talent.
This story doesn’t perfectly align with JB, but it definitely rhymes. I hope they switched gears soon enough.
comment 1mo ago · link · parent
Too far: there are several dialects one can use with it e.g., I can speak Haskell with Scala grammar. Unlike with Java there is no central Scala dialect, so reading/maintaining a Scala codebase can be a challenge.
Too close: its type system, as advanced as it is, is still stuck in Java’s inheritance and all its limitations. Traits, for example, are not runtime components, they dissolve into the hosting class’ single object, giving up the independent identity and flexibility of runtime configured composition. And the Scala 3 `exports` feature that departs Java’s inheritance is just forwarding, not true delegation; it is the inverse of traits: it trades self identity for independent identity (no late-bound self that comes free with impl inheritance).
comment 4mo ago · link · parent
/*[Dude.json/] {
"Name": "Scott",
"Age": 100,
"Address": {
"Street": "345 Syracuse Way",
"City": "Atlantis"
}
}
*/
Dude dude = Dude.fromSource();
out.println(dude.getName());
out.println(dude.getAge());
out.println(dude.getAddress().getCity());
https://github.com/manifold-systems/manifoldcomment 7mo ago · link · parent
comment 7mo ago · link · parent
https://github.com/manifold-systems/manifold/blob/master/doc...
comment 7mo ago · link · parent
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.
14.
OpenJDK Interim Policy on Generative AI(openjdk.org ↗)
3 points · by owlstuffing · 7mo ago · 1 comment
comment 7mo ago · link · parent
https://github.com/manifold-systems/manifold/tree/master/man...
comment 7mo ago · link · parent
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.comment 7mo ago · link · parent
comment 7mo ago · link · parent
comment 8mo ago · link · parent
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.
comment 8mo ago · link · parent
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.
comment 8mo ago · link · parent
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.
comment 8mo ago · link · parent
The manifold project provides true delegation[1] for Java.
1. https://github.com/manifold-systems/manifold/blob/master/man...