- 授权协议: 未知
- 开发语言: C/C++
- 操作系统: 跨平台
- 软件首页: http://loci-lang.org/
- 软件文档: http://loci-lang.org/
软件介绍
Loci 是一个多范式的系统编程语言,使用更直观的方式描述,跟 C++ 很类似。Loci 并不是为了弥补 C++ 的某些不足而推出,同时引入全新范式和编程风格,这些对开发者来说非常方便。此外在性能上 Loci 也没有比 C 和 C++ 强。
一段简单的代码示例:
class ExampleClass(int a, int b) {
// Constructor with default implementation.
static create = default;
int getA() const {
return @a;
}
int getB() const {
return @b;
}
}
interface ExampleInterface {
int getA() const;
}
void printA(const ExampleInterface& examplePoly) {
printf(C"A equals %d.", examplePoly.getA());
}
int main() {
auto exampleInst = ExampleClass(1, 2);
printA(exampleInst);
return 0;
}
Once Upon an Algorithm
Martin Erwig / MIT Press / 2017-9-8 / GBP 22.95
How Hansel and Gretel, Sherlock Holmes, the movie Groundhog Day, Harry Potter, and other familiar stories illustrate the concepts of computing. Picture a computer scientist, staring at a screen and......一起来看看 《Once Upon an Algorithm》 这本书的介绍吧!
Markdown 在线编辑器
Markdown 在线编辑器
html转js在线工具
html转js在线工具
