Skip to content

Instantly share code, notes, and snippets.

View kermado's full-sized avatar

Omar Kermad kermado

  • United Kingdom
View GitHub Profile
@bkaradzic
bkaradzic / orthodoxc++.md
Last active April 23, 2024 13:59
Orthodox C++

Orthodox C++

What is Orthodox C++?

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.

Why not Modern C++?

@gene-ressler
gene-ressler / compiler.java
Last active June 11, 2023 03:19
An experiment in the workings of DAGs for common subexpression elimination.
/**
* An experiment in how DAGs work for common subexpression elimination.
*/
package compiler;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
@mythagel
mythagel / v8_wrap_class.cpp
Last active October 15, 2023 17:45
Complete example of binding a C++ class with Google V8.
/*
* v8_wrap_class.cpp
*
* Created on: 14/01/2013
* Author: nicholas
* License: public domain
*/
/* CMakeLists.txt
project(v8_wrap_class)