Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* clang-format off */ | |
/* | |
ijss : IncredibleJunior SparseSet | |
sparse set [1] for bookkeeping of dense<->sparse index mapping or | |
a building block for a simple LIFO index/handle allocator | |
[1] https://research.swtch.com/sparse | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
Handness = enum | |
hLeft, | |
hRight | |
NearFar = enum | |
nfDefault, | |
nfReverse | |
Vec3 = object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JONTY HERE : ...I AM WRITING THIS AT 4AM ON KEEPERS LAST DAY. I LOOK AROUND | |
THE OFFICE AND ALL I SEE ARE THE TIRED PALE FACES OF THE KEEPER TEAM. THIS | |
PROJECT HAS DESTROYED THE HEALTH AND SOCIAL LIVES OF EACH MEMBER, SO I HOPE | |
YOU LIKE THE GAME. AMAZINGLY AFTER SIXTEEN HOURS A DAY, 7 DAYS A WEEK, FOR | |
NEARLY 5 MONTHS WE STILL DO. THIS GAME HAS BEEN WRITTEN WITH A PASSION I AM | |
PROUD TO BE PART OF.... | |
I DO NOT JUST HOPE YOU LIKE IT, I ALSO HOPE YOU ARE AWARE OF THE HUGE AMOUNT | |
OF WORK WE HAVE ALL DONE. ENOUGH WAFFLE AND ON TO THE REASON FOR THIS TEXT... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncdispatch | |
import asynctools | |
import docopt | |
import json | |
import nre | |
import os | |
import ospaths | |
import sequtils | |
import sha256/sha256sum | |
import strutils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{.experimental.} | |
type Refcounted = ref object | |
rc: int | |
value: int | |
type A = object | |
r: Refcounted | |
proc newA(value: int): A = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<h1>Hello, World!</h1> | |
<h2>It is 8:44:27 PM.</h2> | |
</div> | |
tagged_template_literal.js:908:3 | |
<div> | |
<h1>Hello, World!</h1> | |
<h2>It is 8:44:28 PM.</h2> | |
</div> | |
tagged_template_literal.js:908:3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
CircAlloc* [Size: static[int] , T] = tuple # Better less overhead | |
baseArray : array[Size,T] | |
index : uint16 | |
type | |
Job = object of RootObj | |
var foo {.threadvar.}: CircAlloc[1,Job] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import karax/[vdom, vstyles, karax, karaxdsl, jdict, jstrutils, kdom] | |
type | |
Carousel* = ref object of VComponent | |
counter: int | |
cntdown: int | |
timer: TimeOut | |
list: seq[cstring] | |
const ticksUntilChange = 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zobsd$ ./koch nimble | |
git clone https://github.com/nim-lang/nimble.git dist/nimble | |
Cloning into 'dist/nimble'... | |
remote: Counting objects: 3137, done. | |
remote: Compressing objects: 100% (34/34), done. | |
remote: Total 3137 (delta 16), reused 15 (delta 4), pack-reused 3099 | |
Receiving objects: 100% (3137/3137), 1.07 MiB | 2.65 MiB/s, done. | |
Resolving deltas: 100% (1943/1943), done. | |
git checkout -f master | |
Already on 'master' |
NewerOlder