S
S
Sergey2017-07-11 14:20:52
Programming
Sergey, 2017-07-11 14:20:52

Compression of data type lz5, who might need it?

Wrote a "compression on the fly" program like lz5 with my ideas for improving compression. This is a variation of lz77 compression with a simple hash without first parsing the compressed data. Got noticeably better results than the author of lz5 (see his page pskibinski.pl and his lz5 at github.com/inikep/lizard). If you rewrite it in asm, then the code for the compression and decompression functions can be made independent of the load address (there will be no relocatable addresses in the code that are configured when the program is loaded into RAM), these functions will store all their data in CPU registers and will be reentrant. They can be, for example, flashed into ROM. In this case, the calculation is made on the Intel / AMD CPU and 64-bit mode.
How to find those interested in such a development in order to make money on it?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
A
Arris, 2017-07-11
@Arris

That is, you want to take the code under an open license, change a couple of lines in it and then sell it ?
Conscience? No, we haven't.

M
Maxim Moseychuk, 2017-07-11
@fshp

can be made independent of the load address (there will be no relocatable addresses in the code that are configured when the program is loaded into RAM

You are confusing. Load address independence is position-independent code, gcc does a great job of that. Relocatable custom addresses are late-linking (dynamic linking). These are orthogonal things that can be used independently.
Actually, almost all modern programs are assembled as PIC binaries, because. modern OSes use address space randomization. In addition, such code is usually faster, because a long jump is more expensive than a short one.

K
Konstantin Stepanov, 2017-07-11
@koronabora

Write your own archiver so that it works better than 7zip. Rewrite the code that goes under an open license. Advertise your archiver everywhere. Maybe someone will buy it from you.

R
Roman Mirilaczvili, 2017-07-11
@2ord

You need to find an employer who is willing to pay a salary for improvements. Usually such things are needed by companies working with large amounts of data.
Asm will bind the code to a specific architecture. It is better to optimize the code by the compiler.

X
xmoonlight, 2017-07-11
@xmoonlight

Try this order:
1. Landing page comparing current solutions with yours.
2. spark.ru - look there for those who create embedded solutions.
3. Talk to large companies that specialize in creating server-side audio / video conferencing solutions and streaming traffic compression services.

S
Sergey, 2017-07-11
@Serge123

No, I use the lz77 algorithm, which is not patented, adding my ideas to it. I haven't looked at the lz5 author's code (I don't program in C at all), the idea of ​​putting prefixes to save offset bits per sample is probably older than the lz5 author. I am writing my own program, in the final version it will be in asm.
It's all about the organization of compressed data, everything else is standard. This is the difference between my algorithm and lz5.
Do not answer with the principle "I heard that the Chinese make shareware from open source programs and sell it", so this should be from the same series.
This is not about creating an archiver, there are a lot of free ones, but about a narrow area where you need on-the-fly compression with better results than there are.
I only want to sell an improvement of the lz77 variant and the asm code in source form to boot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question