コンピュータを理解するための最善の方法はゼロからコンピュータを作ることです。コンピュータの構成要素は、ハードウェア、ソフトウェア、コンパイラ、OSに大別できます。本書では、これらコンピュータの構成要素をひとつずつ組み立てます。具体的には、NANDという電子素子からスタートし、論理ゲート、加算器、CPUを設計します。そして、オペレーティングシステム、コンパイラ、バーチャルマシンなどを実装しコンピュータを完成させて、最後にその上でアプリケーション(テトリスなど)を動作させます。実行環境はJava(Mac、Windows、Linuxで動作)。 ● 本書のサポートサイト ● 本書で使用するツール「Nand2tetris Software Suite」 ● 「Nand2tetris Software Suite」のチュートリアル 目次 賞賛の声 訳者まえがき:NANDからテトリスへ まえがき イント
Photo by Durán こんにちは。今回は谷口がお送りします。 先日このブログで、Smalrubyを使って実際に弊社社員にビジュアルプログラミング学習をしてもらい、FizzBuzzのシステムを作ってもらったというお話をしました。 初心者が簡単にRubyプログラミングを覚えられる!Smalrubyの使い方 - paiza開発日誌 そこで今回は、その次のステップとして日本語でプログラミングができる言語『なでしこ』を使って、プログラミングの学習をしてもらいましたので、その過程をご紹介していきます。 なでしこは、単語も文法も日本語に沿った形でコードが書けるので、これからプログラミングを学ぶ初心者の方には最適の教材になると思います。 ちなみにやってもらったのは、普段は事務を担当しており、プログラミング経験はビジュアルプログラミングのみ、条件文やループの概念に関しては、SmalrubyでFizz
Raspberry Piを使って簡単に組み立てられる小型PC「Kano」は、独自のOS「Kano OS」を採用し、プログラミングを「Minecraft」などのゲームを通して学習できる学習キットで、Kickstarterで1億円以上の資金を集めることに成功した大人気プロダクトです。そのKanoがGIGAZINE編集部に到着したので早速組み立てて「ゲーム感覚プログラミング」を試してみました。 Kano - Make a Computer http://www.kano.me/ ◆開封 Kanoのパッケージは明るいオレンジ色。 このかわいいキャラは「Kano」君。 裏面もこんな感じのイラスト。 箱をスライドさせるとやはりかわいいイラストが描かれたダンボール箱が出てきました。 裏面まで凝ったデザイン。 ダンボール箱を開けるとKanoのキット一式が登場。 中身を全部並べるとこんな感じ。 これがKan
本書は、Rubyでのソフトウェア開発経験者を対象に、プログラミングの実践的なテクニックとアイデアを、実際に使われているライブラリやコードを題材に解説します。テキスト処理やファイル管理から、テスト駆動開発、API設計、関数型言語的機能の利用、多言語化やデバッグ、保守に到るまで幅広いトピックを網羅。付録ではRuby 1.8と1.9の両対応の手法やワーストプラクティスを取り上げるなど、より優れたコードを書くための力を身につけることができます。Ruby1.9に完全対応。 ケーススタディに基づいて学ぶ本書は、より良いコーディングについて学びたいRubyプログラマ必携の一冊です。 まえがき 訳者まえがき はじめに 1章 テストでコードを駆動する 1.1 テスティングフレームワークについて 1.2 テストできるように設計する 1.3 テスティングの基礎 1.3.1 焦点をしぼったテスト 1.3.2 例外
障害に強い、問題が起こりにくいコードにはまず正しいアルゴリズムの選択から。理論だけでなく実践的側面を重視した、新しいタイプのアルゴリズムの書籍です。適切な問題解決、性能改善という、現場が求める2つの大きな要求に応えるため、どのアルゴリズムを使うべきか、どう実装するのか、さらに性能を向上させる方法はあるのかを、C、C++、Java、Rubyなど、さまざまな言語を使って説明します。図、表、サンプルコードがふんだんに盛り込まれ、付録にベンチマークのための知識、手法を紹介するなど、非常に実際的、実践的な一冊です。 正誤表 ここで紹介する正誤表には、書籍発行後に気づいた誤植や更新された情報を掲載しています。以下のリストに記載の年月は、正誤表を作成し、増刷書籍を印刷した月です。お手持ちの書籍では、すでに修正が施されている場合がありますので、書籍最終ページの奥付でお手持ちの書籍の刷版、刷り年月日をご確認
さまざまなコードが記載されたトランプ。プログラマはニヤリとなりますが、それ以外の人にはサッパリ面白くなさそうなニッチな商品です。3はBashで4はC++だそうです。4ダイヤでは構造体を定義しており、ちゃんと意味が通ってます。QはCSS。ハートの色とフォントが定義されてます。KはHTML。おもしろい。 1つ$10、送料$5とのことですが、日本着だと送料が高くなるかと思われます。 というわけで13言語がカバーされていますが、Brainfuckってジョークっぽい言語かな? 選ばれた13言語 A – SQL 2 – Assembly 3 – Bash 4 – C++ 5 – Brainfuck 6 – Python 7 – Objective-C 8 – C# 9 – JAVA 10 – PHP J – JavaScript Q – CSS K – HTML
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く