Earlier quoted context omitted.
What do you need that isn't there already with TeXLive? I haven't downloaded a package in many years, despite many reinstalls and a lot of varied Latex use.
You are not having any issues because TeXLive is everything. The `full` scheme on `install-sh` or `texlive-full` on Debian takes up around 7 GB last time I looked, 2 to 3 of which are PDFs for package documentation. That is, by a long shot, the largest install a lot of people have on their system. Nowadays, no biggie, but systems like Miktex allow to install-on-demand and of course, it allows you to shrink your insta…
Rewriting LaTeX in Pure Rust
41–50 of 148 posts
Re: Rewriting LaTeX in Pure Rust
#42Earlier quoted context omitted.
What do you need that isn't there already with TeXLive? I haven't downloaded a package in many years, despite many reinstalls and a lot of varied Latex use.
You are not having any issues because TeXLive is everything. The `full` scheme on `install-sh` or `texlive-full` on Debian takes up around 7 GB last time I looked, 2 to 3 of which are PDFs for package documentation. That is, by a long shot, the largest install a lot of people have on their system. Nowadays, no biggie, but systems like Miktex allow to install-on-demand and of course, it allows you to shrink your insta…
I use the installer from TeXLive itself rather than the distro packages, as you have more control that way. Not only that, you can share everything but binaries between multiple OSes, like Windows and Linux (via WSL).
Re: Rewriting LaTeX in Pure Rust
#43Previous discussion: 1 year ago: https://news.ycombinator.com/item?id=21172964 3.5 years ago: https://news.ycombinator.com/item?id=14450448 The project seems pretty active, though, so some of that may now be irrelevant.
Why it may be irrelevant that the project is active? Not sure I understood the point behind your last sentence. Can you explain please?
Re: Rewriting LaTeX in Pure Rust
#44Previous discussion: 1 year ago: https://news.ycombinator.com/item?id=21172964 3.5 years ago: https://news.ycombinator.com/item?id=14450448 The project seems pretty active, though, so some of that may now be irrelevant.
Why it may be irrelevant that the project is active? Not sure I understood the point behind your last sentence. Can you explain please?
Re: Rewriting LaTeX in Pure Rust
#45Re: Rewriting LaTeX in Pure Rust
#46Earlier quoted context omitted.
how is this widely adopted, think in the scale of Linux or Gimp.
In addition to being useful in its own right, QEMU powers or has powered a number of virtualization projects, including VirtualBox's software-based virtualization, parts of Xen, Android Studio's emulator, …
Re: Rewriting LaTeX in Pure Rust
#47Earlier quoted context omitted.
The about summarizes it: > Experimental Oxidization of Tectonic the TeX/LaTeX engine.
...but it's forked from an existing Rust port of Latex. That's the bit that intrigues me; what is the difference between this port and the original?
Re: Rewriting LaTeX in Pure Rust
#48The xetex code is a byzantine tangle of disparate pieces that evolved over the course of a number of years and several changes of direction; it originally started as a personal tool to address one individual's use case for a "Unicode-capable TeX", and grew from there. While it generally works really well, it's not a solid piece of engineering on which to build the future.
The resulting code doesn't benefit from being Rust, except for the added buzzword-ness. It's simply a translation of the C code, littered with unsafe blocks, as it has not been architected to work with Rust's ownership semantics, borrow checker, etc.
What XeTeX (or LuaTeX, though I don't find the Lua integration important -- but that depends heavily on your use cases) needs is a rewrite that preserves backward compatibility for documents, while re-architecting the engine using a modern language such as Rust. Simply wrapping the 1980s-era code in a "skin" of Rust syntax brings little value.
Re: Rewriting LaTeX in Pure Rust
#49Really cool to see all those rewrites of existing stuff in Rust. Does anyone know if the Rust community has ever done anything original, though?
> Does anyone know if the Rust community has ever done anything original, though? Depends on what you call "original". Is the Servo layout engine _not_ original because layout engines already exist? :) Moving away from the rhetorical question, I think there are several reasons to rewrite something in Rust, the first and foremost being the huge improvement in memory safety/management. The other reasons are typically r…
Why not use C#, Java, Go or something similar? Most users can't really need extreme performance.
Re: Rewriting LaTeX in Pure Rust
#50Personally, I think this approach -- which as far as the engine is concerned looks like a largely-automated "translation" of xetex from C/C++ to Rust -- is misguided. The xetex code is a byzantine tangle of disparate pieces that evolved over the course of a number of years and several changes of direction; it originally started as a personal tool to address one individual's use case for a "Unicode-capable TeX", and g…
Another approach is to split it into blocks and replace parts of the system, but whether that is feasible depends on the software and how modular it is.
Finally, you could try a clean-room rewrite, but that could take years without visible results and is hard to find the motivation for if existing software works ok.