tern 0.2.20
General-purpose and diverse library intended to expand upon Phobos
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Tern
<p align="center"> <a href="https://code.dlang.org/packages/tern"> <img src="https://img.shields.io/dub/v/tern"/> </a> <a href="https://github.com/cetio/tern"><img src="https://img.shields.io/github/repo-size/cetio/tern.svg" alt="GitHub repo size"/></a> <a href="https://github.com/cetio/tern"><img src="https://img.shields.io/github/languages/code-size/cetio/tern.svg" alt="GitHub code size"/></a> <a href="https://github.com/cetio/tern"><img src="https://img.shields.io/github/commit-activity/t/cetio/tern" alt="GitHub commits"/></a> <a href="https://raw.githubusercontent.com/cetio/tern/main/LICENSE.txt"><img src="https://img.shields.io/github/license/cetio/tern.svg" alt="GitHub repo license"/></a> </p>
GET JOLLY
Functional programming
tern.algorithm
algorithms, lazy ranges, and common range functionality.tern.algorithm.iteration
tern.algorithm.lazy_filter
tern.algorithm.lazy_map
tern.algorithm.lazy_substitute
tern.algorithm.mutation
tern.algorithm.range
tern.algorithm.searching
tern.functional
various implementations for functional programming and iteration.plane
for arbitrary iteration with a predicate across a range.tern.lambda
utilities for working with lambdas, specialized for range lambdas.- provides support for invoking lambdas dynamically based on arguments, ie:
(ref index, element, sum) => ...
and everything in-between.
Meta programming
tern.typecons.variant.VadType
for partial mocking and arbitrary field modification/addition.tern.accessors
automatic accessor/property generation with support for any flags that are present.tern.blit
utilities for type data blitting and dynamically getting information from ranges.tern.ctrand
comptime random number generation.- inherently very flawed beyond articulation.
tern.lambda
lambda specialized template instantiation and invocation.tern.meld
function map generation and custom inheritance.tern.meta
tiny algorithms and comparisons forAliasSeq
.tern.traits
expansion onstd.traits
.- more comparisons, better comparisons, and generation of signatures of type members.
Threading
tern.atomic
improved atomic operations, built uponcore.atomic
.tern.concurrency
arbitrary threaded function execution and parallel processingawait
andasync
for calling a function on a new thread.tern.typecons.security.Atomic
for wrapping any type to be thread-safe (not accounting for statics.)tern.experimental.monitor
creating and deleting object monitors.
Math
tern.eval
equation evaluator.tern.integer
arbitrary sized integers.tern.matrix
matrix implementation backed bytern.vector
.tern.tensor
tensor implementation backed bytern.matrix
.tern.vector
vector implementation backed by SIMD vectors.
Memory
tern.experimental.constexpr
data segment allocated type wrapper.tern.experimental.ds_allocator
data segment allocator.tern.experimental.heap_allocator
fast slab-based heap allocator with optional thread-safety.tern.stream.memory_stream
simple, fast memory stream.tern.memory
various general-purpose memory utilities.- hardware-accelerated
copy
andmemset
. makeEndian
for making data be of an endianness.tern.serialization
serialization for arbitrarily typed data.
Data
tern.stream
various different performant stream implementations.tern.stream.atomic_stream
tern.stream.binary_stream
tern.stream.memory_stream
tern.stream.file_stream
tern.algorithm
algorithms, lazy ranges, and common range functionalitytern.algorithm.iteration
tern.algorithm.lazy_filter
tern.algorithm.lazy_map
tern.algorithm.lazy_substitute
tern.algorithm.mutation
tern.algorithm.range
tern.algorithm.searching
tern.string
algorithms and utilities for working with strings.tern.serialization
serialization for arbitrarily typed data.tern.state
enum flags and mask interactions.tern.hresult
Windows HResult implementation.
Cryptography
tern.digest
digest implementation and crypto algorithms.tern.digest.adler32
tern.digest.anura
Anura256
Anura1024
tern.digest.berus
tern.digest.chacha20
tern.digest.cipher
imports all ciphers.tern.digest.circe
tern.digest.cityhash
tern.digest.crc32
tern.digest.djb2
tern.digest.elfhash
tern.digest.fnv1
tern.digest.gimli
tern.digest.hash
implements all hashes.tern.digest.hight
tern.digest.md5
tern.digest.mira
Mira256
Mira512
tern.digest.murmurhash
tern.digest.rc4
tern.digest.ripemd
tern.digest.salsa20
tern.digest.sha
SHA1
SHA256
SHA512
SHA224
SHA384
tern.digest.superfasthash
tern.digest.tea
TEA
XTEA
XXTEA
tern.digest.xxhash
tern.typecons.security.Blind
timing/power attack protected type wrapper.tern.typecons.security.Opaque
auto-encrypted type wrapper.
Typecons
tern.typecons.automem
tern.typecons.automem.Unique
scope-disposed non-reassignable/copyable pointer.tern.typecons.automem.Scoped
scope-disposed reassignable/copyable pointer.tern.typecons.automem.RefCounted
ref-counted reassignable/copyable pointer.tern.typecons.automem.Tracked
cache -> free based pointer.tern.typecons.automem.Disposable
scope-disposed type wrapper.tern.typecons.common
tern.typecons.common.BlackHole
tern.typecons.common.WhiteHole
tern.typecons.common.Nullable
(yes it's actually nullable)tern.typecons.common.Singleton
tern.typecons.common.Enumerable
copy-based un-immutable range wrapper.tern.typecons.common.Enumerable
copy-based un-immutable type wrapper.tern.typecons.security
tern.typecons.security.Atomic
tern.typecons.security.Blind
timing/power attack protected type wrapper.tern.typecons.security.Opaque
auto-encrypted type wrapper.tern.typecons.variant
tern.typecons.variant.VadType
Other
tern.experimental.assembly
assembly shenannigans and ABI support.tern.hardware
hardware identification and features.tern.exception
parser oriented throwing with highlighting.tern.benchmark
configurable parameterized benchmarking with global benchmark keeping.tern.exec
tern.regex
- Registered by cet
- 0.2.20 released 3 months ago
- cetio/tern
- AGPL-3.0-only
- Copyright © 2024, cet
- Authors:
- Dependencies:
- intel-intrinsics, tanya
- Versions:
-
0.2.26 2024-Aug-26 0.2.25 2024-Aug-26 0.2.24 2024-Aug-14 0.2.23 2024-Aug-07 0.2.22 2024-Aug-07 - Download Stats:
-
-
0 downloads today
-
4 downloads this week
-
4 downloads this month
-
300 downloads total
-
- Score:
- 0.8
- Short URL:
- tern.dub.pm