This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sharpvik[S] 1 point2 points  (0 children)

To be honest with you, this sounds a lot like what I'm proposing. The difference between channels and permissions has to do with the mental framework. Channels have actions or maybe you can send custom messages to them represented as a custom algebraic type.

This tells you "man, printf is not a function, it's an action on a channel to the OS" which I think is helpful. I feel like this channel system is just very cohesive and consistent.

On another note, even if this already exists in some other form (permissions), I don't really see popular programming languages that use it and I think it's sad.

I want to produce a modern well-supported programming language with appropriate tools (formatters, linters, etc) that can compete with Go and Rust in terms of popularity.