Better HN
topnewbestaskshowjobs
Log inSign up

jkhdigital

3,739 karma · joined Aug 31, 2019 (7y ago) · 1,275 submissions

Submissions

comment 3d ago · link · parent

Yeah I’m wondering how on Earth a single conjecture can require 17 million lines of code to prove, but if it involved building up an entire ecosystem of theorems that had not yet been formalized then I suppose it makes sense.

comment 4d ago · link · parent

This. Frontier AI means that the sharpest minds in the world now have an infinitely patient and motivated colleague to work through every idea.

I’m not claiming to be “top human intelligence” but I’ve published in premier venues in my field and I can say confidently that none of my human colleagues can keep up in conversations on my research niche like Claude can.

comment 4d ago · link · parent

One of the reasons it is so hard is because the discipline of thinking about those things isn’t baked into the language like it should be. You can’t look at a piece of code in a typical high-level language and reason about synchronization overhead because those semantics aren’t expressible in the code. We need languages that support expression of effects and coeffects, which would enable that kind of high-level reasoning about tradeoffs.

comment 4d ago · link · parent

Yes, there’s a notable IEEE article from like 15 years ago that riffs on these same points—the gap between the abstraction presented by the typical ISA and the actual microarchitecture is too great to ignore and we have blindingly complex and opaque layers of compiler optimizations and OOO pipelines that exist solely to maintain the fiction for programmers.

I think the greatest benefit of rethinking CPU architecture at the level of the ISA will be to make performance more transparent to developers without the layers of black magic.

comment 4d ago · link · parent

No, they just revived the idea and the popularity of Rust means that now a critical mass of developers are used to single ownership and linear types. Which was not true in the 1980s.

comment 4d ago · link · parent

I am of the opinion that even if this novel architecture doesn’t yield dramatic improvements in peak performance across broad classes of workloads, it may still be a welcome improvement in the legibility of software performance down the stack.

By this I mean: currently, transforming a program written in a typical high-level language to optimized ISA code involves what can only be described as black magic inside the compiler. If you don’t know the implementation details of modern superscalar OOO branch-predicting microarchitectures then you may have no clue why two very similar-looking functions could have dramatically different running times. Cue Matt Godbolt tech talk…

What I see as the more promising side of this type of development is a tighter coherence, and thus more transparency in expected runtime performance, between the software above the ISA and the hardware below it. Essentially we now have a linear machine with a linear source language, and with the popularity of Rust nowadays we actually have a critical mass of developers who are already used to applying ownership discipline in program design.

comment 4d ago · link · parent

It’s more like it took some really clever insights sprinkled throughout a few decades of hardware/compiler/PL research and did all of the engineering and design work to turn those brilliant (human generated) ideas into a formally specified standard.

comment 4d ago · link · parent

The title is a bit misleading—humans came up with all the insights and innovations here. What AI has done, which it is exceptionally good at, is take decades of brilliant ideas buried in research literature and synthesize them into a coherently engineered product. It would seem that AI is now doing an end-run around the innovator’s dilemma, or at least part of it, by dramatically lowering the R&D cost of productizing laboratory ideas.

comment 1w ago · link · parent

Jensen and Harambe in the same sentence, not on my bingo card

comment 1w ago · link · parent

Nodding vigorously to that last comment. If I want to systematize something I put it in code. Natural language is not code.

comment 1mo ago · link · parent

Never change HN, never change

comment 1mo ago · link · parent

I was really impressed by the scale of the lacuna tool you created, but then I dug into the niche topics (steganography, covert communication) that constitute my PhD research area and my expectations were tempered.

There’s a lot of noise in the research literature. Lots of papers get published that really don’t contribute much of anything to the field, but the existence of a bunch of papers often sends a signal that some concept is important and needs to be studied.

I find that often a big cluster of papers around a particular topic, none of which seems to move the needle much, is actually an indication that we need a new approach and writing more and more incremental papers just digs deeper into a local minimum.

comment 1mo ago · link · parent

No, lookup tables aren’t magic. The lookup table is part of the program and the execution time includes reading the program itself. A table of size 2^n takes O(2^n) to read into memory.

comment 1mo ago · link · parent

How about fast software that works for 10 years?

The difference between an academic and an engineer is that the engineer understands that time spent in research and design does not magically justify itself. Quality and time-to-market are both important and to be an engineer is to figure out how to deliver along the optimal frontier.

comment 1mo ago · link · parent

But if you want a cathedral…?

comment 1mo ago · link · parent

Keep up the good work. Your contrarian comments on this thread are saving me from wasting time being the contrarian myself.

Is Zotero good software? Yeah, it seems pretty good. I myself don’t use it, despite trying, because it didn’t solve my problems. It is free, has always been free, and its users are primarily academics who do not face market economics for their work output.

Speed is not the enemy. A good engineer knows that time is a precious resource, just like any other, and should be valued appropriately. And engineers are not academics.

comment 1mo ago · link · parent

This post smells a lot like academia. I say that as someone who has spent quite a bit of time there myself, so I understand where the author is coming from, but “ivory tower” is still an apt metaphor.

comment 1mo ago · link · parent

Treat it like any other software system: rules that must not be violated are enforced by static type-checking or a trusted runtime monitor. There’s no other option.

comment 1mo ago · link · parent

Bitter Lesson showing up yet again, this time in context management?

comment 1mo ago · link · parent

Yes, I have a few CS papers on arxiv myself.

comment 2mo ago · link · parent

> resulting in the production of an abundance of PDFs. The contents of some of those PDFs may even have important applications.

I hope, from the depths of my soul, that the static typeset report format for transmitting knowledge and understanding will finally die and be laid to rest.

comment 2mo ago · link · parent

Java doesn’t permit that. You must specify covariant or contravariant type parameters with <? extends T> or <? super T>.

comment 2mo ago · link · parent

We don’t need new ideas, we need languages that take the best ideas developed over the past decade of PL research and operationalize them in a language with modern tooling and build support.

comment 2mo ago · link · parent

Most of my research conversations with Claude nowadays are basically about this—what it would take to make every latent bit of program semantics visible and expressible in the language itself. As you put it, first-class everything.

At this point I think we have good solutions for expressing pretty much all the most common program semantics, but there’s no language that brings them all together under a unified syntax, tooling, etc.

comment 2mo ago · link · parent

I think Pony’s reference capabilities are a better solution for linear types. It’s just part of the language so a violation is simply a type error, not something flagged later during static analysis.

comment 2mo ago · link · parent

This article concludes with the following statement:

> So much of development is trade-offs, and you have to choose according to the situation, which ultimately comes down to the developer’s experience and judgment.

It’s a great article, but I think it is a bit behind the ball in framing scheduling problems as a matter of “experience and judgment”. The problem of allocating work to a scarce resource is one of the oldest and most well-studied in all of computer science. It would make sense to go consult a textbook on the matter before trying to reinvent the wheel.

comment 2mo ago · link · parent

“non-trivial” is one of those words that seems like it should be a Claude-ism but is actually just the single best word for a concept that comes up extremely often in research and engineering discussions.

comment 3mo ago · link · parent

You’re conflating the course and the classroom.

The explicitly stated goal of most courses is mastery of a well-defined set of domain-specific knowledge and skills. The only way to objectively determine if the course achieved that goal for a given student is comprehensive assessment. Bad assessment design, much like bad experiment design in science, is worse than useless—it actively misleads and confuses.

A well-designed, repeatable, reliable assessment is a prerequisite before one can even consider the effects of particular pedagogical methods inside or outside of the classroom itself.

comment 3mo ago · link · parent

Assembly doesn’t have typed objects, it has typed instructions. It’s like checked exceptions in Java—you have to declare them in the type signature of the method, and the compiler enforces that they are either caught and handled, or also explicitly declared by the caller. The type declaration is all about possible side effects.

It’s an effect in the type system, not a data type or behavior.

12345
43