-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another procedural language #50
Comments
One thing I like about ruby is the way it was C-like enough that it didn't scare people away but also introduced people to functional programming concepts. I like the way some of the conversation is going with regards to pattern matching. I think supporting what you are saying, (which is kind of similar to my suggestion #20) but also providing a familiar language for people would mean more people introduced to e.g. pattern matching. Actually I'd be interested in hearing @matz elaborate on
I'm not sure what exactly was meant by that as I probably haven't thought as far or in depth on the topic as he has. |
I think we need both. I agree it's good to have API to add vocabulary written in other imperative languages. But at the same time, going back and forth between languages too often will probably make me frustrated. |
Again, I think the process model is good as a way to think about a problem, but perhaps should be flexible for implementation. It makes sense that I/O happens in a non-blocking thread, independent of computational threads, for example. Maybe it makes sense to inline some computations into a single thread, but keep others separate. Sometimes one may want to replace the (presumably) in memory queue between 2 "processes" by a TCP connection between 2 computers. Essentially, a "process" could be implemented as a functor, a thread, a process or on a whole other machine; it's not important at one level, but is at another. |
@matz Thanks for the feedback. Maybe try and keep it simple? A language that supports basic calculations, pattern matching and basic string manipulation only. Anything more complicated and you drop into a traditional language. Just an idea. |
@alexchamberlain I've begin working on something somewhat along the lines of what you seem to be taking about - github.com/calebwin/pipelines |
I like the basic idea of |
Thank you @matz; I'm glad you like it! |
I think the idea of a well written, open source, stream-based/flow-based/data-flow language is a fantastic one. My only concern about this idea is the initial example
Do we need an procedural language? Please ignore the syntax, but what about something like this:
where
fizzbuzz
is a module written in a conventional imperative language, such as Python, Ruby or C++?The text was updated successfully, but these errors were encountered: