
Launix supports open-source projects again in 2024
The Launix ecosystem relies very heavily on OpenSource. Launix is an advocate of free software and also supports the community by giving back code.
Introducing: the MPDF library (GPL 2.0)

PDFs are the backbone of our modern administration. Even if paper will eventually become obsolete: The DIN A4 format with its standardized dimensions with a white background and black font will likely accompany us in business life for quite some time.
This makes proper layout of the pretty offers and invoices all the more important. One problem repeatedly causes headaches for many office workers: Elegant line breaks in complex documents and tables in documents.
The MPDF library is a PHP programming library that converts documents in the markup language HTML into printable PDFs. We at Launix have contributed code to the <tr>-Tag also the CSS attributes page-break-before: avoid; and page-break-after: avoid; are mastered.
The Pull Request for this change can be viewed here:
https://github.com/mpdf/mpdf/pull/2004
We hope that our change will be included in the next MPDF release.

Introducing: MemCP (GPL 3.0)

Databases are the backbone of a data-driven society. They are no longer just storage for data, but also provide the necessary tools to search, find, and analyze data.
Precisely this data analysis is becoming increasingly important, and databases normally become slower the more data they host. Not so with MemCP - the column-based memory-resident in-memory database can scale with the number of CPU cores and the RAM. On large mainframes, this can also be several thousand cores and terabytes of RAM.
Launix or the founder Carl-Philip Hänsch is the co-initiator of the MemCP project and has implemented a new low-level optimizer over the Easter holidays, which accelerates the algorithms in the database by up to 100%. The techniques applied are:
- Preparation of JIT compilation through a compiler interface
- Reuse of stack frames per single-core context
- Extracting memory allocations from loops
- In Lambdas: Transformation of named variables into numbered variables
- List literals optimized
- Precaching of system functions
MemCP helps to evaluate large amounts of data and display statistics in real-time, while the ERP can write into the data without interruption in the background.