• Stars
    star
    340
  • Rank 120,275 (Top 3 %)
  • Language
    Java
  • Created about 11 years ago
  • Updated over 1 year 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
4,730
star
2

Project-Euler-solutions

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

Reference-Huffman-coding

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

Nayuki-web-published-code

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

Bitcoin-Cryptography-Library

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

Simple-DEFLATE-decompressor

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

FLAC-library-Java

FLAC decoder library in Java.
Java
64
star
8

Fast-QR-Code-generator

This project moved
Java
39
star
9

Relational-File-System

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

Sorting-algorithms-demo

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

PNG-library

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

Native-hashes-for-Java

Hash functions implemented in C and x86 asm, callable from Java through JNI.
Java
26
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
21
star
16

Git-library-Java

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

x86-Assembler

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

Pervasive-Displays-epaper-driver

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

MamIRC

Use at your own risk.
Java
16
star
20

DWITE-programming-contest-solutions

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

DEFLATE-library-Java

Efficient DEFLATE compressor and decompressor in pure Java.
Java
14
star
22

JSON-library-Java

JSON parser and serializer in Java.
Java
8
star
23

Project79068-Cryptography-Library

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

Macshift

C++
5
star
25

CSC258-computer-debugger

CSC258 computer debugger.
Java
4
star
26

pngcheck-unstable

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