Skip to content

Instantly share code, notes, and snippets.

View Krout0n's full-sized avatar
🎯
Focusing

Krouton Krout0n

🎯
Focusing
View GitHub Profile
type AST = Expression;
#[derive(Debug, PartialEq)]
pub enum Expression {
Apply {
fn_lit: Box<Expression>,
args: Vec<Expression>,
},
FunctionLiteral {
params: Vec<String>,
@Krout0n
Krout0n / 4.md
Last active December 23, 2018 14:41
UEC MMA プログラミングRust輪読会資料第4章

プログラミング Rust 輪読会 4章

<必要があれば,スタックとヒープの話をする(スタックとヒープの理解があるとこの章は理解が厳しいかもしれない, というか用語で苦しくなって死ぬ)> https://keens.github.io/blog/2017/04/30/memoritosutakkutohi_puto/ よさそう!!!(読んでない)

https://docs.python.org/3.6/c-api/memory.html#overview Pythonはスタックで変数を管理することはおそらくしてない, 判断基準は stack でCMD+Fをしても見つからなかっただけどほんまか?

<C++を全く書いたことないので何もわからんし,freeとか多少Cっぽさはあるけどまあそこまで大筋からずれてないと信じたい>