Simple, unrestrictive, native API.
Scripting should be simple and let you do more with less. Cosmic starts with the V8 engine and adds native APIs to your computer. Here are some APIs we've built and are planning to build.
- Window API.
- 2D Graphics API.
- 3D Graphics API. (Planned)
- Audio API.
- Video API. (Planned)
- Input API.
- Filesystem API.
- Networking API. (Planned)
- OS/Process API. (Planned)
Sensible, builtin libraries.
On top of the basic native APIs, Cosmic will provide libraries and utilities to do common development tasks:
- Declarative UI. (Planned)
- Builtin UI widgets. (Planned)
- Animation API. (Planned)
- HTTP client API.
- HTTP server API.
Developer tools.
Cosmic will provide builtin tools to help you write, maintain, and ship software.
- Optional security with broad or granular permissions. (Planned)
- Test runner.
- Hot code reloading. (Planned)
- Performance profiling. (Planned)
- Debug code with Chrome DevTools. (Planned)
- Bundle apps for the web or native executables. (Planned)
Embrace the good parts of the JS ecosystem.
- TypeScript support and builtin compiler. (Planned)
- Import external code using ES6 modules. (Planned)
- Sync ops by default with async equivalent API.
- Native async IO.
- Web Workers. (Planned)
- WebGPU. (Planned)
- WASM API. (Planned)
Open source.
Learn more.
Want to learn more and see examples? Head on over to the docs.