Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SE
Serpent7776 @programming.dev
Posts 6
Comments 5
dev.to Comparing C++ range libraries for filter+reverse case with non-trivial lambda

EDIT 2024-06-04: Fixed issue with flux implementation, thanks to tcbrindle for catching this. EDIT...

Comparing C++ range libraries for filter+reverse case with non-trivial lambda

I wrote a blog post comparing several range libraries for a case that is doing filter with non-trivial lambda and then reverse.

0

I used hyperfine CLI tool to measure startup and shutdown times of several code interpreters

dev.to Measuring startup and shutdown overhead of several code interpreters

I used the hyperfine tool to measure the overhead of startup and shutdown of several code...

Measuring startup and shutdown overhead of several code interpreters

A blog post shows an example usage of hyperfine CLI tool to measure and plot time of startup and shutdown of several code interpreters.

2

Programming Language Awareness Centre

A Programming Language Learner's Resource. Contains descriptions of many ineresting programming languages, like APL, ABC, FP, Factor with examples and further links.

1

Index arrays with ordinals instead of integers with custom literals

I did a code that uses custom literals to allow indexing arrays with ordinals (1st, 2nd, 3rd), all at compile time. Additionally _st works only with 1, _nd only with 2, _rd only with 3. Zero and negative numbers are also not supported and fail compilation.

https://github.com/serpent7776/bits/blob/master/th.cpp/th.cpp

11
dev.to The performance cost of pl/pgsql exception block in Postgres

One of the languages that Postgres offers for writing stored procedures is pl/pgsql. One of it's...

The performance cost of pl/pgsql exception block in Postgres
0

histat - a simple history stats

I created a very simple script that shows the history usage of your shell. Should work with bash and fish shells.

This basically goes through the history and counts the command names. So all of git push, git pull, etc will count as just git.

Example output:

847 pacman 296 cd 206 git 203 time 180 vim 172 awk 166 aur 142 strace 141 cat 125 ls Total commands: 7008 Unique commands: 753

0