Better HN
topnewbestaskshowjobs
Log inSign up

owlstuffing

349 karma · joined Aug 12, 2023 (3y ago) · 305 submissions

Submissions

comment 1d ago · link · parent

Nvidia, like all businesses, consists of the people that either make it successful or not.

comment 4d ago · link · parent

> And even if there was training-data leak, that wouldn't explain a proof by a different method anyway.

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

This type of optimization is also known as compile-time constant expression folding.

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

>Shame they killed Fleet, could have been a cool basis to compete with Zed (or VS Code, more directly) and integrate Air there or something.

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 3w ago · link · parent

> Polymorphism (“generics”) and interfaces (“OOP”) would have been even better to see

Yep. Interface-based (true) delegation between objects would be my go-to if it existed.

comment 1mo ago · link · parent

Scala is its own worst enemy in this respect. It’s both too close to Java and too far.

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

This is just a small part of manifold’s JSON integration. And, yes, the inline aspect is mostly for testing, and it’s awesome there.

comment 4mo ago · link · parent

You can inline native type-safe JSON directly in Java with the manifold project.

    /*[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/manifold

comment 5mo ago · link · parent

Delphi?! Interbase?! Is this a Borland reunion?

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

Analytics with type-safe raw SQL (including DuckDb’s awesome extensions) is pure gold:

https://github.com/manifold-systems/manifold/blob/master/doc...

comment 7mo ago · link · parent

Precisely. 'member CUA?

comment 7mo ago · link · parent

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.

14.

OpenJDK Interim Policy on Generative AI(openjdk.org ↗)

3 points · by owlstuffing · 7mo ago · 1 comment

comment 7mo ago · link · parent

General purpose != multiple dialects, that is the trouble with languages like this - C# is a tower of babel.

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

F# units are handy, but nothing like Manifold units (Java):

https://github.com/manifold-systems/manifold/tree/master/man...

comment 7mo ago · link · parent

> 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.

comment 7mo ago · link · parent

> 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.

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

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.

comment 7mo ago · link · parent

Not having to run a mess of Linux commands to install software.

comment 8mo ago · link · parent

"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.

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

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.

comment 8mo ago · link · parent

> I think the reputation you mentioned. . .

Actually no. Go was designed from the beginning as a systems language as a C replacement.

comment 8mo ago · link · parent

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...

12345
11