News for hackers. Stuff that matters.

arvyy

As a related work regarding continuations, there was also a thesis by Andrea Bernardini (https://andrebask.github.io/thesis), with similar principal idea
Re:Rhombus 1.1 is now available on Monday August 17, 2026 @03:01AM (#49327353)
> shows how powerful Racket can be for building programming languages!

Building languages was always one of selling points racket tried to push; the "Language-Oriented Programming Language" slogan and all.

Re:Rhombus 1.1 is now available on Monday August 17, 2026 @02:57AM (#49327321)
you might be interested in Hy lang
Re:How We Pushed CDC into Postgres on Monday August 10, 2026 @03:23AM (#49240424)
as much praise as some people give to it, I feel deeply uncomfortable with an idea of SaaS-only DB tech that you don't have an option to self host
Re:Auto mode is now the default in Claude Code on Monday August 10, 2026 @02:36AM (#49240037)
same, and unlike other repliers, I'll say one doesn't need to reinvent a new tool for this. Just use devcontainers.
Re:Lisp moving Forth moving Lisp on Wednesday July 29, 2026 @12:38PM (#49099744)
what I meant, the macro system should support hygiene, not necessarily that all macros in it must be hygienic. The syntax bits being manipulated come with an extra scope context, which means you get better preserved information about initial structure of your program; the more information macro has, the more it can achieve. And crucially, in a macro system capable of hygiene, you're not implicitly losing unhygienic capabilities. Implementing unhygienic macros in a hygienic system just means deleting all the scope information. Implementing hygienic macros in unhygienic system is a question mark. As (a somewhat imprecise) analogy, consider dynamic vs lexical scoping. If you have just lexical scoping support, you can mimic dynamic scoping with globals (since global scope is what's left when you delete other scopes). If you have just dynamic scoping support, implementing lexical scope is a question mark.

What Let Over Lambda calls limited power, is probably in reference narrowly to `syntax-rules`. It's not just that it's hygienic, but that it purposefully has no way to opt out of it (unhygienic capabilities in a hygienic system are trivial to provide; but they still need to be provided by language implementation) but what's even more limiting is that it doesn't let you write procedural macros, it's all arcane pattern matching and templates. `syntax-case` (part of r6rs) doesn't have these issues.

Re:Lisp moving Forth moving Lisp on Wednesday July 29, 2026 @06:28AM (#49095588)
all the things, if macro system is sufficiently sophisticated (ie., hygienic with ability to attach metadata to syntax object). Racket is one of languages with such system, and they implemented static typing using them.
Re:Grok uploaded my user directory to xAI's servers on Monday July 13, 2026 @02:03PM (#48896404)
I used opportunity to learn about devcontainers. I've only recently started using llms and it's possible I'll change my mind later; but so far I quite like the approach in part because it 2-for-1 also gives benefit of easy to setup coding env for people who don't care about ai.
Re:A font that humans can read but AI cannot on Saturday July 11, 2026 @08:16AM (#48871387)
it's a very old idea. I first saw this on https://www.squidi.net/three/entry.php?id=56
Re:International chess federation sanctions Kramnik on Friday July 03, 2026 @01:55PM (#48777844)
one of the players he persistently harassed, Daniel Naroditsky, ended up dying, which surely gave an extra push
It took 6 turns for opus 4.8 to attempt to make an illegal move in chess against me.

Yes you can setup guardrails and validations and other things, but as long its primary brain is demonstrably full of holes, I feel obligation to at very least be always be capable to take over the code. To me this means it should stay human-maintainable, and that's for humans to decide what is and isn't, one review at a time.

Re:I keep bouncing off the Scheme language on Monday May 25, 2026 @03:15AM (#48264278)
Almost all of these problems are due to scheme being so absurdly fractured, it's a real shame. It's already niche, but then on top of it instead of having 2-3 robust implementations with robust cli / messages / docs / etc, you have 20 (not a hyperbole[1]), each one receiving diluted effort compared to what it could have been.

Probably the one bit that isn't strictly fracturing's fault is stacktraces -- scheme has TCO, which is nice for alot of things but it absolutely destroys dx as it relates to stacktraces. Other languages with TCO are similarly awful in that regard, including haskell (ghc has `HasCallStack` to try help it, but it's still awful to use).

[1] https://get.scheme.org/

Re:Chess Invariants on Friday May 22, 2026 @12:55PM (#48238436)
doubtful, or at least not useful ones. Like, you could describe some invariant along the lines of "the position is winning for the side-to-move, iff there exists move, such that position' := ApplyMove(position, move) is losing for the (now other) side-to-move". But that's just restating minimax algorithm that people have known for 50 years.

As someone dabbling abit around chess engine development, I'm very often impressed by the many intricacies and observations made by people who pushed the envelope. It just doesn't sound plausible people wouldn't have discovered these killer invariants by now if they existed

Re:Jank now has its own custom IR on Monday May 18, 2026 @05:54AM (#48177390)
> the vars are usually compiled to the moral equivalent of a global variable holding a pointer to a function. This allows you to update the function if the developer redefines it in the REPL, but it comes at a performance cost (the JVM can't inline it or otherwise optimise it)

might be out of my depth but I find it surprising; I thought compilation through invokedynamic should be able to handle redefinition while still allowing inlining and other jit optimizations

Re:Why I Still Reach for Lisp (& Scheme) Instead of Haskell on Thursday April 30, 2026 @06:10AM (#47960368)
> if the language used statement delimiters

I mean, it does. White-space sensitive syntax is entirely opt-in when you chose to omit delimiters. Here's an explicit delimiter example:

    let {
      a = 1;
      b = 2
    } in a + b
Re:Why I Still Reach for Lisp (& Scheme) Instead of Haskell on Thursday April 30, 2026 @05:57AM (#47960274)
kawa is unfortunately a somewhat shoddy project. Alot of halfbaked features / abstraction ideas (eg trying to support CL for whatever reason), dubious tooling for a java project (autotools), unclean and inconsistent code formatting. It's missing some features that are expected in a real scheme like multishot continuations; someone wrote research about it as a MSc thesis, but due to mentioned shoddiness its integration to upstream stalled and hadn't been merged.

At some point I thought of forking it to then cut out and polish the core, but then my attention got caught by graal's truffle framework as a plausibly better path for implementing scheme in java

Re:Vercel April 2026 security incident on Monday April 20, 2026 @04:02AM (#47831506)
> you as the customer are too dumb to not spill hot coffee over yourself

presuming you're referring to the hot coffee lawsuit, maybe read details of the story. McDonalds wasn't at all blameless, and the plaintiff had reasonable demands

it feels OpenAI know they've lost, and their only hope is getting saved by USA military complex. I have a more restrained opinion about other AI companies and LLM tech more broadly; but for OpenAI specifically I hope they go bankrupt sooner rather than later
hardly new, I've used it before advent of llm popularity, and I wasn't alone
Re:Claude's C Compiler vs. GCC on Monday February 09, 2026 @10:36AM (#46946370)
CS undergrads write parsers for some toy lisps or other straight forward syntax. C isn't as trivial https://faultlore.com/blah/c-isnt-a-language/#you-cant-actua...

(a small remark, but to be clear I'm not terribly impressed by AI showcase of the c compiler, nor with browser before that, as it stands)

Re:My AI Adoption Journey on Friday February 06, 2026 @10:06AM (#46913707)
I knew one person reporting gcc bugs, and iirc those were all niche scenarios where it generated slightly suboptimal machine code but not otherwise observable from behavior
hopefully a legal action is taken against such abhorrent project blatantly violating users' privacy
Re:Truffle ISLISP on Tuesday May 14, 2024 @04:36AM (#40352899)
Performance concerns are WIP, it's too early to meaningfully benchmark. I did some napkin benchmarking against sbcl for curiosity and it was ~7 times slower