by program_whiz · 2w ago · 0 comments
This is my major complaint with even less-rigid languages like rust, they kind of force you to write production-level code even if you are just brainstorming. That's why they are terrible for games and websites, domains where correctness doesn't matter as much as feeling and iteration speed. Sure, it would be nice if those programs had no bugs, but basically any means of increasing iteration speed and flexibility is worth it.
A startup or indie usually has a short runway. Saying we're going to half that so we can make sure we don't have any memory leaks is a laugh. It may cost 10s-100s of $K, or be the difference in launch / failure.
We basically would not have AI today if it weren't for loosey-goosey riddled-with-holes languages like python with all the symbolic madness they enable. The ability of researchers to write a few lines and run it without regard to memory, processor layouts, etc. was what enabled them to write these programs at all. Of course we've put lipstick on the pig with CUDA and torch "compiling" compute graphs, its actually such a beautiful disaster that most software runs on JS or python, two horrid languages that have so much work to make them just performant enough.
I have no idea how to go about it, but it would be very cool to have a system where you can take the soft clay approach, while having a compiler that can effectively tell what it can prove about the program, and what it can't, and as you figure out the right shape of the program, you tighten it up until you have the level of proof you're happy with.
> This is my major complaint with even less-rigid languages like rust, they kind of force you to write production-level code even if you are just brainstorming.
I will say, this was my experience when starting out with Rust, but after working with it for a while and "internalizing" it, I actually find it to be quite quick to experiment with.