maton (@automatonix) profile picture

Haskellすき

Joined August 2016
Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)Photo by maton (@automatonix)
というわけで今度の #技術書典7 に参加させていただきます。よろしくおねがいします。
#技術書典 初出展です〜。「アッカーマン関数の計算過程を表示する(その↑)」に加え、@automatonixに執筆いただいた「DDRの足運びを最適化する」の二本立て!ジャンルは謎ですが、巨大なデータや数が好き、Rustに入門したい、競プロ、DDRをやっている人におすすめ!?techbookfest.org/event/tbf07…
1
6
人月の神話は2冊買うのがおすすめ。2倍の速度で読めるから。
13
423
55
1,286
152,053
Haskell で作られたスプレッドシートエンジン セルの計算に関数型の独自言語が使える 現在はVSCodeの拡張機能として実装されている👀 b4er.github.io/recalc/
21
93
4,503
どういうことなの…??
1
2
4
914
JSONパーサーをHaskellでゼロから作る話👀 まずQuickCheckによるテストの実装から始まる。パーサーも newtype Parser i o = Parser { runParser :: i -> Maybe (i, o) } から自作するのでモナディックパーサーの勉強にもなりそう。とにかく図と説明が豊富で分かりやすい abhinavsarkar.net/posts/json…
62
2
346
25,403
見に行きたかった。ちょっと追い込まれて参加できなかったので後で読もう
31
書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!書きました!みて zenn.dev/anqou/articles/fc75…
18
3
29
6,028
Anyone has opinions about arxiv.org/pdf/2402.15332.pdf? Figure 1 seems related to colah.github.io/posts/2015-0… and arxiv.org/pdf/1702.02181.pdf
4
9
1
44
9,490
Applicativeとモナドの中間にあるSelective Applicative Functorの話が面白かった。Applicativeにもモナドにも表現できない機能を実装することができるので便利そう youtube.com/watch?v=h3XEHRX4…
1. スケール不変性 2. 全射性 3. 一貫性 この3つを同時に満たすクラスタリング手法は存在しないという定理の解説記事👀 数学的な証明も載っていてわかりやすい! ちょうど Kleinberg の不可能性定理について調べていたので非常にありがたい🙏 qiita.com/snuffkin/items/a81… #Qiita @snuffkin より
46
4
274
24,770
λλλ APLAS 2024 will be held in Kyoto, which is a beautiful city known for the sacred Mt. Lambda🔥 Details on the mountain: wwwfun.kurims.kyoto-u.ac.jp/… λλλ
39
3
75
13,622
秒で答えが返ってくる対話型AIと話題の Groq LPU(Language Processing Unit) という専用のチップが使われてるけど、その設計にHaskell製のコンパイラ(おそらくBluespec Compiler)が使われているという噂👀 teapawt.org/IntuitMachine/status/1…
Groq is a Radically Different kind of AI architecture Among the new crop of AI chip startups, Groq stands out with a radically different approach centered around its compiler technology for optimizing a minimalist yet high-performance architecture. Groq's secret sauce is this compiler-first method that shuns complexity in favor of tailored efficiency. At the heart of Groq’s architecture is an almost surprisingly bare-bones design that does away with unnecessary logic in favor of raw parallel throughput. The hardware itself is comparable to an ASIC – an application-specific integrated circuit finely tuned for machine learning. However, unlike a fixed-function ASIC, Groq leverages a custom compiler that can adapt and optimize across different models. It is this combination of a streamlined architecture and an intelligent compiler that sets Groq apart. The key insight is that many AI chips stack components, like GPUs, that bring extraneous hardware and bloat. Groq returns to first principles, recognizing that machine learning workloads are about massive parallelism over simple data types and operations. By eliminating generic hardware and even concepts like locality, the design maximizes throughput and efficiency. This is enabled by Groq’s compiler that sits between software frameworks like TensorFlow and the hardware. The compiler analyzes and optimizes neural network graphs, tailoring and mapping them to the underlying architecture for accelerated execution. It breaks computations into the smallest operations to unlock parallelism. The compiler also enables capabilities like batch size 1 inference that ensures all hardware is usefully leveraged. Critically, Groq built its compiler before even finalizing the hardware design. The software insights directly informed the architecture. This co-design process allowed inference-specific optimization without legacy limitations. The compiler also provides deterministic guarantees of runtimes, enabling reliable scaling. Together, the Groq compiler and architecture form a streamlined, robust engine for machine learning inference. The innovative compiler-first methodology allows custom optimization that balances flexibility with performance. Rather than chasing complexity, Groq realizes less can be more when software and hardware align – a compelling recipe as AI workloads continue evolving.
2
51
1
151
21,293
「男ってのはね。こういうもの渡しとけば喜ぶんだよ」
2
99
6
353
47,893
ブラウザ上で動くHaskellを題材にしたゲーム 右側の関数を使って左上の zeroToHero の型に合う関数を左下の Code Editor に実装していく これは型パズルの良い練習になりそう💡 zerotohero.fly.dev/
2
50
3
201
21,598
人やGPTに相談して、今回のイベをソロでやったときに達成できる確率は84.8%くらいになることがわかりました(完) gist.github.com/matonix/0feb…
34
「Japanese Stable LM Beta」シリーズをリリースしました!!Llama-2ベースの日本語言語モデルで、一番の見どころは何と言っても70Bパラメータのモデルですかね。フルパラメータで100Bトークンの継続事前学習+SFTをしてます。流石にこのサイズだと結構賢い。 ja.stability.ai/blog/japanes…
3
92
5
380
80,815
maton retweeted
nginxでHaskellが動くぞ。async実行も可能。わいわい / “GitHub - lyokha/nginx-haskell-module: Nginx module for binding Haskell code in configuration files for great good!” htn.to/2kDc9rhMha
10
16
2,028
木構造の全ての要素をその最小値で置き換える処理は - 最小値を求める - 要素を置き換える と2回の走査で実装できるが「巡回プログラミング」というテクニックを使うと1回の走査で済む これはトレースを取る関数 trace :: ((a, b) -> (c, b)) -> (a, c) として抽象化できる cs.umd.edu/class/spring2019/…
1
9
1
36
3,328