Skip to content

Instantly share code, notes, and snippets.

View AlexanderThaller's full-sized avatar

Alexander Thaller AlexanderThaller

View GitHub Profile
use async_std::channel::Sender;
use async_std::fs::File;
use async_std::io;
use async_std::io::prelude::BufReadExt;
use async_std::io::BufReader;
use async_std::path::Path;
use async_std::prelude::*;
use async_std::task;
use std::time::Duration;
use async_std::channel::Sender;
use async_std::fs::File;
use async_std::io::prelude::BufReadExt;
use async_std::io::BufReader;
use async_std::path::Path;
use async_std::task;
use std::time::Duration;
#[async_std::main]
async fn main() {
use async_std::channel::Sender;
use async_std::fs::File;
use async_std::io::prelude::BufReadExt;
use async_std::io::BufReader;
use async_std::path::Path;
use async_std::task;
use std::time::Duration;
#[async_std::main]
async fn main() {

Keybase proof

I hereby claim:

  • I am alexanderthaller on github.
  • I am athaller (https://keybase.io/athaller) on keybase.
  • I have a public key ASChah5LuoIdwR530RqHg3SnwTc_LsoLO4dTMV6arV4qsgo

To claim this, I am signing this object:

package main
/*
Ping vs Pong: A Gladiatorial Match
Two goroutines enter, only one leaves...
*/
/*
#cgo LDFLAGS: -lprobes -L/usr/local/lib
#include "probes.h"