• Stars
    star
    363
  • Rank 117,374 (Top 3 %)
  • Language
    Java
  • Created over 11 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Clear implementation of arithmetic coding for educational purposes in Java, Python, C++.

Reference arithmetic coding

This project is a clear implementation of arithmetic coding, suitable as a reference for educational purposes. It is provided separately in Java, Python, C++, and is open source.

The code can be used for study, and as a solid basis for modification and extension. Consequently, the codebase optimizes for readability and avoids fancy logic, and does not target the best speed/memory/performance.

Home page with detailed description: https://www.nayuki.io/page/reference-arithmetic-coding

License

Copyright © 2023 Project Nayuki. (MIT License)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  • The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

  • The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software.

More Repositories

1

QR-Code-generator

High-quality QR Code generator library in Java, TypeScript/JavaScript, Python, Rust, C++, C.
Java
5,144
star
2

Project-Euler-solutions

Runnable code for solving Project Euler problems in Java, Python, Mathematica, Haskell.
Java
1,879
star
3

Reference-Huffman-coding

Clear implementation of Huffman coding for educational purposes in Java, Python, C++.
Java
258
star
4

Nayuki-web-published-code

Complete collection of code files (*.java/js/py/cpp/etc.) published on Project Nayuki website.
Java
138
star
5

Bitcoin-Cryptography-Library

Nayuki's implementation of cryptographic primitives used in Bitcoin.
C++
133
star
6

Simple-DEFLATE-decompressor

Simple compliant DEFLATE decompressor in Java, Python, C++, TypeScript.
Java
74
star
7

FLAC-library-Java

FLAC decoder library in Java.
Java
70
star
8

Fast-QR-Code-generator

This project moved
Java
40
star
9

Relational-File-System

https://www.nayuki.io/page/designing-better-file-organization-around-tags-not-hierarchies
39
star
10

Sorting-algorithms-demo

Animated demo of sorting algorithms in Java.
Java
36
star
11

PNG-library

Easy, safe, flexible Java library to decode and encode PNG image files
Java
32
star
12

Native-hashes-for-Java

Hash functions implemented in C and x86 asm, callable from Java through JNI.
Java
27
star
13

NetPerSec

Nayuki's updated version of NetPerSec.
C++
26
star
14

Tablet-desk-clock

Software for displaying a clock on a tablet.
Python
25
star
15

BMP-IO

BMP file reader&writer library in Java.
Java
22
star
16

Pervasive-Displays-epaper-driver

Hardware driver for Pervasive Displays' e-paper panels.
C++
19
star
17

x86-Assembler

My crappy x86 assembler written in Java.
Java
18
star
18

Git-library-Java

Low-level Java library to read/write Git repositories.
Java
18
star
19

MamIRC

Use at your own risk.
Java
17
star
20

DEFLATE-library-Java

Efficient DEFLATE compressor and decompressor in pure Java.
Java
15
star
21

DWITE-programming-contest-solutions

Java solution programs, problem statements, and test input/output files.
HTML
14
star
22

JSON-library-Java

JSON parser and serializer in Java.
Java
9
star
23

Project79068-Cryptography-Library

Hash functions and ciphers implemented in Java.
Java
8
star
24

CSC258-computer-debugger

CSC258 computer debugger.
Java
5
star
25

Macshift

C++
5
star
26

pngcheck-unstable

A fork of http://www.libpng.org/pub/png/apps/pngcheck.html
C
2
star
27

Project79068-Java-Library

Java
1
star