Skip to the page
Najova

Docs

/

Guides

Najova and other languages

How Najova compares with Python, JavaScript and Go: what each is good at, and how fast each ran the same tests on one PC.

Najova 1.0 isn't out yet. These numbers are from the build of 2026-11-24, measured on one PC. They will change as Najova is built, and other PCs give other numbers. The tests and how they were run are at the end of the page.

At a glance

Python, JavaScript and Go are mature languages used by millions of people. Najova is new and small. What it offers is one language for the whole of a project, with a lot built in.

NajovaPythonJavaScript (Node)Go
Made forWebsites, APIs, games, bots and toolsScripts, data, AI and serversWeb pages and serversServers, tools and the cloud
Web pagesBuilt in: webNajaFrameworks such as Django or FlaskIn the browser itself, and frameworks for serversTemplates in its standard library
A databaseBuilt in: dataNajaSQLite in its standard libraryPackagesPackages
Many things at onceNajoutines, taking turns on one coreasyncio on one core, and threadsasync and await on one core, and worker threadsGoroutines, spread over every core
Mistakes before runningEvery name and call is checked first, with a fix suggestedFound when the line runs (type checkers are separate tools)Found when the line runs (TypeScript is a separate language)The compiler checks names and types
Handing out a programnaja build --exeExtra tools such as PyInstallerSingle executable apps (newer Node)go build
Packagesnjim, a handful so farPyPI, hundreds of thousandsnpm, millionsGo modules, very many
Ready forTrying out: 1.0 is being builtReal workReal workReal work

Speed

The same small programs, written the usual way in each language. Times are from start to end, so they include starting up.

TestNajovaPythonNodeGo
Start, print one line, end24 ms30 ms39 ms23 ms
Function calls: fib of 30196 ms123 ms55 ms24 ms
A loop: add up 1 to 30 million748 ms743 ms63 ms23 ms
Make and sort a million numbers395 ms404 ms321 ms73 ms
Build a text of 100,000 words982 ms56 ms55 ms23 ms
Memory to start5 MB5 MB54 MB5 MB
  • Najova runs at about Python's speed for loops and sorting. Function calls are slower: fib took 1.6 times as long as Python.

  • Node and Go are much faster at plain number work. Node compiles hot code while it runs, and Go compiles ahead to machine code.

  • Najova starts fast and small: 5 MB to print a line, where Node uses 54 MB.

  • Building text one piece at a time is slow in Najova today: 17.5 times as long as Python, because each addition copies the whole text. This is on the list to fix before 1.0.

Najoutines

Many programs spend most of their time waiting: for a message, a timer, a web page. Najoutines let one script wait for many things at once. Here each language starts a number of tasks that each wait 0.1 seconds, then waits for all of them. A perfect result would be just over 100 ms.

TasksNajova NajoutinesGo goroutinesPython asyncioNode promisesOperating system threads
1000120 ms118 ms234 ms150 ms140 ms
10000126 ms137 ms280 ms149 ms454 ms
100000247 ms310 ms1364 ms184 ms4039 ms
10000001498 ms945 ms14175 ms697 msNot tried

Peak memory for the same runs:

TasksNajova NajoutinesGo goroutinesPython asyncioNode promisesOperating system threads
10009 MB15 MB23 MB57 MB23 MB
1000022 MB92 MB37 MB65 MB167 MB
100000179 MB586 MB181 MB145 MB453 MB
10000001646 MB1913 MB1599 MB668 MBNot tried

Memory for each waiting task, at 100,000 tasks: Najova 1.8 KB, Go 5.9 KB, Python 1.8 KB, Node 0.9 KB.

Passing values

One task puts a million numbers into a channel with no buffer, one at a time, and another takes them: each value is a hand-over between two tasks.

ValuesNajova channelGo channelPython asyncio.QueueThreads and a channel (Rust)
10000040 ms30 ms638 ms54 ms
1000000251 ms165 ms5281 ms422 ms

Work for the processor

Six jobs that only calculate (a recursive fib), done one after another, then all at once. The jobs are sized for each language, so compare each row with itself.

One after anotherAll at once
Najova (6 Najoutines)119 ms117 ms
Go (6 goroutines)828 ms188 ms

What the numbers mean

  • Starting many tasks is cheap. A hundred thousand waiting Najoutines finished in 247 ms, close to Go and Node, 5.5 times faster than Python's asyncio and 16.4 times faster than one thread per task. At a million, Go and Node pull ahead.

  • They're small. At 100,000 tasks Najova used about a third of Go's memory, the same as Python and about twice Node's. A million waiting Najoutines fit in 1646 MB.

  • Hand-overs are fast. A million values passed through a channel in 251 ms: 1.5 times Go's time, and 21 times faster than Python's queue.

  • They don't use more cores. Najoutines take turns on one core, so six calculating at once take as long as six one after another. Go spread the same kind of work over the cores and finished 4.4 times faster. In return, Najoutines never change a value at the same moment, so a script needs no locks.

  • They're easy to keep in order. A $najoutines block waits for everything started in it and stops the rest if one fails. Go does this with a WaitGroup or errgroup, and Python with a TaskGroup.

Pros and cons

What Najova does well

  • One language for pages, servers, data, bots and tools, with each part built in rather than added on.

  • It reads the same everywhere: a name after $, values in brackets, blocks that end with their own name.

  • Mistakes are found before anything runs, and each message says what to change.

  • Waiting for many things at once is cheap and safe.

  • It starts fast and small, and builds to plain HTML, a .najb file or one program.

Where it falls short today

  • It's new: few packages, few people to ask, and things will change before 1.0.

  • Heavy number work is many times slower than Node or Go, and Najoutines don't use more than one core.

  • Numbers are 64-bit floating point, as in JavaScript: whole numbers are exact only up to about 9 million billion.

Pick Python for data and AI, where its packages lead. Pick Go for a busy server that must use every core. Pick Najova to build a whole project in one language you can read at a glance.

How this was measured

On AMD Ryzen 5 7500F (6 cores, 12 threads), 31.5 GB memory, Windows 11 Pro. Versions: Najova dv1.0 (W5 3d), Python 3.11.9, Node 24.5.0, Go 1.27.4, Rust 1.100.0 (for the operating system threads). Each program run 3 times; the middle time (start to end, start-up included) and the middle peak memory (Windows peak working set).

Each test does the same work in every language and prints its answer, and the answers were checked to be the same. Python and Node build text the usual way for them, and Go uses its strings.Builder.