Hacker News new | ask | show | jobs
by mamcx 2 days ago
Very interesting!

I have said before that any language should be able to break from the past (in a controllable, careful way, but if between stagnation and progress, progress win).

I also has explore many ideas about how build a programming language (example https://tablam.org), and agree that nothing beats put semantics at the language level.

This is where I have not idea if the author means for things like Rust-like safety to be or not optional. That is where things always go wrong, imho. Certain semantics can't be useful unless enforced, defaults and preferred. Deviations is what need effort.

1 comments

This is interesting. So all data, DB or no, has a set of functionality you can apply?

Re safety, I think it is not worthwhile when not enforced. But source code needs to be able to be progressively updated. Our prototype has a setting where instead of giving errors, it warns. The idea is for existing large codebases you might turn that on and progressively fix, rather than deciding to use safety and immediately turning a million-line codebase into something that doesn't compile because there are errors. Once it's without errors, then you disable the 'this is temp' flag and build normally from then on.

Prototype. A lot of this is exploratory, including even this approach.

> This is interesting. So all data, DB or no, has a set of functionality you can apply

Yes, the idea is that all data allow relational algebra operations so `"hello"?where ...`.

My long term goal is to make it good enough so instead of have RDBMS applications like sqlite/pg that are black boxes then lang "just" allow to do what this apps do natively.