On 10/02/2015, at 1:42 PM, Ryan wrote:
> 
> Text editors with parenthesis highlighting really helps here.

Yep, I have that with Vim. It helps editing, but not reading :)

>> Python is procedural. It can't beat scheme, functional programming
>> technology
>> must be the core of any procedural language. Referential transparency
>> and 
>> persistent data structures and all that.
> 
> I thought Python was OO?

OO is a minor subset of procedural programming
of little real merit.  It was a nice idea but it was soon
proven to be too limited to be worth of serious consideration
in itself. A lot of the principles developed (encapsulation,
blah blah) are good, its just that OO either doesn't actually
provide them or does and fails to be expressive enough
for many uses.

Most Python people would say it is object based,
not object oriented.

However, really, dynamic languages aren't really serious
languages so it doesn't really matter what they are.


> I'd link the Stack Overflow answer about OO vs. functional by Norman Ramsey, 
> but I'm too lazy to close my mail client...

Read his stuff anyhow.

> This would be neat...would Felix have a full web package (like Djano or 
> CppCMS)?

I have no real idea. The core idea is simply that you can write:

        fun f: int * int -> int = JS"$1 * $2";

which is exactly the same as C++ except it says it's a binding to JS.

Obviously there'd be JS statement bindings etc too.
The main trick would be to ensure the JS and C++ code is sanely
separated.

So you'd have, say, "threads" in C++ code which communicate
with "threads" in the JS code on a channel, and the communication
would be done with libraries (AJAX, Websockets, whatever).


> Just PLEASE don't try to make it like Wt (a GUI web library).

Nope, whatever that is .. I'm a core language guy.
We're just talking client/server communications with Felix generating
programs on both ends.

You can do this NOW, C++ to C++ (just write a client and server).
So we need a JS back end. However the language wouldn't be the same,
JS has different capabilities (eg it has garbage collection and closures 
already).



--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to