41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
---
|
|
title: "ƿit"
|
|
---
|
|
|
|
```javascript
|
|
// hello.ce — a simple actor
|
|
log.console("Hello, ƿit!")
|
|
$stop()
|
|
```
|
|
|
|
```bash
|
|
pit hello
|
|
```
|
|
|
|
## Why ƿit
|
|
|
|
- **Actors, not threads** — isolated memory, message passing, no shared state. Concurrent programs that are safe by default.
|
|
- **Everything is stoned** — `stone()` makes values permanently immutable. Messages between actors are frozen automatically. No defensive copying.
|
|
- **Prototypes, not classes** — objects inherit directly from other objects. No class hierarchies, no `new`, no `this` confusion.
|
|
- **C when you need it** — drop a `.c` file in your package and it becomes a native module. No FFI bindings, no build scripts.
|
|
- **Small and predictable** — DEC64 numbers with no rounding errors. No `undefined`. Strict equality only. A runtime that fits in your head.
|
|
|
|
<div class="home-art">
|
|
<img src="/images/wizard.png" alt="ƿit wizard">
|
|
</div>
|
|
|
|
<div class="home-links">
|
|
<a href="/start/">Get Started</a>
|
|
<a href="/manual/">Language Manual</a>
|
|
</div>
|
|
|
|
<div class="donate-section">
|
|
|
|
## Support ƿit
|
|
|
|
ƿit is free and open source. If you find it useful, consider supporting its development.
|
|
|
|
Donation options coming soon.
|
|
|
|
</div>
|