Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| .global _main | |
| .extern _putchar | |
| .align 4 | |
| _main: | |
| ; prolog; save fp,lr,x19 | |
| stp x29, x30, [sp, #-0x20]! | |
| str x19, [sp, #0x10] |
I have a pet project I work on, every now and then. CNoEvil.
The concept is simple enough.
What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones. That nothing is off limits. Can we turn C into a new language? Can we do what Lisp and Forth let the over-eager programmer do, but in C?
| @rem 「※※※」は私のコメントです(元増田のコメントではありません) | |
| @rem エクスプローラ周り重い人向け覚書 | |
| @rem https://anond.hatelabo.jp/20191116220232 | |
| @rem ■ システム設定 | |
| @rem Windows Defender自身を検索して無限ループに陥る問題を解消する | |
| @rem - 設定→更新とセキュリティ→Windows セキュリティ→ウイルスの驚異の防止 | |
| @rem - ウイルスと驚異の防止の設定→設定の管理 |
2025/05/25 更新
この記事は、自作OS Advent Calendar 2018の 12/2 の記事として書かれました。
意外と、まとまったページが無いという認識だったので、記事にしてみました。
この文章は、 Steve Losh 氏の記事 "A Road to Common Lisp" の翻訳です。
原文はこちらです: http://stevelosh.com/blog/2018/08/a-road-to-common-lisp/
A Road to Common Lisp (Common Lisp への道)
これまで、「最近のCommon Lispをどう学ぶとよいでしょう?」と助言を求めるメールをたくさん受け取ってきました。そこで私は、これまでメールやソーシャルメディアに投稿した全てのアドバイスを書き下すことにしました。これが誰かに有益ならば幸いです。
| .vimrc | |
| " Map leader to comma | |
| let maplocalleader="," | |
| " Toggle this for vim-sexp to not go into insert mode after wrapping something | |
| let g:sexp_insert_after_wrap = 0 | |
| " Toggle this to disable automatically creating closing brackets and quotes | |
| let g:sexp_enable_insert_mode_mappings = 1 | |
| Vocab |
| #include <cstdio> | |
| template<typename First, typename... Rest> | |
| struct Tuple: public Tuple<Rest...> { | |
| Tuple(First first, Rest... rest): Tuple<Rest...>(rest...), first(first) {} | |
| First first; | |
| }; | |
| template<typename First> |
This post also appears on lisper.in.
Reader macros are perhaps not as famous as ordinary macros. While macros are a great way to create your own DSL, reader macros provide even greater flexibility by allowing you to create entirely new syntax on top of Lisp.
Paul Graham explains them very well in [On Lisp][] (Chapter 17, Read-Macros):
The three big moments in a Lisp expression's life are read-time, compile-time, and runtime. Functions are in control at runtime. Macros give us a chance to perform transformations on programs at compile-time. ...read-macros... do their work at read-time.