Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Cloudflare Quick Tunnels(cloudflare.com ↗)
    55comments
  2. North Korean nuclear test sets off years of earthquakes(science.org ↗)
    33comments
  3. An Empirical Study of Harness Design for Coding Agents(arxiv.org ↗)
    27comments
  4. OpenJev(openjev.com ↗)
    193comments
  5. Show HN: Rickub – The Smartest Git in the Universe(rickub.com ↗)
    4comments
  6. Mathematicians Build Long-Awaited Graph Sandwich(quantamagazine.org ↗)
    discuss
  7. I don't like passkeys(hawksley.dev ↗)
    409comments
  8. The Shadows Lurking in the Equations – Underwater Islands(gods.art ↗)
    8comments
  9. NATS publishes preliminary report on technical incident of 8 September(nats.aero ↗)
    14comments
  10. Bend 2 and the Vibe-Coding Trap(liampwll.com ↗)
    200comments
  11. Jemalloc 5.4.0(github.com/jemalloc ↗)
    67comments
  12. GrassLobster: AI Agentic Generation of Parametric Geometry Workflows(miro.vision ↗)
    discuss
  13. The scourge of x86 emulation(fex-emu.com ↗)
    63comments
  14. Cekura (YC F24) Is Hiring(ycombinator.com ↗)
    discuss
  15. Build Faster Feedback Loops Using Qualitative User Research(nseldeib.com ↗)
    discuss
  16. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    129comments
  17. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    53comments
  18. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    172comments
  19. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    287comments
  20. Qwen 3.8 Omni Flash(qwen.ai ↗)
    106comments
  21. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    568comments
  22. BeanShell3 in Development(beanshell.github.io ↗)
    7comments
  23. Second Circuit Allows Government to Search Electronic Devices at the Border(knightcolumbia.org ↗)
    28comments
  24. AI is an elite crime spree(thebignewsletter.com ↗)
    1comments
  25. How to Write with an LLM(sockpuppet.org ↗)
    175comments
  26. When the fractional part of a float fixes your shader(crocidb.com ↗)
    16comments
  27. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    57comments
  28. Replacing Pull Requests with Delta(zed.dev ↗)
    60comments
  29. US Treasuries Have Become Unappetizing for Foreign Central Banks and Governments(wolfstreet.com ↗)
    2comments
  30. HEIF Heist: image parser RCE exploit(heif-heist.com ↗)
    3comments

History of T

76 pointsby 18y agopaulgraham.com
27 comments
18y agoHN ↗

Is anyone using T currently? Or anything directly T-derived?

18y agoHN ↗

It would also be interesting to compare it with Arc.

18y agoHN ↗

comparison: T is Scheme with an optimizing compiler that was the state of the art that also served as a backend for a few other languages

Arc is a few syntactic rewrites layered on top of dr scheme with some relatively unique libraries that could easily be ported back to dr scheme.

18y agoHN ↗

The test of a language is what it gives the user, not how many lines of code it is. JMC's original Lisp is about 50 LOC.

Imagine if I spent the next year writing an immensely complicated optimizing compiler for Arc, and succeeded in making it 2x faster than code generated by the compiler the MzScheme guys have spent so many years writing. A lot of people would be more impressed with Arc then. And yet I'd have pretty much wasted my time. Arc is already acceptably fast. So at the end of this exercise I'd have produced a language that was better in ways users didn't care about, and no better in the ways they do (language features).

Instead I work on language design. Like JMC's code, this kind of thing is easy to copy-- once someone has already shown it to you.

You know, when I write about how one should work on the problems that really matter instead of the ones that are prestigious, people read those essays and think "yes, obviously, that's exactly what I'd do." But it's not till you try working on unfashionable problems that you see how immense the pressure is to work on fashionable ones.

Just as well I've avoided saying most of the "things you can't say," or 90% of the people who read that essay and think "hear, hear" would hate me instead....

18y agoHN ↗

so why aren't you using Dr Scheme directly? [edit in response to pg's edit] to be specific, why don't you have arc include the various high level modularity and semantic abstractions that Dr Scheme exposes? eg 1) a powerful high level macrosystem 2) ways of specifying / enforcing module interfaces 3) everything else that i'm forgetting

18y agoHN ↗

1) Because I don't think you want anything more "powerful" than defmacro-style macros. 2) Because at this stage I'm focusing mostly on making programs shorter.

18y agoHN ↗

At RubyFringe, Giles Bowkett conjectured "Maybe a programmer is a how, not a what." Although I'd read this before, it shook me. Things in a language's implementation are hows, while things in its design are whats.

18y agoHN ↗

Doug Kaye: The second chapter of the book, which is in fact entitled Hackers and Painters, draws parallels between hacking and painting. In what ways do you think to program is more like painting than it is like some of our more common metaphors such as engineering?

Paul Graham: One big difference between painting and engineering is engineers.in buildings for example there is this distinction between architects and engineers. Architects decide what the building is going to look like basically and then they say to an engineer, "Can I do this? And then how?" And the engineer figures out how. So architects figure out "what," engineers figure out "how." Well painters do both. Painters decide what to paint and then have to paint it. And hackers in the best case also do both. They're not merely engineers who just figure out "how." The great hackers decide "what" and then figure out "how." And in fact the two can influence one another in a cycle in the best case. In the best case, you figure out "what" by trying various "hows."

http://www.thelinguist.com/en/en/library/item/10593/

18y agoHN ↗

Are you still working on Arc? You've been absent from the Arc forum for a long time...

18y agoHN ↗

Yes, I've been working quite a lot on various bits of the code this summer. In the last couple weeks I've been working on speed improvements and protection against voting rings and spammers in news. (The stories on the frontpage now seem visibly better, at least to me.)

18y agoHN ↗

So to get the terminology right, Dr Scheme is a "programming environment" (think of it as the IDE) for PLT Scheme. Arc runs on MzScheme, which is PLT's implementation of Scheme (plus a lot of other things too).

I haven't heard of anyone using Dr Scheme as an editor / IDE for Arc.

18y agoHN ↗

by Dr Scheme in my case I mean plt scheme, which is pretty nice as schemes go

18y agoHN ↗

I've used Dr Scheme with arc (technically anarki-arc). It worked with no problem on Windows XP / Windows Vista / Ubuntu / Mac OS X (10.5). It's probably the single easiest way to demo it to someone that isn't familiar with lisp/scheme. (java heads, .net programmers, etc.)

Demoing it with a eclipse / visual studio like IDE really does make a difference. There a a surprising number of people who dislike VI/VIM and emacs.

When I'm actually doing arc development I use emacs and inferior-arc.

http://github.com/nex3/arc/tree/master/extras/inferior-arc.e...

18y agoHN ↗

I wonder if PG will incorporate the dataflow portions of his dissertation in a future Arc compiler?

18y agoHN ↗

Computers have changed since the 80's. A lot. Micro-optimizations at the instruction level only help code that can run out of L1 cache. Typical tasks these days (c.f. web development, both server and client) use huge data sets, and are frustratingly resistant to this kind of trick.

I'm not a big fan of either scheme or arc, frankly, but pg's decision to leave the optimization to the underlying scheme interpreter sounds spot on to me.

18y agoHN ↗

Some schemers on #scheme on irc.freenode.net are toying with it I believe.

18y agoHN ↗

"I object to doing things that computers can do." --Olin Shivers

"I start getting the shakes real bad around 10am, right before my advisor meetings. A 10 oz. Jack 'n Zac helps me get through the meetings without one of my students winding up with his severed head in a bowling-ball bag. They look at me funny; they think I twitch a lot. I'm not twitching. I'm controlling my impulse to snag my 9mm Sig-Sauer out from my day-pack and make a few strong points about the quality of undergraduate education in Amerika." --Olin Shivers, from the scsh manual "acknowledgements"

18y agoHN ↗

If I thought anyone cared, if I thought anyone would even be reading this, I'd probably make an effort to keep up appearances until the last possible moment. But no one does, and no one will. So I can pretty much say exactly what I think.

Oh, yes, the acknowledgements. I think not. I did it. I did it all, by myself.

The acknowledgements of the scsh manual is one of the most entertaining pieces of a technical manual I've read.

18y agoHN ↗

Any links anywhere to some sample applications or code snippets written in T?

Sounds like an interesting variant of Lisp.

18y agoHN ↗

This article is both inspiring and depressing. Depressing because it reminds me of how little I truly know about computing. :(

18y agoHN ↗

Maybe a brave professor will set down a Team of 6-7 skilled graduates and hack out a language of the future again. It is about time it happens. When I see around the world of academia I am not seeing that happen that much though as good old software engineering on creating a good compiler will not produce any articles.

It is sad though.