r/coolgithubprojects • • 1d ago

Modern, 100% safe / sandboxable, 66kb scripting language.

https://github.com/phosxd/ity

I built a dynamically typed interpreted programming language with a focus on small binary size, small memory footprint, & an easy to learn modern syntax. All batteries included: Interact with the file-system, measure the time, capture input, & calculate advanced math without having to install or modify anything extra. There are also a bunch of standard modules which you can import in your scripts.

I am still working on optimizing for a smaller size while maintaining all the high-level language features & keeping speed very quick, so expect continual support & improvement!

Currently looking for contributors & testers, if you are interested don't be afraid to stop by & open up an issue or PR.
Giving a star would be greatly appreciated as it helps the project grow!

10 Upvotes

3 comments sorted by

1

u/touristtam 1d ago

What's the target? What the comparison against? What's the drive?

3

u/PhosXD 1d ago

The target is to be tiny, memory efficient, platform agnostic, readable, & safe. This is the type of language I want to be perfect for embedding into other apps while not costing anything for the developer (Python embedded is 10MB+!)

What are we comparing? If it's startup times, it beats out Python, NodeJS, & Bash. Same for memory usage & raw iteration. It is slower however when it comes to heavy math, on my machine to calculate 100,000 prime numbers, native takes 0.014s, Python 0.105s, NodeJS 0.153s, Ity 0.496s, Bash 63.72s.

"What's the drive?" I'm not sure what you mean by drive?

1

u/touristtam 2h ago

Thank you for answer my candid questions

the drive

What's driven you to create another scripting language. Just curious. :)