Live data from Hacker News

Any application that can be written in a system language, eventually will be

avraam.dev

111–120 of 132 posts

Re: Any application that can be written in a system language, eventually will be

#111
post #42

I kinda like viewing this as similar to coordinate-invariance in physics / geometry. A programming language is effectively a function from textual programs to behaviors; this serves the same role as a coordinate system on a space, which is a function from coordinates to points. Naturally many different programs and programming languages can describe the same behavior, especially if you forget about implementation-spe…

I would dearly love this to happen. There are some corner cases that won't fit the translation layer well, for example almost any beam languages philosophy of let it crash.. I imagine those languages will be left by the wayside.

I hope not - I'm just learning beam!

Re: Any application that can be written in a system language, eventually will be

#112
post #57

Earlier quoted context omitted.

but the interesting thing about coordinate systems is that they do matter, a lot! many problems are much much easier to solve in one coordinate system than another.

no doubt, but... also physics advanced in leaps and bounds every time someone figured out that ways of abstracting out a coordinate system.

*figured out ways

Re: Any application that can be written in a system language, eventually will be

#113
post #104
post #62

Earlier quoted context omitted.

Well-written Python apps are very easy to understand, especially if they use well-designed libraries. The 'magic' in Python means that skilled developers can write libraries that work at the appropriate level of abstraction, so they are a joy to use. Conversely, it also means that a junior dev, or an LLM pretending to be a junior dev, can write insane things that are nearly impossible to use correctly.

> Well-written Python apps are very easy to understand, especially if they use well-designed libraries. Oh. Why haven't I seen those?

Dunno dude, maybe you haven't looked. Maybe you hate Python. Maybe you're stupid. Anything could be possible.

Re: Any application that can be written in a system language, eventually will be

#114
bold but wrong. 90% of code is not written by LLM. LLMs are helpful for learning a new language for sure. CPU speed has been increasing the past few years, it's not clear we've totally hit the wall for interpreted languages. i like system languages though.

Re: Any application that can be written in a system language, eventually will be

#115
post #22

Earlier quoted context omitted.

I am old but C is similarly improved by LLM. Build system, boilerplate, syscalls, potential memory leaks. It will be OK when the Linux graybeards die because new people can come up to speed much more quickly

The thing is LLM-assisted C is still memory unsafe and almost certainly has undefined behaviour; the LLM might catch some low hanging fruit memory problems but you can never be confident that it's caught them all. So it doesn't really leave you any better off in the ways that matter.

Almost as well as a human doing it!

Re: Any application that can be written in a system language, eventually will be

#116

Earlier quoted context omitted.

Rust isn’t versatile enough to be used in high-level contexts. You simply have to jump through too many hoops. It’s great for low-level apps but if I just want a simple UI and CRUD functionality, I’m reaching for C#/Kotlin. That’s not a bad thing though. It’s okay to aim for your thing and be good at just that. No need to try to please everyone.

That’s not my experience. I use rust in my web application. It’s compiled to WASM and runs in the browser. About as high level as it gets. And I almost never feel I have to jump through hoops. The only time I do is when I’m implementing something that’s plain impossible in javascript, like zero-copy deserialization. On the other hand, I constantly have to jump through hoops in javascript. You literally cannot compare…

Leptos? Dioxus?

Re: Any application that can be written in a system language, eventually will be

#117

Earlier quoted context omitted.

So let me get this straight - you vibe code, make what you consider as necessary changes to the LLM-generated code, create PRs that get to be reviewed by another AI tool (Copilot), potentially make changes based on Copilot's suggestions and at the end, when you are satisfied with that particular PR you merge it yourself without having any other human reviewing it and then continue to the next PR. Did I get that right…

Not quite: remember I said I fettled the code myself? This might involve rewriting, refactoring, reorganising, and I'll make changes to Copilot's PRs as well, but still the percentage of code written by LLM remains what I'd consider to be very high. I've been an engineer for more than 25 years so I know how to architect an application from the highest level down to the fine details, and I can obviously code in a vari…

Yes OK, but that was not the point that I was trying to make.

You are developing in a language + framework that you are not familiar with, without having any human feedback in the process at all - see where I am going with this?

Even with a quarter of a decade of experience you are still in what can basically be reffered to as uncharted territory.

Re: Any application that can be written in a system language, eventually will be

#118

Earlier quoted context omitted.

I can believe LLM generated after being cut up into small slices that are carefully reviewed. But to have 20 copies of Claude Code running simultaneously and the code works so well you don't need testers == high on your own supply.

Sadly, I'm seeing a LOT of this kinda of usage. So much so, I know a couple people that brag about how many they have running at time same time, pretty much all the time.

Including Steve Yegge, is Gas Town orchestrator of LLMs is... wild. And complicated.

https://steve-yegge.medium.com/welcome-to-gas-town-4f25ee16d...

Re: Any application that can be written in a system language, eventually will be

#119
post #9

Earlier quoted context omitted.

Defining tests that test for the right things requires an understanding of the problem space, just as writing the code yourself in the first place does. It's a catch-22. Using LLMs in that context would be pointless (unless you're writing short-lived one-off garbage on purpose). I.e. the parent is speaking in the context of learning, not in the context of producing something that appears to work.

I'm not sure that's true. Bombarding code with huge numbers of randomly generated tests can be highly effective, especially if the tests are curated by examining coverage (and perhaps mutation kills) in the original code.

Right, that method is pretty good at finding unintentional behavior changes in a refactor. It is not very well suited for showing that the program is correct which is probably what your parent meant.
Post reply on HN