Euboea一种超快速和微小的编程语言,将JIT编译为机器码

网友投稿 600 2022-10-28

Euboea一种超快速和微小的编程语言,将JIT编译为机器码

Euboea一种超快速和微小的编程语言,将JIT编译为机器码

Euboea is blazingly fast and small programming language compiled just-in-time directly to machine code.

Builds

Usage

make euboea && ./euboea [source file]

Get in touch!

for i = 1, i < 30, i = i + 1 if i % 15 == 0 puts "fizzbuzz" elif i % 5 == 0 puts "buzz" elif i % 3 == 0 puts "fizz" else puts i endend

Supported platforms

Euboea highly relies on x86. Also currently it's tightly bound to POSIX.

Philosophy

Philosophy of Euboea includes the following rules:

Fast language compiled to machine code.Use JIT compilation.Include minimal usable set of keywords and control structures.Allow simple cooperation with C.No access to files on physical drive.Access only to stream I/O.Focus on targeting UNIX-like operating system.Intended to be used with shell scripts.Focus on low level programming.

Speed

You can check the speed of Euboea yourself, or check out speed using premade microbenchmark in benchmarks directory. Euboea can be up to 70 times faster than PUC-Rio Lua in microbenchmarks

Learning Euboea

Contributing

Currently, I will merge pull requests helping with:

Conforming to philosophyAdding more libc callsIncreasing code coverage by pumping up more tests/examples

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:【LeeCode】排序算法
下一篇:imageShrink - 无缝缩小项目图像大小60%
相关文章

 发表评论

暂时没有评论,来抢沙发吧~