Skip to content
Tech News
← Back to articles

Cyberscript

read original more articles
Why This Matters

Cyber introduces a high-performance, easy-to-learn scripting language designed for speed, concurrency, and safety. Its ability to be embedded into applications and engines makes it a versatile tool for developers seeking efficient scripting solutions across platforms.

Key Takeaways

Cyber is a new language for fast, efficient, and concurrent scripting.

At a glance. Easy to learn.

Dynamic and static types.

Concurrency with fibers.

Memory safe.

FFI and Embeddable.

Fast VM and JIT.

Cross platform.

use math var worlds = ['World', '世界', 'दुनिया'] worlds.append(math.random()) for worlds -> w: print "Hello, $(w)!" -- Optional static typing. func fib(n int) int: coyield if n < 2: return n return fib(n - 1) + fib(n - 2) -- Counts fib calls. var count = 0 var fiber = coinit(fib, 30) var res any = 0 while fiber.status() != .done: res = coresume fiber count += 1 print "$(res) $(count)"

Use cases.

... continue reading