Release 0.1
Release v0.1.0
is out of the oven.
This first release binds a C-based TeX
engine with Cgo
.
The idea is to be able to slowly (or mechanically with modernc.org/cc
or github.com/elliotchance/c2go
) migrate to a pure-Go implementation.
Here is the result of running star-tex
on testdata/hello.tex
:
and here is the first performance benchmark:
$> time /usr/bin/tex ./cmd/star-tex/testdata/hello.tex
This is TeX, Version 3.14159265 (TeX Live 2020/Arch Linux) (preloaded format=tex)
(./cmd/star-tex/testdata/hello.tex [1] )
Output written on hello.dvi (1 page, 1440 bytes).
Transcript written on hello.log.
real 0m0.147s
user 0m0.132s
sys 0m0.014s
$> time star-tex ./cmd/star-tex/testdata/hello.tex
real 0m0.053s
user 0m0.030s
sys 0m0.021s