Skip to content

re: A bit about programming languages VIEW POST

re: declarative It's not really about paradigm. You can write in Calculating Language in any paradigm: imperative, logic or functional. As long as r...

Clarification: I don't propose to make Calculating Language multi-paradigm. I propose to have several different Calculating Languages each in their paradigm, used for different problems.

Imagine that you create a video game. You have some AI rules written in prolog-like language (a Calculating Language) and the other part that does efficient imperative math calculations for your graphics (also a Calculating Language). And finally code that manages all IO: user input, video output (a Managing Language).

So you have three languages in a single program. Each compiled and optimized separately.

This of course requires clear specification of FFI between calculating and managing languages.

code of conduct - report abuse