Programming thread

  • 🔧 Chat is under maintenance.
    🧊 New server is in an office waiting on a mexican.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
I opened two issues. I submitted two PR requests. I was banned within 5 minutes. I can't even fork the project on GitHub now to maintain a fork with the fixes I need because I am not permitted due to being banned.
The guy who banned you from the repo is a Roblox Employee. He has the Roblox organization on his GitHub but he doesn't show up on their group members. On top of being the main contributor to the project since Late 2021.
 
I only skimmed the code and my only concern is if the changes match the language spec. If the spec is silent then fine. I might have made them compile time configurable for anyone wanting the old undefined behavior.

Buf that's a discuss in PR not a ban you kind of question.
 
Hacker News: Tell HN: I unknowingly broke the PHP RCE embargo. I am sorry (archive) (mega) via Tom's Hardware
I posted here about the then-upcoming PHP RCEs related to CVE-2026-109618 & CVE-2026-109619. I appreciate this has had considerable knock-on effects with the schedule for co-ordinated disclosure, and created additional workload.
I am truly sorry. I take full responsibility for my actions.

It was not remotely my intention to cause any of the subsequent side effects.

At the time of posting, I didn't know about any embargo. My contact had told me there was no embargo, and her contact had told her the same thing.

As someone who follows the 4-weekly PHP release cycle and compiles it from source, my intention was to alert others in a similar position to be aware of the importance/urgency of the updates.

That clearly backfired in a pretty wild fashion. I have learned my lesson.
 
Users told him as much in some of the comments I looked at.
Good. Fuck that bullshit. If I find a critical flaw I'm reporting it publicly to get more eyes on it to get it fixed faster. Write better software if you don't want the embarrassment of endless pwnage. "Embargos." Fucking lol. "We're all secretly scheming to fix our shit first while leaving everybody else twisting in the wind because reasons." Give no loyalty to these assholes, because they offer you none themselves.
 
How is this their fault and not the PHP team's? How fucking far up the "chain of command" is a person expected to go for "permission" before announcing/disclosing a 9+ level severity CVE in critical software?

And no, PHP shouldn't be "critical software," but so many people use it, we're fucking stuck with it.
He didn't break the embargo in the first place. Him getting knowledge of it already was breaking the embargo.
 
Total exceptional individual hours. Regardless if he was or wasn't privy or party to the embargo, he was well aware of the severity, a ten out of ten by his own admission. And still he decided that STFU was less important than gaining internet points. This roody-poo shouldn't be blacklisted from internal security disclosures, no, I think he should be blacklisted from access to electricity.
 

The Goose Programming Language​


A memory-safe systems language with no heap allocator, garbage collector, or lifetime annotations. In this repository's benchmarks, Goose runs faster than C++ and Rust while using less memory.

Goose has syntax familiar to C and Rust programmers, but there is no heap. Every dynamic value lives inline on a data stack managed by the compiler. Growth advances a pointer, and memory is freed when its scope ends. The language's type and lifetime rules make this memory model safe to use.

Hmm, interesting.

  • Faster than C++ and than safe Rust, while memory safe. Over sixteen benchmarks Goose runs at 3.3x the speed of idiomatic C++, 1.16x hand-optimized C++ and 1.12x the best safe Rust, on 1.9x, 1.3x and 1.2x less memory (results). These gains come from Goose's data layouts and memory model.

Hmm, speed isn't everything, but something that can balance speed and safety is always appealing. Tell me more.

One memory model: stacks, and scope exit is the free…​


Algebraic data types are the only dynamic polymorphism: no inheritance, no vtables.…

A T& is a machine address: eight bytes, never dangling.…

The tree's links are self-relative, so it means the same thing wherever it sits: saving is writing its bytes and loading is reading them back, with no serializer, no schema and no pointer fixups.…

Much of the speed comes from the memory model: no heap allocation or per-object teardown, contiguous data, narrow links, and enums sized for the variant they contain.

Okay, so it looks like our friend Claude wrote the documentation: many sentences with colons, then a comment-separated list of phrases. But… just the documentation, right?

Authors​


Wouter van Oortmerssen: Language Design, Compiler Design, Coding standards. home page, twitter.


Claude Fable: Compiler implementation, Benchmarking, Sample & Doc writing.


History & Use of AI​


This repo was produced almost entirely with AI, from a human language design.

sigh.

I was led to this language by a YouTube video covering it, and that video also buried the shitty lede.
 
// Growth while holding element pointers. Goose grows by bumping a stack
// pointer, so memory never moves and the references handed out by `push`
// stay valid for the array's whole life. C++ has to pick a workaround:
// reserve a correct upper bound, keep indices instead of pointers, or pay
// for a chunked container. This measures the cost of that choice.
from push goose benchmark.
:lossmanjack:

No allocator, no GC, no reference counting, no destructors. Memory is ahandful of data stacks that the compiler assigns statically. Freeing amillion-element structure is one store, however deeply it nests.
Real languages just segfault when you exhaust your allocated memory, I guess.
 
Real languages just segfault when you exhaust your allocated memory, I guess.
In all fairness, this is a valid strategy in some contexts.

Still, it'd be nice to see languages—that in which we're expected to think—made by man and not some bastard machine. Besides, a lot of this sounds like stuff a decent combinator reducing machine could manage. One of my many dumb ideas was bending a language around concerns of efficiency, but that matters so little. The Object-Oriented approach makes it even less relevant. Anything that needs to be fast can be implemented in some lower system and yet provide exactly the same interface.
 

The Goose Programming Language​


A memory-safe systems language with no heap allocator, garbage collector, or lifetime annotations. In this repository's benchmarks, Goose runs faster than C++ and Rust while using less memory.
You can just tell the guy behind this project doesn't have a clue about what he's doing and just prompted "create a language with no X, no, Y, no Z", where X, Y and Z are all generally considered bad and are usually tradeoffs. I've seen multiple vibecoded projects that describe themselves like that, and they usually have some incredibly exceptional design issues that stem from it. The prompter has no knowledge of this because he has no prior experience doing such a thing and lets the AI do all the thinking. A sign of a better project is when it desribes what it does do instead of what it doesn't. AI gives exceptional individuals plausibility and it will take some time for people to adapt to noticing the stupidity through the AI's arguably well-written code and prose.
 
>there is no heap. Every dynamic value lives inline on a data stack managed by the compiler. Growth advances a pointer, and memory is freed when its scope ends. The language's type and lifetime rules make this memory model safe to use.

what?
then how do you deal with stuff that is supposed to outlive the scope it was created in?
 
You can just tell the guy behind this project doesn't have a clue about what he's doing and just prompted "create a language with no X, no, Y, no Z", where X, Y and Z are all generally considered bad and are usually tradeoffs. I've seen multiple vibecoded projects that describe themselves like that, and they usually have some incredibly exceptional design issues that stem from it. The prompter has no knowledge of this because he has no prior experience doing such a thing and lets the AI do all the thinking. A sign of a better project is when it desribes what it does do instead of what it doesn't. AI gives exceptional individuals plausibility and it will take some time for people to adapt to noticing the stupidity through the AI's arguably well-written code and prose.

That's the thing. That's not even true. This guy has worked at Crytek and consulted with Maxis and Gearbox. He worked on the Cube engine which is this FOSS FPS engine which looks beautiful and plays well on a potato. This isn't even his first programming language because he also made one called Lobster well before LLM code was a thing.

It's just another case of a guy who really should know better deciding to fully commit to tonguing the robot's nuts. Absolutely bizarre and isolating that this shit keeps happening.
 
>there is no heap. Every dynamic value lives inline on a data stack managed by the compiler. Growth advances a pointer, and memory is freed when its scope ends. The language's type and lifetime rules make this memory model safe to use.

what?
then how do you deal with stuff that is supposed to outlive the scope it was created in?
I assume you do some awful dance where you call a function with a pointer to a block of memory to store the return value in, and the function itself returns the size of the block it needs, so you call it once with a null pointer to get the amount of memory that you need to tack on to the caller's activation record, then call it again to get the block filled in.
 
The Goose Programming Language
*honk*

Man's re-invented embedded C...

>there is no heap. Every dynamic value lives inline on a data stack managed by the compiler. Growth advances a pointer, and memory is freed when its scope ends. The language's type and lifetime rules make this memory model safe to use.

what?
then how do you deal with stuff that is supposed to outlive the scope it was created in?
Sounds like statically allocated pools, but made unreasonably complicated for "convenience".

Also, at 07:47 in the video... see lang??? And, 09:43 "I personally was under the impression that a language that doesn't allow heap allocations wouldn't be able to do anything useful" :story: nu-devs man, we're cooked once the greybeards die.
 
*honk*

Man's re-invented embedded C...


Sounds like statically allocated pools, but made unreasonably complicated for "convenience".

Also, at 07:47 in the video... see lang??? And, 09:43 "I personally was under the impression that a language that doesn't allow heap allocations wouldn't be able to do anything useful" :story: nu-devs man, we're cooked once the greybeards die.
You can absolutely do a LOT of stuff without heap allocations. Statically allocating everything IS a viable solution for many cases (like spaceflight afair)
 
Back
Top Bottom