Comments (3)
I tried to run paka, a language that uses minivm but ran into issues running fib.paka. Looks like paka might not have been updated in a while though.
Then I tried out wasm3, I assumed it would be faster but Cyber is 25% faster:
hyperfine 'cyber fib/fib.cy' 'wasm3 --func fib fib/fib32.wasm 30'
Benchmark 1: cyber fib/fib.cy
Time (mean ± σ): 41.2 ms ± 3.1 ms [User: 40.9 ms, System: 0.6 ms]
Range (min … max): 36.1 ms … 52.1 ms 55 runs
Benchmark 2: wasm3 --func fib fib/fib32.wasm 30
Time (mean ± σ): 52.7 ms ± 3.1 ms [User: 52.4 ms, System: 0.5 ms]
Range (min … max): 47.3 ms … 60.5 ms 50 runs
from cyber.
@ShawSumma might be of interest to you.
from cyber.
Sharing Discord notes from Darek with some additions.
Production ready
- Luau - https://github.com/Roblox/luau - seems like a good alternative to Lua that fixes the biggest issues and is proven in production
- Teal - https://github.com/teal-language/tl - coupled with regular Lua distribution (Teal might be still too early though)
Embedded languages
- Wren - http://wren.io
- Lobster - http://strlen.com/lobster/
- Squirrel - http://squirrel-lang.org/ - old, was an interesting alternative to Lua, but kind of never took off (www.g5e.com uses it heavily in their games)
- Gravity - http://gravity-lang.org/
- Umka - https://github.com/vtereshkov/umka-lang
- daScript - https://github.com/GaijinEntertainment/daScript - Mainly focused on interop with C++. It's homepage has impressive benchmarks but when I tried running a simple fib example it was incredibly slow. Maybe it has some startup time issues.
- Ark - https://github.com/ArkScript-lang/Ark
Zig-based languages
- https://github.com/fubark/cyber
- https://github.com/MasterQ32/LoLa
- https://github.com/buzz-language/buzz
- https://github.com/Vexu/bog
- https://github.com/Luukdegram/luf
Rust-based languages
- Piccolo (Lua in Rust) - https://github.com/triplehex/piccolo
- Mun - https://mun-lang.org
- Rune - https://github.com/rune-rs/rune
- Koto - https://github.com/koto-lang/koto
- Diatom - https://github.com/diatom-lang/diatom
- Mica - https://github.com/mica-lang/mica
- Rhai - https://github.com/rhaiscript/rhai
- Ashfire/Firelang - https://github.com/LunaAmora/Ashfire
Compiled languages
- Zig - I think this might be the future for low level gamedev, author seems focused on getting the ugly basics right
- V - was promising, but they're very scattered, chasing every shiny new thing, rewriting everything in V, making their own GitHub (gitly), database (vsql), OS (vinix), UI, etc
- Odin
- Beef - https://github.com/beefytech/Beef
- Jai
Other
from cyber.
Related Issues (20)
- fiber example on the landing page not working HOT 1
- Cyber crashes (method with self parameter inside object) HOT 1
- frontend HOT 5
- JIT Backend
- C/C++ Backend HOT 3
- Jupyter Kernel HOT 3
- Is it possible to Implement a Cyber repl HOT 3
- Null Safety / Null Coalescing plans? HOT 1
- RFC: Replace CYON with JSON5 HOT 1
- README links are broken HOT 1
- Independent Benchmarks HOT 1
- Embeddable static library undefined symbols HOT 6
- Error occurs when compiling the examples - undefined symbol: execBytecode. HOT 4
- Implement Fiber.reset HOT 1
- Unstable zig package for tooling HOT 3
- Revising data literal syntax. HOT 1
- Hot Reloading? HOT 1
- Printer functions seem to duplicate output prefix HOT 3
- CLI / wasm HOT 2
- Add multi -thread support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyber.