I hereby claim:
- I am bkolobara on github.
- I am bkolobara (https://keybase.io/bkolobara) on keybase.
- I have a public key ASBYf4s2M4Ke1EYtpxSCL3NnS3xWzDkSIVn8K2cGUU_MeAo
To claim this, I am signing this object:
use lunatic::net::{TcpListener, TcpStream}; | |
use lunatic::process::{self, Process}; | |
use lunatic::Mailbox; | |
use std::io::{BufRead, BufReader, Write}; | |
use std::net::SocketAddr; | |
#[derive(serde::Serialize, serde::Deserialize)] | |
struct Request { | |
from: Process<String>, | |
data: String, |
use lunatic::net::{TcpListener, TcpStream}; | |
use serde::{Deserialize, Serialize}; | |
use tungstenite::server; | |
use wactor::*; | |
#[derive(Serialize, Deserialize, Debug)] | |
enum Message { | |
Ping, | |
Pong, | |
} |
use criterion::{criterion_group, criterion_main, Criterion}; | |
use std::rc::Rc; | |
use wasmtime::*; | |
use rayon::prelude::*; | |
pub fn criterion_benchmark(c: &mut Criterion) { | |
c.bench_function("with imports parallel", |b| { | |
// Use an engine with default settings, and create a module with one | |
// noop function. | |
let engine = Engine::default(); |
pub unsafe fn swap(arg: usize, new_sp: *mut u8) -> (usize, *mut u8) { | |
let ret_val: usize; | |
let ret_sp: *mut u8; | |
asm!( | |
"lea {tmp}, [rip + 10]", | |
"push {tmp}", | |
"mov rsi, rsp", | |
"mov rsp, {new_sp}", | |
"pop {tmp}", | |
"jmp {tmp}", |
I hereby claim:
To claim this, I am signing this object:
Traceback (most recent call last): | |
File "/opt/indico/.venv/bin/indico", line 11, in <module> | |
sys.exit(cli()) | |
File "/opt/indico/.venv/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__ | |
return self.main(*args, **kwargs) | |
File "/opt/indico/.venv/local/lib/python2.7/site-packages/flask/cli.py", line 380, in main | |
return AppGroup.main(self, *args, **kwargs) | |
File "/opt/indico/.venv/local/lib/python2.7/site-packages/click/core.py", line 697, in main | |
rv = self.invoke(ctx) | |
File "/opt/indico/.venv/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke |