Instantly share code, notes, and snippets.

View temp.ll
; Function Attrs: uwtable
define hidden cc16 float @DynVsIface_Benches_ThroughExact_DynVsIface_TaskDoer(i64* %this, i64* %arg_doer) #3 {
br label %BB3
BB3: ; preds = %BB0
br label %BB2
BB2: ; preds = %BB3
%0 = load volatile i64* %arg_doer

Primitive types on the Common Language Runtime have different names depending on who you ask

  • CIL names used in Common Intermediate Language bytecode instructions like ldc.* and conv.*
  • CTS names used in the Common Type System that underlies languages running on the CLR
  • .NET names used in the .NET framework. These are the names of the classes that correspond to the primitive types, and will show up in stack traces and reflection.
  • C# names used in C# syntax
  • F# names used in F# syntax

| CIL | CTS | .NET | C# | F# |

View clojure.stacktrace.clj.dll.cs
using clojure.lang;
using clojure.lang.Runtime;
using clojure.lang.Runtime.Binding;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
View tent.js
function ComponentSet() {
this.entities = [];
this.indices = []; // could be a hashmap
this.components = [];
this.size = 0;
ComponentSet.prototype.insert = function (entity, component) {
View circle.cs
public static void Circle(int x0, int y0, int radius, uint c)
int x = radius;
int y = 0;
int dx = 1;
int dy = 1;
int err = dx - (radius << 1);
while (x >= y)
View pico.cs
using System;
using OpenTK.Graphics.OpenGL;
using OpenTK;
using OpenTK.Graphics;
namespace Pico
public class Demo
View illness.c
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
#include <glib.h>
#include <mono/metadata/image.h>
#include <mono/metadata/verify.h>
#include <mono/metadata/class.h>
#include <mono/metadata/loader.h>
#include <mono/metadata/object.h>
View led.ino
// based on
#include <SPI.h>
#define LOAD_PIN 7
void setup() {
// Set load pin to output
View hardware2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View serial.js
var SerialPort = require('serialport');
var port = new SerialPort('/dev/cu.usbmodem1411', {
baudRate: 9600
port.on('open', function() {
console.log("serial port connected")