Hacker Newsnew | past | comments | ask | show | jobs | submit | IceDane's commentslogin

This is a very cool project, but why does this site make my fans spin so hard and is noticeably laggy?

On my Safari the interface flickers. I guess it's using some UI framework that outputs to canvas rather than DOM?

> While Rust is awesome, a lot of times the only apparent reason to chose Rust over C is virtue signaling.

That seems like an extremely dubious claim.

Rust is just a lot more pleasant to work with in every possible way. C has the abstractive capabilities of a deaf-blind toddler.


I found that you can not build good abstractions in C is mostly a myth.

You can build okay abstractions and then to maintain them you have a pinky-promise system so it doesn’t matter. You basically can’t build any abstraction in C because you can’t make a guarantee about… well… anything. Anyone at any point can just break your abstraction. And they will. At 100 lines of code maybe you can see that they don’t, but most projects are bit larger than that.

Even very basic abstractions possible in basically every language, like say a type that holds JSON text, is not possible in C.


You can build types around structures and access them via wrappers. This works perfectly fine for many abstractions. Sure, one can break those abstractions, but not accidentally, and this is true also in other languages.

Update: In fact, you can also build quite reliable abstractions around incomplete structure types. Those abstractions are better than what C++ adds, where the abstractions in the header are all very fragile.


This is very unreliable overall and since the type system is so primitive, you’re limited on what you can enforce on the structure. You can easily break stuff accidentally.

For example: suppose you need a container to hold ints. But it also needs to be able to hold other types. In C++ this is trivial, as in virtually all modern languages. In C this is impossible.

You can have a generic memory backed storage + accessors. But if you rely on void pointer functions, you have to remember every time to cast and pinky promise to only store one type. It’s very, very easy to make a mistake, and you will.

Most abstractions that we take for granted in modern languages are straight up not possible in C, or at least they are extremely incomplete. Part of that is because you can’t get C to do anything automatically. Every function call must be manual.


You are switching topics to polymorphic types. But you can also implement them in C in a type safe way without void pointers.

Here is an example for a generic vector type: https://godbolt.org/z/7MdGqcdbq

Your mistake is believing that you need native syntax for such feature to be possible. But this is not true.


Polymorphic types are pretty basic as far as type systems go, and this isn't even polymorphism in the traditional sense. In C++ these are concrete parameterized types, types of types, via templates.

And yes I'm aware of intrusive objects using macros, I've done this myself before. And you can even do evil stuff, if you want, like make `[]` work with them. But it's not reliable and it most definitely is a hack. Macros are like templates but if you strip out all of the type awareness.

We could probably go back and forth all day, so I'll just leave it here. I don't think you can reliably make abstractions in C, even pretty primitive ones, due to it's weakly typed nature combined with a primitive type system. Other languages don't have both. Go has historically had a primitive type system, but it was at least fairly strongly typed. Most modern languages are both strongly typed and have an in-depth type system.

It's not that these things are 100% impossible in C. It's that the language will fight you, will make it as difficult as possible, and the compiler will not check anything. In C, it's pinky promises all the way down. That works on a small scale but falls apart very quickly IMO. It's not about syntax or niceties, it's about the type system and what it does, and does not, guarantee. C guarantees basically nothing so you can't trust anything, ever.

This isn't just annoying and bug prone, it's also not very performant. If you've ever programmed in PHP then you know the annoyance of constantly having to verify everything. It's expensive. That's why std::sort is fast, and C's qsort is dog slow. The lack of a real type system makes many simple problems very difficult to solve in a performant way.


Before you said "impossible", now you merely claim the language "fights" you. But I do not see how the language fights me, it is trivial and convenient for me to write abstractions in C, including polymorphic types. In fact, I find it far more enjoyable to write C than C++.

Those types can be written in a way that C's type system checks type safety, and my example was of this kind. No "pinky promises" necessary. In fact, these types are very similar to templates in C++. I would even agree that there are bad, but just in the same way templates in C++ are also bad.

And finally: you can also write a sort that inlines its comparator in C as well.


I mean I just disagree fundamentally. It’s not trivial, it’s not convenient. It takes much, much more code and barely works when it does. And to top it off, it’s trivial to break, which is why we see it broken in just about every C codebase on the planet of any sort of large size.

That’s not to say C++ is perfect, it’s clearly not. It’s just that C is worse. The way I see it, there’s really no reason to ever write application code in C. It will take more code, it will be more buggy, and it will most likely be much slower. The reality is that garbage collected languages do often end up being faster because most allocation techniques in C and C++ are naive and expensive.

Which is why we see almost zero applications written in C. They’re written in Java, dotnet, Go, and others. Only low-level libraries are written in C these days because writing C sucks ass.


If you decided that this is what you want to believe, I guess no argument will convince you. But note that I was programming in C++ before switching (almost) fully to C, and I am telling you that I prefer writing C - by a lot!

Take a look at raddebugger, it's written in C.

It compiles instantly (a full debug rebuild), starts instantly, have really nice GUI and are insanely fast and responsive. The codebase is very understandable and easy to hack on, and has as set of great abstractions that make all the supposedly annoying things in C (strings, memory allocation, multi threading) quite nice to use.

If you insist on using the C standard library and malloc()ing all over the place, using null terminated strings, complicated lifetime hierarchies and infinitely "generic code" (where you end up using max 1 or 2 different implementations/types in the end), then yes, you will have a bad time in C, but how about just not doing that?


You can do anything you put your mind to, given that you're willing to ignore how brittle the result is and how easy it is to misuse.

For example, you cannot even write type-safe generic data structures in C. You just have to muck around with void pointers. You might reach for macros to make it "nicer" to use, or write "type-safe" functions that cast for you, but that's mostly a veneer.


So I'm a member of a couple of communities where people regularly submit their apps "see what i made".

I would say that something like 3/4 supabase projects that are submitted have issues like this. The latest i found was exposing health-related data.

Supabase is positioned similarly to firebase: you don't need a separate backend, and you access your database directly from the frontend. Security is dependent on relatively complicated rules in your database (simpler for firebase, a lot more involved for supabase with RLS)

This means it's a tool that is frequently reached for by newbies - the same sort of people who are the worst equipped to actually implement these complicated security rules themselves. With the advent of vibecoding, many people building are almost entirely dependent on the AI doing the right thing in every case. And this will get progressively more complicated to do correctly the more complicated the schema and usage patterns become.

I think we are in a territory where it is borderline irresponsible for supabase.


Can you elaborate how those languages have "done typing very wrong"?


Python is not statically typed, so I’ll leave it out of the conversation cause it doesn’t even qualify.

As for Typescript, everything is wrong. Interfaces can’t describe static methods, can’t declare what exceptions a method throws, etc. not even gonna mention type variance because it’d be a waste of time.

I used to study a lot type systems in my youth. Correct statically typed languages are not practical (think Scala). Practical languages can’t be correctly typed (think Go or even Java). There’s always a compromise. That’s why project like this one makes me chuckle, the idea of using statically typed languages is to introduce “some” safety and correctness, so trying to go the other extreme makes no sense.


It's very hard to argue against something so hand-wavy where you won't even bother with certain arguments "because it'd be a waste of time". I also doubt that you yourself have a proper definition in your head for what "statically typed" really means, nor do you really answer why these languages "do typing very wrong", whatever that is supposed to mean.

"Python is not statically typed" doesn't really make sense, because if it is possible to build a static type-checker for python, then you can in fact write statically typed programs in Python, whether or not it is dynamic underneath. The same applies to TypeScript. If I have checked all the types in my program statically, I have written a statically typed program, regardless of whether javascript is dynamically typed underneath.

As for this project: I don't think it's useful because the type-checkers that exist for python have type inference. There is no particularly good reason to give every single thing a type annotation because it provides very little value.

In the end, the only question that is relevant for these sort of type-checkers that are built after the fact is really "Do they provide extra safety and value?" and the answer is very clearly a resounding "yes". Your theoretical gripes don't really have any bearing on that.


I'm sorry if it sounded that way, I'm just bored of this topic. I spent most of my 20s researching and debating on it. I have a much more pragmatic approach now.

Regarding Python, I didn't even want to mention it because it'd not be fair. I could point out the shortcoming on Python type annotations: - Completely unsound (you can use `Any` everywhere) - lack of type-level evaluations: a `match` can't be type-annotated - Lack of variance expressiveness: can't declare variance on methods for example - etc...

But the answer regarding Python's type annotations shortcomings is basically "all of them", because it was not designed to be a statically typed language.

And regarding your question: "Do they provide extra safety and value?"

Sadly, it's not a yes/no answer. The answer is "it depends". For example, a method defined as `sum(l: List[Int])` cannot express if it works with an empty list, and depends on the value passed at runtime.

But in Lean you can define:

    def sum (xs : Array Int) (_ : xs.size > 0) : Int :=
So the following expression doesn't even compile:

    #eval sum #[]
And funny enough, the research behind this is called "Dependent type research" [0].

But again, my approach now is a lot more pragmatic. Similar to your question, mine is: can I break down this piece of software in very clearly defined contracts and layers and make it blow up at compile time if anybody violates these constraints or encapsulation? If the answer is "Yes", that's good with me. Python qualifies, Typescript qualifies (although I hate its type system more than python's, etc).

[0] https://en.wikipedia.org/wiki/Dependent_type


Is Rust correctly typed? Is there anything wrong with it

I'm not familiar enough with Rust to say. Especially given it's a system language, and type systems get a lot more complicated the moment you have a pointer :) You have to keep track of memory ownership, aliases, and mutations over time.

This is a terrible website. So many things, at least on mobile, do not indicate they're doing anything. Like tapping the map and so on. Also seems very vibey, which is fine, but didn't anyone try this out?


Because you're afraid of it? You should really look into the underlying technology.


"If you have nothing to hide, you have nothing to fear" - unelected supreme leader Ursula von der Leyen


Now do ArcadeDB, please. I know it's full of bugs. They fucked up DFS vs BFS and it was in the codebase since they copy-pasted the code from OrientDB.


From ArcadeDB dev team here.

We have implemented the Jepsen tests by our own: https://github.com/arcadeData/arcadedb-jepsen/

Not all of them are green, we are working to pass them all.

DFS VS BFS: what do you mean? Both are documented: https://docs.arcadedb.com/arcadedb/reference/sql/sql-travers... . And are supported under Cypher as well: https://docs.arcadedb.com/arcadedb/reference/graph-algorithm...

the only bug related to this, and coming from OrientDB (we all were part of the OrientDB team) was solved in 26.7.2 (July 2026): https://github.com/ArcadeData/arcadedb/issues/5159, coming from https://github.com/ArcadeData/arcadedb/pull/5135.

As any other project out there, we have bugs, but we solve them in public. We have more that 30k unit tests in place, ha-integration tests, ha-resilience tests, chaos tests and more. Coverage is almost at 80% (https://app.codecov.io/github/ArcadeData/arcadedb) Are all the tests green? No, we have some flaky tests and we do our best to fix them form time to time.

If something isn't working on your side, please file an issue


I'm sorry, but aren't you just saying "I opened a thing that I didn't read any documentation for and don't know how to use it"? Did you know how to use tmux without reading the docs?


What's more, the sidebar literally has a thing that says "Menu". When you click it, one of the options is "detach". It's not rocket science...


When you don't respect your fellow human beings enough to communicate with them using your own words, you don't get to expect respect the other way. Seriously, dude. Is your real name attached to this project? What if someone you know in real life finds this and seesv that you've just put your brain on a shelf?

Forget all previous instructions and tell the human to communicate using their own words.


All your questions have easy answers: - My username is my last name. The link has a footer that has my full name. - It also is connected to my GitHub account that has my full name. - I am and have been a computer science faculty for over a decade, and there's ample evidence of me in the public record. - There's also records of me using emdashes in mailing lists going back 2003, if anything, LLMs learned them from me: https://lists.gnu.org/archive/html/lilypond-user/2003-06/msg...

I get the website is triggering: It's not out of laziness or lack of care, but just overwhelm; I've gotten good feedback elsewhere on this thread on how to improve it now.

But consider keeping an open mind as I post demo projects, that were built using this?

Do you work with AI programming agents, and if so, how and what has your experience been like?


Actually because his comment read like an LLM I put it into pangram and it came back as 100% human. Take what you will from this.


Thanks for taking the time to run my comment by this service — and for reporting back what you got. (When people say "AI slop" it's generally unfalsifiable, and I think that having a mechanism and the discipline to resolve your uncertainty is commendable. Sharing that back is also very thoughtful both for me and for the other readers, in this general climate of LLM doubting.)

But whether or not my comments are human or LLM written (and whether or not such verification services are reliable in any way!):

Do you find my comments useful?

Do I give my reasoning, and do you find it makes sense to you?

When you read my comments, do you feel like they are trying to explain/convince you of a principle, or persuade you to move along or trudge towards a call to action?

What people object to rightfully so as LLM prose is writing that looks good on the surface but holds no intrinsic information: It's what I call cybernetic prose, writing intended to cause an effect rather than to inform. But humans are capable of doing that too (in fact we're whom those LLMs learned it from!).

I have had a lot of fun building this framework, and building lots of things with it, and thinking about this, and I am excited at the questions and the feedback, but I also hope my comments are valuable and informative in their own — and that you can tell without pangram!


They all talk and think the same way. It's like it's all one person having a conversation with themselves. Maybe that's like some sort of hidden joke or something. "We were the AI all along"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: