- これは Zig ドキュメント 0.10.1 を DeepL Pro を利用して翻訳したものです。
- 自分用に翻訳しています
- そのうち GitHub リポジトリ管理に切り替えます
- md よりは rst にするべきか悩み中
View index.md
View shiguredo_job.rst
時雨堂お手伝い募集
更新: | 2023-02-05 |
---|---|
バージョン: | 2023.1 |
URL: | https://shiguredo.jp/ |
概要
View ThreadPool.zig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { |
View main.zig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! 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; |
View takeshiba_webmeeting.rst
WebRTC SFU Sora の紹介と WebRTC と WebTransport の現状について
日時: | 2022-03-28 |
---|---|
作: | voluntas |
バージョン: | 2022.5 |
URL: | https://voluntas.github.io/ |
View benchmark.erl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(benchmark). | |
-export([main/0]). | |
%% 1100 バイト中 1000 バイトを暗号化する | |
%% AES-128-CTR + HMAC-SHA1 はお尻に 10 バイトつけるので 1110 バイトになる | |
%% AES-128-GCM はお尻に 16 バイトつけるので 1116 バイトになる | |
%% TODO: IV は固定ではなく SeqNum にすべき |
View sora_cloud.rst
時雨堂 Sora Cloud 開発ログ
日時: | 2023-02-05 |
---|---|
作: | 時雨堂 |
バージョン: | 2023.1 |
URL: | https://sora-cloud.shiguredo.jp/ |
NewerOlder