Skip to content

Instantly share code, notes, and snippets.

View voluntas's full-sized avatar
🎲
Focusing

voluntas voluntas

🎲
Focusing
View GitHub Profile
@voluntas
voluntas / sqlc-cloudflare-d1.md
Last active July 31, 2023 04:55
Cloudflare D1 向けの sqlc plugin (Wasm) の設計仕様
=ERROR REPORT==== 25-Apr-2023::07:18:46.026285 UTC ===
** State machine <0.413110.0> terminating
** Last event = {{call,{<0.413109.0>,#Ref<0.2566139405.1771831297.710>}},
close}
** When server state = {{recv,
{select_info,recvfrom,
#Ref<0.2566139405.1771831297.706>}},
{{params,
{'$socket',#Ref<0.2566139405.1771700225.222180>},
<0.413109.0>,
@voluntas
voluntas / index.md
Last active May 9, 2024 11:44
Zig 言語リファレンス
  • これは Zig ドキュメント 0.10.1 を DeepL Pro と ChatGPT を利用して翻訳したものです。
    • 一部 master なモノもあります、ごちゃ混ぜです
  • 自分用に翻訳しています
@voluntas
voluntas / webrtc_unity.rst
Last active September 20, 2022 05:42
WebRTC x Unity コトハジメ

WebRTC x Unity コトハジメ

日時

2022-09-16

時雨堂

バージョン

2022.3.0

この資料は 2022 年 10月 25 日(火)・26日(水) に行われる SYNC 2022 の発表資料です。

@voluntas
voluntas / shiguredo_job.rst
Last active June 18, 2023 04:33
時雨堂お手伝い募集

募集するより、こちらから相談した方が良いことがわかったので、募集は終了ます

@voluntas
voluntas / ThreadPool.zig
Created July 16, 2022 14:43 — forked from kprotty/ThreadPool.zig
An isolated thread pool implementation for Zig
const std = @import("std");
const system = std.os.system;
pub const Scheduler = struct {
pub const InitConfig = struct {
max_threads: ?u16 = null,
};
pub fn init(self: *Scheduler, config: InitConfig) !void {
@voluntas
voluntas / zig_quic.md
Last active January 15, 2024 11:34
2022 年の夏休みに Zig で QUIC を実装してオープンソースとして公開するお手伝い

2022 年の夏休みに Zig で QUIC を実装してオープンソースとして公開するお手伝い

こちらの応募は終了しました、冬も募集予定です。

成果

@voluntas
voluntas / main.zig
Last active July 26, 2022 10:46
シングルスレッド非同期 TCP エコーサーバ
//! Zig 作者のコードを参考にした
//! https://gist.github.com/andrewrk/34c21bdc1600b0884a3ab9fa9aa485b8
//! https://gist.github.com/karlseguin/53bb8ebf945b20aa0b7472d9d30de801
//! 非同期版 tcp echo server
const std = @import("std");
const net = std.net;
const os = std.os;
const mem = std.mem;
const log = std.log;
@voluntas
voluntas / takeshiba_webmeeting.rst
Last active February 15, 2024 13:00
WebRTC SFU Sora の紹介と WebRTC と WebTransport の現状について